Package com.illumon.iris.db.v2.dbarrays
Class DbShortArrayColumnWrapper
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbShortArray.Indirect
com.illumon.iris.db.v2.dbarrays.DbShortArrayColumnWrapper
- All Implemented Interfaces:
DbArrayBase,DbShortArray,LongSizedDataStructure,ToStringWithElements,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbShortArray
DbShortArray.Indirect -
Field Summary
Fields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
NULL_ELEMENT_STRINGFields inherited from interface com.illumon.util.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY -
Constructor Summary
ConstructorsConstructorDescriptionDbShortArrayColumnWrapper(ColumnSource<Short> columnSource, ReadOnlyIndex index) DbShortArrayColumnWrapper(ColumnSource<Short> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbShortArray.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.DbArrayBase
isEmptyMethods inherited from interface com.illumon.iris.db.tables.dbarrays.DbShortArray
fillChunk, getComponentType, toChunkMethods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize
-
Constructor Details
-
DbShortArrayColumnWrapper
public DbShortArrayColumnWrapper(@NotNull ColumnSource<Short> columnSource, @NotNull ReadOnlyIndex index) -
DbShortArrayColumnWrapper
public DbShortArrayColumnWrapper(@NotNull ColumnSource<Short> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
get
public short get(long i) -
getPrev
public short getPrev(long i) -
subArray
-
subArrayByPositions
-
toArray
public short[] toArray() -
toArray
public short[] toArray(boolean shouldBeNullIfOutofBounds, int maxSize) -
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Returns:
- The size
-
toDbArray
-