Class DbSubByteArray

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

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

    • DbSubByteArray

      public DbSubByteArray(@NotNull DbByteArray innerArray, @NotNull long[] positions)
  • Method Details

    • get

      public byte get(long index)
    • subArray

      public DbByteArray subArray(long fromIndex, long toIndex)
    • 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 toDbArray()
    • getPrev

      public byte getPrev(long index)
    • isEmpty

      public boolean isEmpty()