public class JdbcQueryExecuteResult extends JdbcResult
QRY_EXEC, QRY_FETCH, QRY_META| Constructor and Description |
|---|
JdbcQueryExecuteResult()
Condtructor.
|
JdbcQueryExecuteResult(long queryId,
List<List<Object>> items,
boolean last) |
JdbcQueryExecuteResult(long queryId,
long updateCnt) |
| Modifier and Type | Method and Description |
|---|---|
long |
getQueryId() |
boolean |
isQuery() |
List<List<Object>> |
items() |
boolean |
last() |
void |
readBinary(BinaryReaderExImpl reader)
Reads fields from provided reader.
|
long |
updateCount() |
void |
writeBinary(BinaryWriterExImpl writer)
Writes fields to provided writer.
|
readResultpublic JdbcQueryExecuteResult()
public JdbcQueryExecuteResult(long queryId,
List<List<Object>> items,
boolean last)
queryId - Query ID.items - Query result rows.last - Flag indicates the query has no unfetched results.public JdbcQueryExecuteResult(long queryId,
long updateCnt)
queryId - Query ID.updateCnt - Update count for DML queries.public long getQueryId()
public boolean last()
public boolean isQuery()
false for DML/DDL queries.public long updateCount()
public void writeBinary(BinaryWriterExImpl writer) throws BinaryObjectException
writeBinary in interface JdbcRawBinarylizablewriteBinary in class JdbcResultwriter - Binary object writer.BinaryObjectException - In case of error.public void readBinary(BinaryReaderExImpl reader) throws BinaryObjectException
readBinary in interface JdbcRawBinarylizablereadBinary in class JdbcResultreader - Binary object reader.BinaryObjectException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017