Class JdbcQueryExecuteMultipleStatementsResult
- java.lang.Object
-
- org.apache.ignite.internal.processors.odbc.jdbc.JdbcResult
-
- org.apache.ignite.internal.processors.odbc.jdbc.JdbcQueryExecuteMultipleStatementsResult
-
- All Implemented Interfaces:
JdbcRawBinarylizable
public class JdbcQueryExecuteMultipleStatementsResult extends JdbcResult
JDBC query execute result for query with multiple SQL statements.
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.odbc.jdbc.JdbcResult
BATCH_EXEC
-
-
Constructor Summary
Constructors Constructor Description JdbcQueryExecuteMultipleStatementsResult(List<JdbcResultInfo> results, List<List<Object>> items, boolean last, int txId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisLast()List<List<Object>>items()voidreadBinary(BinaryReaderExImpl reader, JdbcProtocolContext protoCtx)Reads fields from provided reader.List<JdbcResultInfo>results()StringtoString()inttxId()voidwriteBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx)Writes fields to provided writer.-
Methods inherited from class org.apache.ignite.internal.processors.odbc.jdbc.JdbcResult
readResult
-
-
-
-
Constructor Detail
-
JdbcQueryExecuteMultipleStatementsResult
public JdbcQueryExecuteMultipleStatementsResult(List<JdbcResultInfo> results, List<List<Object>> items, boolean last, int txId)
- Parameters:
results- Statements results.items- Query result rows for the first query.last- Flag indicating the query has no unfetched results for the first query.
-
-
Method Detail
-
results
public List<JdbcResultInfo> results()
- Returns:
- Update counts of query IDs.
-
isLast
public boolean isLast()
- Returns:
- Flag indicating the query has no unfetched results for the first query.
-
txId
public int txId()
- Returns:
- Transaction id.
-
writeBinary
public void writeBinary(BinaryWriterExImpl writer, JdbcProtocolContext protoCtx) throws BinaryObjectException
Writes fields to provided writer.- Specified by:
writeBinaryin interfaceJdbcRawBinarylizable- Overrides:
writeBinaryin classJdbcResult- Parameters:
writer- Binary object writer.protoCtx- JDBC protocol context.- Throws:
BinaryObjectException- In case of error.
-
readBinary
public void readBinary(BinaryReaderExImpl reader, JdbcProtocolContext protoCtx) throws BinaryObjectException
Reads fields from provided reader.- Specified by:
readBinaryin interfaceJdbcRawBinarylizable- Overrides:
readBinaryin classJdbcResult- Parameters:
reader- Binary object reader.protoCtx- JDBC protocol context.- Throws:
BinaryObjectException- In case of error.
-
toString
public String toString()
- Overrides:
toStringin classJdbcResult
-
-