Package com.illumon.iris.db.v2.dbarrays
Class DbPrevIntArrayColumnWrapper
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbIntArray.Indirect
com.illumon.iris.db.v2.dbarrays.DbPrevIntArrayColumnWrapper
- All Implemented Interfaces:
DbArrayBase,DbIntArray,LongSizedDataStructure,ToStringWithElements,Serializable
public class DbPrevIntArrayColumnWrapper extends DbIntArray.Indirect
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbIntArray
DbIntArray.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 DbPrevIntArrayColumnWrapper(ColumnSource<Integer> columnSource, ReadOnlyIndex index)DbPrevIntArrayColumnWrapper(ColumnSource<Integer> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Modifier and Type Method Description intget(long i)intgetPrev(long offset)longsize()The size of this data structure.DbIntArraysubArray(long fromIndex, long toIndex)DbIntArraysubArrayByPositions(long[] positions)int[]toArray()int[]toArray(boolean shouldBeNullIfOutofBounds, int maxSize)DbArraytoDbArray()Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbIntArray.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.DbIntArray
fillChunk, getComponentType, toChunk
-
Constructor Details
-
DbPrevIntArrayColumnWrapper
public DbPrevIntArrayColumnWrapper(@NotNull ColumnSource<Integer> columnSource, @NotNull ReadOnlyIndex index) -
DbPrevIntArrayColumnWrapper
public DbPrevIntArrayColumnWrapper(@NotNull ColumnSource<Integer> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
get
public int get(long i) -
getPrev
public int getPrev(long offset) -
subArray
-
subArrayByPositions
-
toArray
public int[] toArray() -
toArray
public int[] toArray(boolean shouldBeNullIfOutofBounds, int maxSize) -
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Returns:
- The size
-
toDbArray
-