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 Details

    • getRowMetadata

      public com.hazelcast.sql.SqlRowMetadata getRowMetadata()
    • updateCount

      public long updateCount()
    • getQueryId

      public com.hazelcast.sql.impl.QueryId getQueryId()
      Specified by:
      getQueryId in class com.hazelcast.sql.impl.AbstractSqlResult
    • isInfiniteRows

      public boolean isInfiniteRows()
      Specified by:
      isInfiniteRows in class com.hazelcast.sql.impl.AbstractSqlResult
    • getPartitionArgumentIndex

      public int getPartitionArgumentIndex()
      Specified by:
      getPartitionArgumentIndex in class com.hazelcast.sql.impl.AbstractSqlResult
    • iterator

      public com.hazelcast.sql.impl.ResultIterator<com.hazelcast.sql.SqlRow> iterator()
      Specified by:
      iterator in interface Iterable<com.hazelcast.sql.SqlRow>
      Specified by:
      iterator in interface com.hazelcast.sql.SqlResult
      Specified by:
      iterator in class com.hazelcast.sql.impl.AbstractSqlResult
    • close

      public void close(com.hazelcast.sql.impl.QueryException exception)
      Specified by:
      close in class com.hazelcast.sql.impl.AbstractSqlResult