Class DbShortArrayImmutableColumnWrapper

java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbShortArray.Indirect
com.illumon.iris.db.v2.dbarrays.DbShortArrayImmutableColumnWrapper
All Implemented Interfaces:
DbArrayBase, DbShortArray, LongSizedDataStructure, ToStringWithElements, Serializable

public class DbShortArrayImmutableColumnWrapper extends DbShortArray.Indirect
See Also:
  • Constructor Details

    • DbShortArrayImmutableColumnWrapper

      public DbShortArrayImmutableColumnWrapper(@NotNull ColumnSource<Short> columnSource, @NotNull ReadOnlyIndex index)
    • DbShortArrayImmutableColumnWrapper

      public DbShortArrayImmutableColumnWrapper(@NotNull ColumnSource<Short> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
  • Method Details

    • get

      public short get(long i)
    • getPrev

      public short getPrev(long i)
    • subArray

      public DbShortArray subArray(long fromIndex, long toIndex)
    • subArrayByPositions

      public DbShortArray subArrayByPositions(long[] positions)
    • toArray

      public short[] toArray()
    • toArray

      public short[] toArray(boolean shouldBeNullIfOutofBounds, int maxSize)
    • size

      public long size()
      Description copied from interface: LongSizedDataStructure
      The size of this data structure.
      Returns:
      The size
    • toDbArray

      public DbArray toDbArray()