Package com.impossibl.postgres.jdbc
Class PreparedQuery
- java.lang.Object
-
- com.impossibl.postgres.jdbc.PreparedQuery
-
-
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 void
dispose(PGDirectConnection connection)
SQLWarning
execute(PGDirectConnection connection)
List<ResultBatch>
getResultBatches()
Query.Status
getStatus()
Long
getTimeout()
void
setMaxRows(int maxRows)
void
setTimeout(Long timeout)
String
toString()
-
-
-
Method Detail
-
getStatus
public Query.Status getStatus()
-
getTimeout
public Long getTimeout()
- Specified by:
getTimeout
in interfaceQuery
-
setTimeout
public void setTimeout(Long timeout)
- Specified by:
setTimeout
in interfaceQuery
-
setMaxRows
public void setMaxRows(int maxRows)
- Specified by:
setMaxRows
in interfaceQuery
-
getResultBatches
public List<ResultBatch> getResultBatches()
- Specified by:
getResultBatches
in interfaceQuery
-
execute
public SQLWarning execute(PGDirectConnection connection) throws SQLException
- Specified by:
execute
in interfaceQuery
- Throws:
SQLException
-
dispose
public void dispose(PGDirectConnection connection) throws SQLException
- Specified by:
dispose
in interfaceQuery
- Throws:
SQLException
-
-