Class DbByteArraySlice

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

public class DbByteArraySlice extends DbByteArray.Indirect
See Also:
  • Constructor Details

    • DbByteArraySlice

      public DbByteArraySlice(@NotNull DbByteArray innerArray, long offsetIndex, long length, long innerArrayValidFromInclusive, long innerArrayValidToExclusive)
    • DbByteArraySlice

      public DbByteArraySlice(@NotNull DbByteArray innerArray, long offsetIndex, long length)
  • Method Details

    • get

      public byte get(long index)
    • subArray

      public DbByteArray subArray(long fromIndexInclusive, long toIndexExclusive)
    • subArrayByPositions

      public DbByteArray subArrayByPositions(long[] positions)
    • toArray

      public byte[] toArray()
    • size

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

      public DbArray<Byte> toDbArray()
    • getPrev

      public byte getPrev(long index)
    • isEmpty

      public boolean isEmpty()