Package com.impossibl.postgres.jdbc
Class DirectQuery
- java.lang.Object
-
- com.impossibl.postgres.jdbc.DirectQuery
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.impossibl.postgres.jdbc.Query
Query.Status
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose(PGDirectConnection connection)java.sql.SQLWarningexecute(PGDirectConnection connection)java.util.List<ResultBatch>getResultBatches()Query.StatusgetStatus()java.lang.LonggetTimeout()voidsetMaxRows(int maxRows)voidsetTimeout(java.lang.Long timeout)java.lang.StringtoString()
-
-
-
Method Detail
-
getStatus
public Query.Status getStatus()
-
getTimeout
public java.lang.Long getTimeout()
- Specified by:
getTimeoutin interfaceQuery
-
setTimeout
public void setTimeout(java.lang.Long timeout)
- Specified by:
setTimeoutin interfaceQuery
-
setMaxRows
public void setMaxRows(int maxRows)
- Specified by:
setMaxRowsin interfaceQuery
-
getResultBatches
public java.util.List<ResultBatch> getResultBatches()
- Specified by:
getResultBatchesin interfaceQuery
-
execute
public java.sql.SQLWarning execute(PGDirectConnection connection) throws java.sql.SQLException
-
dispose
public void dispose(PGDirectConnection connection) throws java.sql.SQLException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-