java.lang.Object
org.apache.arrow.adapter.jdbc.consumer.BaseConsumer<V>
Type Parameters:
V - vector type.
All Implemented Interfaces:
AutoCloseable, JdbcConsumer<V>
Direct Known Subclasses:
ArrayConsumer, BinaryConsumer, BlobConsumer, ClobConsumer, Decimal256Consumer, DecimalConsumer, MapConsumer, NullConsumer

public abstract class BaseConsumer<V extends ValueVector> extends Object implements JdbcConsumer<V>
Base class for all consumers.
  • Field Details

    • vector

      protected V extends ValueVector vector
    • columnIndexInResultSet

      protected final int columnIndexInResultSet
    • currentIndex

      protected int currentIndex
  • Constructor Details

    • BaseConsumer

      public BaseConsumer(V vector, int index)
      Constructs a new consumer.
      Parameters:
      vector - the underlying vector for the consumer.
      index - the column id for the consumer.
  • Method Details