Package com.hazelcast.jdbc
Class FixedRowsSqlResult
java.lang.Object
com.hazelcast.sql.impl.AbstractSqlResult
com.hazelcast.jdbc.FixedRowsSqlResult
- All Implemented Interfaces:
com.hazelcast.sql.SqlResult,AutoCloseable,Iterable<com.hazelcast.sql.SqlRow>
public class FixedRowsSqlResult
extends com.hazelcast.sql.impl.AbstractSqlResult
Helper class for returning ResultSets with in-driver generated rows. Doesn't require to be explicitly closed as
it holds no resources.
-
Method Summary
Methods inherited from class com.hazelcast.sql.impl.AbstractSqlResult
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.hazelcast.sql.SqlResult
isRowSet, stream
-
Method Details
-
getRowMetadata
public com.hazelcast.sql.SqlRowMetadata getRowMetadata() -
updateCount
public long updateCount() -
getQueryId
public com.hazelcast.sql.impl.QueryId getQueryId()- Specified by:
getQueryIdin classcom.hazelcast.sql.impl.AbstractSqlResult
-
isInfiniteRows
public boolean isInfiniteRows()- Specified by:
isInfiniteRowsin classcom.hazelcast.sql.impl.AbstractSqlResult
-
getPartitionArgumentIndex
public int getPartitionArgumentIndex()- Specified by:
getPartitionArgumentIndexin classcom.hazelcast.sql.impl.AbstractSqlResult
-
iterator
public com.hazelcast.sql.impl.ResultIterator<com.hazelcast.sql.SqlRow> iterator() -
close
public void close(com.hazelcast.sql.impl.QueryException exception) - Specified by:
closein classcom.hazelcast.sql.impl.AbstractSqlResult
-