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>,PushdownFilterMatcher,Releasable,TupleExporter<T>,TupleSource<T>
- Direct Known Subclasses:
ArrowBooleanColumnSource,ArrowByteColumnSource,ArrowCharColumnSource,ArrowDoubleColumnSource,ArrowFloatColumnSource,ArrowInstantColumnSource,ArrowIntColumnSource,ArrowLocalTimeColumnSource,ArrowLongColumnSource,ArrowObjectColumnSource,ArrowShortColumnSource,ArrowStringColumnSource,ArrowUInt1ColumnSource,ArrowUInt4ColumnSource,ArrowUInt8ColumnSource
Base class for arrow column sources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
AbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Any>Nested classes/interfaces inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<ATTR extends Any>Nested classes/interfaces inherited from interface io.deephaven.engine.table.TupleExporter
TupleExporter.ExportElementFunction<TUPLE_TYPE> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArrowWrapperTools.ArrowTableContextprotected final intprotected final org.apache.arrow.vector.types.pojo.Fieldprotected final intFields inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
componentType, type, updateGraph, USE_RANGES_AVERAGE_RUN_LENGTHFields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface io.deephaven.engine.table.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface io.deephaven.engine.table.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArrowColumnSource(@NotNull Class<T> type, int highBit, @NotNull org.apache.arrow.vector.types.pojo.Field field, ArrowWrapperTools.ArrowTableContext arrowHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidfillChunk(ArrowWrapperTools.FillContext context, @NotNull RowSequence rowSequence, @NotNull LongConsumer rowKeyConsumer) protected final intgetBlockNo(long rowKey) protected final intgetPositionInBlock(long rowKey) makeFillContext(int chunkCapacity, SharedContext sharedContext) Allocate a newChunkSource.FillContextfor filling chunks from thisFillContextMaker, typically aChunkSource.Methods inherited from class io.deephaven.engine.table.impl.AbstractColumnSource
allowsReinterpret, defaultFillChunk, defaultFillPrevChunk, doReinterpret, estimatePushdownFilterCost, fillChunk, fillPrevChunk, getComponentType, getPrevSource, getType, makePushdownFilterContext, match, pushdownFilter, pushdownManager, reinterpretMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.engine.table.ColumnSource
cast, cast, cast, cast, createPreviousTuple, createTuple, createTupleFromValues, exportAllTo, exportElement, exportElement, getChunkType, isImmutable, isStateless, releaseCachedResources, startTrackingPrevValues, tupleLengthMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContextMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFillingMethods inherited from interface io.deephaven.engine.table.ElementSource
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort, getShortMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContextMethods inherited from interface io.deephaven.engine.table.TupleExporter
exportAllReinterpretedTo, exportAllReinterpretedTo, exportAllTo, exportElementReinterpretedMethods inherited from interface io.deephaven.engine.table.TupleSource
createTupleFromReinterpretedValues
-
Field Details
-
highBit
protected final int highBit -
bitCount
protected final int bitCount -
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
-
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)