Package com.illumon.iris.db.v2.dbarrays
Class DbPrevByteArrayColumnWrapper
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbByteArray.Indirect
com.illumon.iris.db.v2.dbarrays.DbPrevByteArrayColumnWrapper
- All Implemented Interfaces:
DbArrayBase,DbByteArray,LongSizedDataStructure,ToStringWithElements,Serializable
public class DbPrevByteArrayColumnWrapper extends DbByteArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbByteArray
DbByteArray.Indirect -
Field Summary
Fields inherited from interface com.illumon.iris.gui.table.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY -
Constructor Summary
Constructors Constructor Description DbPrevByteArrayColumnWrapper(ColumnSource<Byte> columnSource, ReadOnlyIndex index)DbPrevByteArrayColumnWrapper(ColumnSource<Byte> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Modifier and Type Method Description byteget(long i)bytegetPrev(long offset)longsize()The size of this data structure.DbByteArraysubArray(long fromIndex, long toIndex)DbByteArraysubArrayByPositions(long[] positions)byte[]toArray()byte[]toArray(boolean shouldBeNullIfOutofBounds, int maxSize)DbArraytoDbArray()Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbByteArray.Indirect
equals, getDirect, hashCode, toString, toString, writeReplaceMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.iris.db.tables.dbarrays.DbByteArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
DbPrevByteArrayColumnWrapper
public DbPrevByteArrayColumnWrapper(@NotNull ColumnSource<Byte> columnSource, @NotNull ReadOnlyIndex index) -
DbPrevByteArrayColumnWrapper
public DbPrevByteArrayColumnWrapper(@NotNull ColumnSource<Byte> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
get
public byte get(long i) -
getPrev
public byte getPrev(long offset) -
subArray
-
subArrayByPositions
-
toArray
public byte[] toArray() -
toArray
public byte[] toArray(boolean shouldBeNullIfOutofBounds, int maxSize) -
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Returns:
- The size
-
toDbArray
-