Interface ElementSource<T>

Type Parameters:
T - the type of underlying data.
All Known Subinterfaces:
AggregateColumnSource<DB_ARRAY_TYPE,​COMPONENT_TYPE>, ColumnSource<T>, ColumnSourceGetDefaults.ForBoolean, ColumnSourceGetDefaults.ForByte, ColumnSourceGetDefaults.ForChar, ColumnSourceGetDefaults.ForDouble, ColumnSourceGetDefaults.ForFloat, ColumnSourceGetDefaults.ForInt, ColumnSourceGetDefaults.ForLong, ColumnSourceGetDefaults.ForLongAsDateTime, ColumnSourceGetDefaults.ForLongAsInstant, ColumnSourceGetDefaults.ForObject<DATA_TYPE>, ColumnSourceGetDefaults.ForShort, ColumnSourceGetDefaults.LongBacked<DATA_TYPE>, ContextualizedObjectColumnSource<DATA_TYPE>, ImmutableColumnSource<DATA_TYPE>, ImmutableColumnSourceGetDefaults.ForBoolean, ImmutableColumnSourceGetDefaults.ForByte, ImmutableColumnSourceGetDefaults.ForChar, ImmutableColumnSourceGetDefaults.ForDouble, ImmutableColumnSourceGetDefaults.ForFloat, ImmutableColumnSourceGetDefaults.ForInt, ImmutableColumnSourceGetDefaults.ForLong, ImmutableColumnSourceGetDefaults.ForLongAsDateTime, ImmutableColumnSourceGetDefaults.ForObject<DATA_TYPE>, ImmutableColumnSourceGetDefaults.ForShort, ImmutableColumnSourceGetDefaults.LongBacked<DATA_TYPE>, MutableColumnSource<DATA_TYPE>, MutableColumnSourceGetDefaults.ForBoolean, MutableColumnSourceGetDefaults.ForByte, MutableColumnSourceGetDefaults.ForChar, MutableColumnSourceGetDefaults.ForDouble, MutableColumnSourceGetDefaults.ForFloat, MutableColumnSourceGetDefaults.ForInt, MutableColumnSourceGetDefaults.ForLong, MutableColumnSourceGetDefaults.ForLongAsDateTime, MutableColumnSourceGetDefaults.ForLongAsInstant, MutableColumnSourceGetDefaults.ForObject<DATA_TYPE>, MutableColumnSourceGetDefaults.ForShort, MutableColumnSourceGetDefaults.LongBacked<DATA_TYPE>, RegionedColumnSource<DATA_TYPE>, ReverseLookupColumnSource<DATA_TYPE,​EXTRA_VALUE_TYPE>, SizedColumnSource<DATA_TYPE>, SizedContextualizedObjectColumnSource<DATA_TYPE>, SsmBackedColumnSource<K,​T>, SymbolTableSource<SYMBOL_TYPE>, WritableSource<T>
All Known Implementing Classes:
AbstractColumnSource, AbstractColumnSource.DefaultedImmutable, AbstractColumnSource.DefaultedMutable, ArrayBackedColumnSource, BitMaskingColumnSource, BitShiftingColumnSource, BooleanArraySource, BooleanAsByteColumnSource, BooleanSingleValueSource, BooleanSparseArraySource, BoxedColumnSource, BoxedColumnSource.OfDateTime, BoxedLongAsTimeSource, ByteAggregateColumnSource, ByteArraySource, ByteSingleValueSource, ByteSparseArraySource, ByteSsmBackedSource, CharacterArraySource, CharacterSingleValueSource, CharacterSparseArraySource, CharAggregateColumnSource, CharSsmBackedSource, CrossJoinRightColumnSource, DateTimeArraySource, DatetimeAsLongColumnSource, DateTimeSparseArraySource, DbDateTimeSsmSourceWrapper, DeltaAwareColumnSource, DoubleAggregateColumnSource, DoubleArraySource, DoubleNullToZeroColumnSource, DoubleSingleValueSource, DoubleSparseArraySource, DoubleSsmBackedSource, EmptyToNullStringRegionedColumnSource, FloatAggregateColumnSource, FloatArraySource, FloatSingleValueSource, FloatSparseArraySource, FloatSsmBackedSource, Formula, FormulaKernelAdapter, HashTableColumnSource, ImmutableBooleanArraySource, ImmutableByteArraySource, ImmutableCharArraySource, ImmutableDateTimeArraySource, ImmutableDoubleArraySource, ImmutableFloatArraySource, ImmutableInstantArraySource, ImmutableIntArraySource, ImmutableLongArraySource, ImmutableObjectArraySource, ImmutableShortArraySource, InstantArraySource, InstantAsLongColumnSource, InstantSparseArraySource, IntAggregateColumnSource, IntegerArraySource, IntegerSingleValueSource, IntegerSparseArraySource, IntSsmBackedSource, ListAggregateColumnSource, LocalDateWrapperSource, LocalTimeWrapperSource, LongAggregateColumnSource, LongArraySource, LongAsDateTimeColumnSource, LongAsInstantColumnSource, LongAsLocalDateColumnSource, LongAsLocalTimeColumnSource, LongAsZonedDateTimeColumnSource, LongSingleValueSource, LongSparseArraySource, LongSsmBackedSource, MergeSortedHelper.SortedMergeColumnSource, NanosBasedTimeArraySource, NanosBasedTimeSparseArraySource, NullValueColumnSource, ObjectAggregateColumnSource, ObjectArraySource, ObjectSingleValueSource, ObjectSparseArraySource, ObjectSsmBackedSource, PrevColumnSource, ReadOnlyRedirectedColumnSource, RedirectedColumnSource, RegionedColumnSourceObject, RegionedColumnSourceObject.AsValues, RegionedColumnSourceObjectWithDictionary, ReversedColumnSource, RowIdSource, ShiftedColumnSource, ShortAggregateColumnSource, ShortArraySource, ShortSingleValueSource, ShortSparseArraySource, ShortSsmBackedSource, SingleValueColumnSource, SingleValueObjectColumnSource, SmartKeySource, SparseArrayColumnSource, SwitchColumnSource, SymbolTableToUniqueIdSource, TableLogger.NoPrevColumnSource, UnboxedByteBackedColumnSource, UnboxedLongBackedColumnSource, UnboxedLongBackedWritableSource, UnboxedTimeBackedColumnSource, UngroupedArrayColumnSource, UngroupedBooleanArrayColumnSource, UngroupedBoxedBooleanArrayColumnSource, UngroupedBoxedByteArrayColumnSource, UngroupedBoxedByteDbArrayColumnSource, UngroupedBoxedCharArrayColumnSource, UngroupedBoxedCharDbArrayColumnSource, UngroupedBoxedDoubleArrayColumnSource, UngroupedBoxedDoubleDbArrayColumnSource, UngroupedBoxedFloatArrayColumnSource, UngroupedBoxedFloatDbArrayColumnSource, UngroupedBoxedIntArrayColumnSource, UngroupedBoxedIntDbArrayColumnSource, UngroupedBoxedLongArrayColumnSource, UngroupedBoxedLongDbArrayColumnSource, UngroupedBoxedShortArrayColumnSource, UngroupedBoxedShortDbArrayColumnSource, UngroupedByteArrayColumnSource, UngroupedByteDbArrayColumnSource, UngroupedCharArrayColumnSource, UngroupedCharDbArrayColumnSource, UngroupedColumnSource, UngroupedDbArrayColumnSource, UngroupedDoubleArrayColumnSource, UngroupedDoubleDbArrayColumnSource, UngroupedFloatArrayColumnSource, UngroupedFloatDbArrayColumnSource, UngroupedIntArrayColumnSource, UngroupedIntDbArrayColumnSource, UngroupedLongArrayColumnSource, UngroupedLongDbArrayColumnSource, UngroupedShortArrayColumnSource, UngroupedShortDbArrayColumnSource, UnionColumnSource, ViewColumnSource, ViewportColumnSource, ZonedDateTimeArraySource, ZonedDateTimeAsLongSource, ZonedDateTimeSparseArraySource

