Package com.illumon.iris.db.v2.sources
Class UngroupedBoxedByteArrayColumnSource
java.lang.Object
com.illumon.iris.db.v2.sources.AbstractColumnSource<T>
com.illumon.iris.db.v2.sources.UngroupedColumnSource<Byte>
com.illumon.iris.db.v2.sources.UngroupedBoxedByteArrayColumnSource
- All Implemented Interfaces:
ChunkSource<Attributes.Values>
,ChunkSource.WithPrev<Attributes.Values>
,DefaultChunkSource<Attributes.Values>
,DefaultChunkSource.WithPrev<Attributes.Values>
,FillContextMaker
,GetContextMaker
,ColumnSource<Byte>
,ColumnSourceGetDefaults.ForObject<Byte>
,ElementSource<Byte>
,MutableColumnSource<Byte>
,MutableColumnSourceGetDefaults.ForObject<Byte>
,Releasable
,TupleExporter<Byte>
,TupleSource<Byte>
,Serializable
public class UngroupedBoxedByteArrayColumnSource
extends UngroupedColumnSource<Byte>
implements MutableColumnSourceGetDefaults.ForObject<Byte>
An Ungrouped Column sourced for the Boxed Type Byte.
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.IsSerializable
Nested 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
base
Fields inherited from class com.illumon.iris.db.v2.sources.AbstractColumnSource
componentType, type
Fields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY
Fields inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
ZERO_LENGTH_CHUNK_SOURCE_WITH_PREV_ARRAY
Fields 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.byte
getByte
(long index) Get the value at the index as a byte.Class<?>
getPrev
(long index) Get the previous value at the index.byte
getPrevByte
(long index) Get the previous value at the index as a byte.boolean
Determine 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, startTrackingPrevValues
Methods 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, setGroupingProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource
fillChunk, getChunkType
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.ChunkSource.WithPrev
fillPrevChunk
Methods 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, startTrackingPrevValues
Methods inherited from interface com.illumon.iris.db.v2.sources.ColumnSourceGetDefaults.ForObject
getBoolean, getChar, getDouble, getFloat, getInt, getLong, getShort
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeFillContext, makeGetContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.DefaultChunkSource.WithPrev
getPrevChunk, getPrevChunk, getPrevChunkByFilling
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.FillContextMaker
makeFillContext
Methods inherited from interface com.illumon.iris.db.v2.sources.chunk.GetContextMaker
makeGetContext
Methods inherited from interface com.illumon.iris.db.v2.sources.MutableColumnSourceGetDefaults.ForObject
getPrevBoolean, getPrevChar, getPrevDouble, getPrevFloat, getPrevInt, getPrevLong, getPrevShort
Methods inherited from interface com.illumon.iris.db.v2.tuples.TupleExporter
exportElementReinterpreted
Methods inherited from interface com.illumon.iris.db.v2.tuples.TupleSource
createTupleFromReinterpretedValues
-
Constructor Details
-
UngroupedBoxedByteArrayColumnSource
-
-
Method Details
-
getComponentType
- Specified by:
getComponentType
in interfaceColumnSource<Byte>
- Overrides:
getComponentType
in classAbstractColumnSource<Byte>
-
get
Description copied from interface:ElementSource
Get the value from the source. This may return boxed values for basic types.- Specified by:
get
in interfaceElementSource<Byte>
- Parameters:
index
- the location in index space to get the value from.- Returns:
- the value at the index, potentially null.
-
getByte
public byte getByte(long index) Description copied from interface:ElementSource
Get the value at the index as a byte.- Specified by:
getByte
in interfaceColumnSourceGetDefaults.ForObject<Byte>
- Specified by:
getByte
in interfaceElementSource<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
-
getPrev
Description copied from interface:ElementSource
Get the previous value at the index. Previous values are used during anLTM
update
cycle to process changes in data. Duringnormal
operation previous values will be identical tocurrent
values.- Specified by:
getPrev
in interfaceElementSource<Byte>
- Parameters:
index
- the location in index space to get the value from.- Returns:
- the previous value at the index, or null.
-
getPrevByte
public byte getPrevByte(long index) Description copied from interface:ElementSource
Get the previous value at the index as a byte. SeeElementSource.getPrev(long)
for more details.- Specified by:
getPrevByte
in interfaceElementSource<Byte>
- Specified by:
getPrevByte
in interfaceMutableColumnSourceGetDefaults.ForObject<Byte>
- Parameters:
index
- the location in index space to get the previous value from.- Returns:
- the previous boolean at the index, null values are represented by
QueryConstants.NULL_BYTE
-
isImmutable
public boolean isImmutable()Description copied from interface:ColumnSource
Determine if this column source is immutable, meaning that the values at a given index key never change.- Specified by:
isImmutable
in interfaceColumnSource<Byte>
- Specified by:
isImmutable
in interfaceMutableColumnSource<Byte>
- Returns:
- true if the values at a given index of the column source never change, false otherwise
-