Class ArrayEnumeratorCursor

java.lang.Object
org.apache.calcite.avatica.util.AbstractCursor
org.apache.calcite.avatica.util.PositionedCursor<T>
org.apache.calcite.runtime.EnumeratorCursor<@Nullable Object[]>
org.apache.calcite.runtime.ArrayEnumeratorCursor
All Implemented Interfaces:
AutoCloseable, org.apache.calcite.avatica.util.Cursor

public class ArrayEnumeratorCursor extends EnumeratorCursor<@Nullable Object[]>
Implementation of Cursor on top of an Enumerator that returns an array of Object for each row.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.calcite.avatica.util.PositionedCursor

    org.apache.calcite.avatica.util.PositionedCursor.ArrayGetter, org.apache.calcite.avatica.util.PositionedCursor.FieldGetter, org.apache.calcite.avatica.util.PositionedCursor.ListGetter, org.apache.calcite.avatica.util.PositionedCursor.MapGetter<K>, org.apache.calcite.avatica.util.PositionedCursor.ObjectGetter

    Nested classes/interfaces inherited from class org.apache.calcite.avatica.util.AbstractCursor

    org.apache.calcite.avatica.util.AbstractCursor.AbstractGetter, org.apache.calcite.avatica.util.AbstractCursor.ArrayAccessor, org.apache.calcite.avatica.util.AbstractCursor.Getter, org.apache.calcite.avatica.util.AbstractCursor.SlotGetter, org.apache.calcite.avatica.util.AbstractCursor.StructGetter

    Nested classes/interfaces inherited from interface org.apache.calcite.avatica.util.Cursor

    org.apache.calcite.avatica.util.Cursor.Accessor
  • Field Summary

    Fields inherited from class org.apache.calcite.avatica.util.AbstractCursor

    wasNull
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrayEnumeratorCursor(Enumerator<@Nullable Object[]> enumerator)
    Creates an ArrayEnumeratorCursor.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.calcite.avatica.util.AbstractCursor.Getter
    createGetter(int ordinal)
     

    Methods inherited from class org.apache.calcite.runtime.EnumeratorCursor

    close, current, next

    Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor

    createAccessor, createAccessor, createAccessors, wasNull

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ArrayEnumeratorCursor

      public ArrayEnumeratorCursor(Enumerator<@Nullable Object[]> enumerator)
      Creates an ArrayEnumeratorCursor.
      Parameters:
      enumerator - Enumerator
  • Method Details

    • createGetter

      protected org.apache.calcite.avatica.util.AbstractCursor.Getter createGetter(int ordinal)
      Specified by:
      createGetter in class org.apache.calcite.avatica.util.AbstractCursor