public interface ElementSource<T>
A source of element data within a table.
  • Method Summary

    Modifier and Type Method Description
    T get​(long index)
    Get the value from the source.
    Boolean getBoolean​(long index)
    Get the value at the index as a Boolean.
    byte getByte​(long index)
    Get the value at the index as a byte.
    char getChar​(long index)
    Get the value at the index as a char.
    double getDouble​(long index)
    Get the value at the index as a double.
    float getFloat​(long index)
    Get the value at the index as a float.
    int getInt​(long index)
    Get the value at the index as an int.
    long getLong​(long index)
    Get the value at the index as a long.
    T getPrev​(long index)
    Get the previous value at the index.
    Boolean getPrevBoolean​(long index)
    Get the previous value at the index as a Boolean.
    byte getPrevByte​(long index)
    Get the previous value at the index as a byte.
    char getPrevChar​(long index)
    Get the previous value at the index as a char.
    double getPrevDouble​(long index)
    Get the previous value at the index as a double.
    float getPrevFloat​(long index)
    Get the previous value at the index as a float.
    int getPrevInt​(long index)
    Get the previous value at the index as an int.
    long getPrevLong​(long index)
    Get the previous value at the index as a long.
    short getPrevShort​(long index)
    Get the previous value at the index as a short.
    short getShort​(long index)
    Get the value at the index as a short.
  • Method Details

    • get

      @Nullable T get​(long index)
      Get the value from the source. This may return boxed values for basic types.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the value at the index, potentially null.
    • getBoolean

      @Nullable Boolean getBoolean​(long index)
      Get the value at the index as a Boolean.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the boolean at the index, potentially null.
    • getByte

      byte getByte​(long index)
      Get the value at the index as a 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
    • getChar

      char getChar​(long index)
      Get the value at the index as a char.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the char at the index, null values are represented by QueryConstants.NULL_CHAR
    • getDouble

      double getDouble​(long index)
      Get the value at the index as a double.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the double at the index, null values are represented by QueryConstants.NULL_DOUBLE
    • getFloat

      float getFloat​(long index)
      Get the value at the index as a float.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the float at the index, null values are represented by QueryConstants.NULL_FLOAT
    • getInt

      int getInt​(long index)
      Get the value at the index as an int.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the int at the index, null values are represented by QueryConstants.NULL_INT
    • getLong

      long getLong​(long index)
      Get the value at the index as a long.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the long at the index, null values are represented by QueryConstants.NULL_LONG
    • getShort

      short getShort​(long index)
      Get the value at the index as a 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

      @Nullable T getPrev​(long index)
      Get the previous value at the index. Previous values are used during an LTM update cycle to process changes in data. During normal operation previous values will be identical to current values.
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the previous value at the index, or null.
    • getPrevBoolean

      @Nullable Boolean getPrevBoolean​(long index)
      Get the previous value at the index as a Boolean. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous boolean at the index, or null.
    • getPrevByte

      byte getPrevByte​(long index)
      Get the previous value at the index as a byte. See getPrev(long) for more details.
      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
    • getPrevChar

      char getPrevChar​(long index)
      Get the previous value at the index as a char. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous char at the index, null values are represented by QueryConstants.NULL_CHAR
    • getPrevDouble

      double getPrevDouble​(long index)
      Get the previous value at the index as a double. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous double at the index, null values are represented by QueryConstants.NULL_DOUBLE
    • getPrevFloat

      float getPrevFloat​(long index)
      Get the previous value at the index as a float. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous float at the index, null values are represented by QueryConstants.NULL_FLOAT
    • getPrevInt

      int getPrevInt​(long index)
      Get the previous value at the index as an int. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous int at the index, null values are represented by QueryConstants.NULL_INT
    • getPrevLong

      long getPrevLong​(long index)
      Get the previous value at the index as a long. See getPrev(long) for more details.
      Parameters:
      index - the location in index space to get the previous value from.
      Returns:
      the previous long at the index, null values are represented by QueryConstants.NULL_LONG
    • getPrevShort

      short getPrevShort​(long index)
      Get the previous value at the index as a short. See getPrev(long) for more details.
      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