Class AbstractArrowColumnSource<T>
java.lang.Object
com.illumon.iris.db.v2.sources.AbstractColumnSource<T>
com.illumon.iris.db.arrow.columnsources.AbstractArrowColumnSource<T>
- Type Parameters:
T-
- All Implemented Interfaces:
ChunkSource<Attributes.Values>,ChunkSource.WithPrev<Attributes.Values>,DefaultChunkSource<Attributes.Values>,DefaultChunkSource.WithPrev<Attributes.Values>,FillContextMaker,GetContextMaker,ColumnSource<T>,ElementSource<T>,Releasable,TupleExporter<T>,TupleSource<T>,Serializable
- Direct Known Subclasses:
ArrowBigDecimal256ColumnSource,ArrowBigDecimalColumnSource,ArrowBooleanColumnSource,ArrowByteColumnSource,ArrowCharColumnSource,ArrowDoubleColumnSource,ArrowFixedSizeBinaryColumnSource,ArrowFloatColumnSource,ArrowIntColumnSource,ArrowLocalDateTimeColumnSource,ArrowLocalTimeColumnSource,ArrowLongColumnSource,ArrowShortColumnSource,ArrowStringColumnSource,ArrowTimestampColumnSource,ArrowUInt1ColumnSource,ArrowUInt4ColumnSource,ArrowUInt8ColumnSource,ArrowVarSizeBinaryColumnSource
Base class for arrow column sources
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSource
AbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>, AbstractColumnSource.IsSerializableNested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Attributes.Any>Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Attributes.Any>, DefaultChunkSource.WithPrev<ATTR extends Attributes.Any> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ArrowHelperprotected final intprotected final org.apache.arrow.vector.types.pojo.Fieldprotected final intFields inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSource
componentType, typeFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
ZERO_LENGTH_COLUMN_SOURCE_ARRAY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractArrowColumnSource(@NotNull Class<T> type, int highBit, @NotNull ArrowHelper arrowHelper, @NotNull org.apache.arrow.vector.types.pojo.Field field) -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidfillChunk(@NotNull OrderedKeys orderedKeys, @NotNull WritableChunk<? super Attributes.Values> wc, @NotNull ArrowFillContext ctx, @NotNull LongConsumer longConsumer) final ArrowFillContextmakeFillContext(int chunkCapacity, @Nullable SharedContext sharedContext) Allocate a newChunkSource.FillContextfor filling chunks from thisFillContextMaker, typically aChunkSource.Methods inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSource
allowsReinterpret, canUseGrouping, defaultFillChunk, doReinterpret, fillChunk, fillPrevChunk, getComponentType, getGroupingBuilder, getGroupingProvider, getNativeType, getType, hasGrouping, hasGrouping, isSerializable, match, matchWithGrouping, reinterpret, setGroupingProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
getChunkTypeMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
cast, createPreviousTuple, createTuple, createTupleFromValues, exportElement, exportElement, exportToExternalKey, getColumnSources, getPrevSource, isImmutable, releaseCachedResources, startTrackingPrevValuesMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFillingMethods inherited from interface com.illumon.iris.db.v2.sources.ElementSource
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort, getShortMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMaker
makeFillContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContextMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporter
exportElementReinterpretedMethods inherited from interface com.illumon.iris.db.v2.tuples.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 ArrowHelper arrowHelper, @NotNull @NotNull org.apache.arrow.vector.types.pojo.Field field)
-
-
Method Details
-
fillChunk
protected final void fillChunk(@NotNull @NotNull OrderedKeys orderedKeys, @NotNull @NotNull WritableChunk<? super Attributes.Values> wc, @NotNull @NotNull ArrowFillContext ctx, @NotNull @NotNull LongConsumer longConsumer)