Class ImmutableByteArraySource
java.lang.Object
com.illumon.iris.db.v2.sources.AbstractColumnSource<Byte>
com.illumon.iris.db.v2.sources.immutable.ImmutableByteArraySource
- All Implemented Interfaces:
- ChunkSource<Attributes.Values>,- ChunkSource.WithPrev<Attributes.Values>,- DefaultChunkSource<Attributes.Values>,- DefaultChunkSource.WithPrev<Attributes.Values>,- FillContextMaker,- GetContextMaker,- ColumnSource<Byte>,- ColumnSourceGetDefaults.ForByte,- ElementSource<Byte>,- ImmutableColumnSource<Byte>,- ImmutableColumnSourceGetDefaults.ForByte,- Releasable,- TupleExporter<Byte>,- TupleSource<Byte>,- Serializable
public class ImmutableByteArraySource
extends AbstractColumnSource<Byte>
implements ImmutableColumnSourceGetDefaults.ForByte
Simple array source for Immutable Byte.
 
The ImmutableC-harArraySource 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 SummaryNested classes/interfaces inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSourceAbstractColumnSource.DefaultedImmutable<DATA_TYPE>, AbstractColumnSource.DefaultedMutable<DATA_TYPE>, AbstractColumnSource.IsSerializableNested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSourceChunkSource.FillContext, ChunkSource.GetContext, ChunkSource.WithPrev<ATTR extends Attributes.Any>Nested classes/interfaces inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSourceDefaultChunkSource.SupportsContiguousGet<ATTR extends Attributes.Any>, DefaultChunkSource.WithPrev<ATTR extends Attributes.Any>
- 
Field SummaryFields inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSourcecomponentType, typeFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSourceDEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrevZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAYFields inherited from interface com.illumon.iris.db.v2.sources.ColumnSourceZERO_LENGTH_COLUMN_SOURCE_ARRAY
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSourceallowsReinterpret, canUseGrouping, defaultFillChunk, doReinterpret, fillChunk, fillPrevChunk, getComponentType, getGroupingBuilder, getGroupingProvider, getNativeType, getType, hasGrouping, hasGrouping, isSerializable, match, matchWithGrouping, reinterpret, setGroupingProviderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSourcefillChunk, getChunkTypeMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrevfillPrevChunkMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSourceallowsReinterpret, cast, createPreviousTuple, createTuple, createTupleFromValues, exportElement, exportElement, exportToExternalKey, getColumnSources, getComponentType, getGroupingBuilder, getGroupingProvider, getNativeType, getPrevSource, getType, hasGrouping, hasGrouping, match, reinterpret, releaseCachedResources, setGroupingProvider, startTrackingPrevValuesMethods inherited from interface com.illumon.iris.db.v2.sources.ColumnSourceGetDefaults.ForBytegetBoolean, getChar, getDouble, getFloat, getInt, getLong, getShortMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSourcegetChunk, getChunk, getChunkByFilling, makeFillContext, makeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource.WithPrevgetPrevChunk, getPrevChunk, getPrevChunkByFillingMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMakermakeFillContextMethods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMakermakeGetContextMethods inherited from interface com.illumon.iris.db.v2.sources.ImmutableColumnSourcegetPrev, getPrevBoolean, getPrevByte, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShortMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporterexportElementReinterpretedMethods inherited from interface com.illumon.iris.db.v2.tuples.TupleSourcecreateTupleFromReinterpretedValues
- 
Constructor Details- 
ImmutableByteArraySourcepublic ImmutableByteArraySource(byte[] source) 
 
- 
- 
Method Details- 
getBytepublic byte getByte(long index) Description copied from interface:ElementSourceGet the value at the index as a byte.- Specified by:
- getBytein interface- ElementSource<Byte>
- Parameters:
- index- the location in index space to get the value from.
- Returns:
- the boolean at the index, null values are represented by QueryConstants.NULL_BYTE
 
- 
getDescription copied from interface:ElementSourceGet the value from the source. This may return boxed values for basic types.- Specified by:
- getin interface- ColumnSourceGetDefaults.ForByte
- Specified by:
- getin interface- ElementSource<Byte>
- Parameters:
- index- the location in index space to get the value from.
- Returns:
- the value at the index, potentially null.
 
- 
isImmutablepublic 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 interface- ColumnSource<Byte>
- Specified by:
- isImmutablein interface- ImmutableColumnSource<Byte>
- Returns:
- true if the values at a given index of the column source never change, false otherwise
 
 
-