Class AbstractArrowColumnSource<T>

java.lang.Object
io.deephaven.engine.table.impl.AbstractColumnSource<T>
io.deephaven.extensions.arrow.sources.AbstractArrowColumnSource<T>
Type Parameters:
T -
All Implemented Interfaces:
ChunkSource<Values>, ChunkSource.WithPrev<Values>, ColumnSource<T>, ElementSource<T>, FillContextMaker, GetContextMaker, DefaultChunkSource<Values>, DefaultChunkSource.WithPrev<Values>, Releasable, TupleExporter<T>, TupleSource<T>
Direct Known Subclasses:
ArrowBooleanColumnSource, ArrowByteColumnSource, ArrowCharColumnSource, ArrowDoubleColumnSource, ArrowFloatColumnSource, ArrowInstantColumnSource, ArrowIntColumnSource, ArrowLocalTimeColumnSource, ArrowLongColumnSource, ArrowObjectColumnSource, ArrowShortColumnSource, ArrowStringColumnSource, ArrowUInt1ColumnSource, ArrowUInt4ColumnSource, ArrowUInt8ColumnSource

public abstract class AbstractArrowColumnSource<T> extends AbstractColumnSource<T>
Base class for arrow column sources
  • Field Details

    • highBit

      protected final int highBit
    • bitCount

      protected final int bitCount
    • arrowHelper

      protected final ArrowWrapperTools.ArrowTableContext arrowHelper
    • field

      protected final org.apache.arrow.vector.types.pojo.Field field
  • Constructor Details

    • AbstractArrowColumnSource

      protected AbstractArrowColumnSource(@NotNull @NotNull Class<T> type, int highBit, @NotNull @NotNull org.apache.arrow.vector.types.pojo.Field field, @NotNull ArrowWrapperTools.ArrowTableContext arrowHelper)
  • Method Details

    • makeFillContext

      public final ArrowWrapperTools.FillContext makeFillContext(int chunkCapacity, SharedContext sharedContext)
      Description copied from interface: FillContextMaker
      Allocate a new ChunkSource.FillContext for filling chunks from this FillContextMaker, typically a ChunkSource.
      Parameters:
      chunkCapacity - The maximum size of any WritableChunk that will be filled with this context
      sharedContext - Shared store of intermediate results.
      Returns:
      A context for use with fill operations
    • fillChunk

      protected final void fillChunk(@NotNull ArrowWrapperTools.FillContext context, @NotNull @NotNull RowSequence rowSequence, @NotNull @NotNull LongConsumer rowKeyConsumer)
    • getBlockNo

      protected final int getBlockNo(long rowKey)
    • getPositionInBlock

      protected final int getPositionInBlock(long rowKey)