Package com.illumon.iris.db.v2.dbarrays
Class DbPrevArrayColumnWrapper<T>
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbArray.Indirect<T>
com.illumon.iris.db.v2.dbarrays.DbPrevArrayColumnWrapper<T>
- All Implemented Interfaces:
DbArray<T>
,DbArrayBase
,LongSizedDataStructure
,ToStringWithElements
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.illumon.iris.db.tables.dbarrays.DbArray
DbArray.Indirect<T>
-
Field Summary
Fields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArray
CHUNK_SIZE
Fields inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
NULL_ELEMENT_STRING
Fields inherited from interface com.illumon.util.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY
-
Constructor Summary
ConstructorsConstructorDescriptionDbPrevArrayColumnWrapper
(ColumnSource<T> columnSource, ReadOnlyIndex index) DbPrevArrayColumnWrapper
(ColumnSource<T> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Modifier and TypeMethodDescriptionget
(long i) Return a version of this DbArrayBase that is flattened out to only reference memory.getPrev
(long offset) long
size()
The size of this data structure.subArray
(long fromIndexInclusive, long toIndexExclusive) subArrayByPositions
(long[] positions) T[]
toArray()
T[]
toArray
(boolean shouldBeNullIfOutofBounds, int maxSize) Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbArray.Indirect
equals, hashCode, toString, toString, writeReplace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.tables.dbarrays.DbArrayBase
isEmpty
Methods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize
-
Constructor Details
-
DbPrevArrayColumnWrapper
public DbPrevArrayColumnWrapper(@NotNull ColumnSource<T> columnSource, @NotNull ReadOnlyIndex index) -
DbPrevArrayColumnWrapper
public DbPrevArrayColumnWrapper(@NotNull ColumnSource<T> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
toDbArray
-
get
-
subArray
-
subArrayByPositions
-
toArray
-
toArray
-
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Returns:
- The size
-
getComponentType
-
getDirect
Description copied from interface:DbArrayBase
Return a version of this DbArrayBase that is flattened out to only reference memory. -
getPrev
-