Package com.illumon.iris.db.v2.sources
Class UngroupedBoxedShortArrayColumnSource
java.lang.Object
com.illumon.iris.db.v2.sources.AbstractColumnSource<T>
com.illumon.iris.db.v2.sources.UngroupedColumnSource<Short>
com.illumon.iris.db.v2.sources.UngroupedBoxedShortArrayColumnSource
- All Implemented Interfaces:
ChunkSource<Attributes.Values>,ChunkSource.WithPrev<Attributes.Values>,DefaultChunkSource<Attributes.Values>,DefaultChunkSource.WithPrev<Attributes.Values>,FillContextMaker,GetContextMaker,ColumnSource<Short>,ColumnSourceGetDefaults.ForObject<Short>,ElementSource<Short>,MutableColumnSource<Short>,MutableColumnSourceGetDefaults.ForObject<Short>,Releasable,TupleExporter<Short>,TupleSource<Short>,Serializable
public class UngroupedBoxedShortArrayColumnSource
extends UngroupedColumnSource<Short>
implements MutableColumnSourceGetDefaults.ForObject<Short>
An Ungrouped Column sourced for the Boxed Type Short.
The UngroupedBoxedC-harArrayColumnSource is replicated to all other types with com.illumon.iris.db.v2.sources.Replicate. (C-har is deliberately spelled that way in order to prevent Replicate from altering this very comment).
- 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
Fields inherited from class com.illumon.iris.db.v2.sources.UngroupedColumnSource
baseFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(long index) Get the value from the source.Class<?>getPrev(long index) Get the previous value at the index.shortgetPrevShort(long index) Get the previous value at the index as a short.shortgetShort(long index) Get the value at the index as a short.booleanDetermine if this column source is immutable, meaning that the values at a given index key never change.Methods inherited from class com.illumon.iris.db.v2.sources.UngroupedColumnSource
getColumnSource, getPrevBase, initializeBase, setBase, startTrackingPrevValuesMethods inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSource
allowsReinterpret, canUseGrouping, defaultFillChunk, doReinterpret, fillChunk, fillPrevChunk, 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
fillChunk, getChunkTypeMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
fillPrevChunkMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSource
allowsReinterpret, cast, createPreviousTuple, createTuple, createTupleFromValues, exportElement, exportElement, exportToExternalKey, getColumnSources, getGroupingBuilder, getGroupingProvider, getNativeType, getPrevSource, getType, hasGrouping, hasGrouping, match, reinterpret, releaseCachedResources, setGroupingProvider, startTrackingPrevValuesMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSourceGetDefaults.ForObject
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLongMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeFillContext, 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.chunk.FillContextMaker
makeFillContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.MutableColumnSourceGetDefaults.ForObject
getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLongMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporter
exportElementReinterpretedMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleSource
createTupleFromReinterpretedValues
-
Constructor Details
-
UngroupedBoxedShortArrayColumnSource
-
-
Method Details
-
getComponentType
- Specified by:
getComponentTypein interfaceColumnSource<Short>- Overrides:
getComponentTypein classAbstractColumnSource<Short>
-
get
Description copied from interface:ElementSourceGet the value from the source. This may return boxed values for basic types.- Specified by:
getin interfaceElementSource<Short>- Parameters:
index- the location in index space to get the value from.- Returns:
- the value at the index, potentially null.
-
getShort
public short getShort(long index) Description copied from interface:ElementSourceGet the value at the index as a short.- Specified by:
getShortin interfaceColumnSourceGetDefaults.ForObject<Short>- Specified by:
getShortin interfaceElementSource<Short>- Parameters:
index- the location in index space to get the value from.- Returns:
- the short at the index, null values are represented by
QueryConstants.NULL_SHORT
-
getPrev
Description copied from interface:ElementSourceGet the previous value at the index. Previous values are used during anLTMupdatecycle to process changes in data. Duringnormaloperation previous values will be identical tocurrentvalues.- Specified by:
getPrevin interfaceElementSource<Short>- Parameters:
index- the location in index space to get the value from.- Returns:
- the previous value at the index, or null.
-
getPrevShort
public short getPrevShort(long index) Description copied from interface:ElementSourceGet the previous value at the index as a short. SeeElementSource.getPrev(long)for more details.- Specified by:
getPrevShortin interfaceElementSource<Short>- Specified by:
getPrevShortin interfaceMutableColumnSourceGetDefaults.ForObject<Short>- Parameters:
index- the location in index space to get the previous value from.- Returns:
- the previous short at the index, null values are represented by
QueryConstants.NULL_SHORT
-
isImmutable
public boolean isImmutable()Description copied from interface:ColumnSourceDetermine if this column source is immutable, meaning that the values at a given index key never change.- Specified by:
isImmutablein interfaceColumnSource<Short>- Specified by:
isImmutablein interfaceMutableColumnSource<Short>- Returns:
- true if the values at a given index of the column source never change, false otherwise
-