Class ImmutableDateTimeArraySource

java.lang.Object
com.illumon.iris.db.v2.sources.AbstractColumnSource<DBDateTime>
com.illumon.iris.db.v2.sources.immutable.ImmutableDateTimeArraySource
All Implemented Interfaces:
ChunkSource<Attributes.Values>, ChunkSource.WithPrev<Attributes.Values>, DefaultChunkSource<Attributes.Values>, DefaultChunkSource.WithPrev<Attributes.Values>, FillContextMaker, GetContextMaker, ColumnSource<DBDateTime>, ColumnSourceGetDefaults.ForObject<DBDateTime>, ElementSource<DBDateTime>, ImmutableColumnSource<DBDateTime>, ImmutableColumnSourceGetDefaults.ForObject<DBDateTime>, Releasable, TupleExporter<DBDateTime>, TupleSource<DBDateTime>, Serializable

public class ImmutableDateTimeArraySource
extends AbstractColumnSource<DBDateTime>
implements ImmutableColumnSourceGetDefaults.ForObject<DBDateTime>
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • get

      public DBDateTime get​(long index)
      Description copied from interface: ElementSource
      Get the value from the source. This may return boxed values for basic types.
      Specified by:
      get in interface ElementSource<DBDateTime>
      Parameters:
      index - the location in index space to get the value from.
      Returns:
      the value at the index, potentially null.
    • 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 interface ColumnSource<DBDateTime>
      Specified by:
      isImmutable in interface ImmutableColumnSource<DBDateTime>
      Returns:
      true if the values at a given index of the column source never change, false otherwise