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)SQLWarningexecute(PGDirectConnection connection)List<ResultBatch>getResultBatches()Query.StatusgetStatus()LonggetTimeout()voidsetMaxRows(int maxRows)voidsetTimeout(Long timeout)StringtoString()
-
-
-
Method Detail
-
getStatus
public Query.Status getStatus()
-
getTimeout
public Long getTimeout()
- Specified by:
getTimeoutin interfaceQuery
-
setTimeout
public void setTimeout(Long timeout)
- Specified by:
setTimeoutin interfaceQuery
-
setMaxRows
public void setMaxRows(int maxRows)
- Specified by:
setMaxRowsin interfaceQuery
-
getResultBatches
public List<ResultBatch> getResultBatches()
- Specified by:
getResultBatchesin interfaceQuery
-
execute
public SQLWarning execute(PGDirectConnection connection) throws SQLException
- Specified by:
executein interfaceQuery- Throws:
SQLException
-
dispose
public void dispose(PGDirectConnection connection) throws SQLException
- Specified by:
disposein interfaceQuery- Throws:
SQLException
-
-