Interface RecordCursor

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
InMemoryRecordSet.InMemoryRecordCursor

public interface RecordCursor extends Closeable
  • Method Details

    • getCompletedBytes

      long getCompletedBytes()
      Gets the number of input bytes processed by this record cursor so far. If size is not available, this method should return zero.
    • getReadTimeNanos

      long getReadTimeNanos()
      Gets the wall time spent reading data. If read time is not available, this method should return zero.
      See Also:
    • getType

      Type getType(int field)
    • advanceNextPosition

      boolean advanceNextPosition()
    • getBoolean

      boolean getBoolean(int field)
    • getLong

      long getLong(int field)
    • getDouble

      double getDouble(int field)
    • getSlice

      io.airlift.slice.Slice getSlice(int field)
    • getObject

      Object getObject(int field)
    • isNull

      boolean isNull(int field)
    • getMemoryUsage

      default long getMemoryUsage()
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable