Class DbPrevArrayColumnWrapper<T>

java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbArray.Indirect<T>
com.illumon.iris.db.v2.dbarrays.DbPrevArrayColumnWrapper<T>
All Implemented Interfaces:
DbArray<T>, DbArrayBase, LongSizedDataStructure, ToStringWithElements, Serializable

public class DbPrevArrayColumnWrapper<T> extends DbArray.Indirect<T>
See Also:
  • Constructor Details

    • DbPrevArrayColumnWrapper

      public DbPrevArrayColumnWrapper(@NotNull ColumnSource<T> columnSource, @NotNull ReadOnlyIndex index)
    • DbPrevArrayColumnWrapper

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

    • toDbArray

      public DbArray toDbArray()
    • get

      public T get(long i)
    • subArray

      public DbArray<T> subArray(long fromIndexInclusive, long toIndexExclusive)
    • subArrayByPositions

      public DbArray<T> subArrayByPositions(long[] positions)
    • toArray

      public T[] toArray()
    • toArray

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

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

      public Class<T> getComponentType()
    • getDirect

      public DbArrayBase getDirect()
      Description copied from interface: DbArrayBase
      Return a version of this DbArrayBase that is flattened out to only reference memory.
    • getPrev

      public T getPrev(long offset)