Package com.illumon.iris.db.v2.dbarrays
Class DbArrayImmutableColumnWrapper<T>
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbArray.Indirect<T>
com.illumon.iris.db.v2.dbarrays.DbArrayImmutableColumnWrapper<T>
- All Implemented Interfaces:
DbArray<T>,DbArrayBase,LongSizedDataStructure,ToStringWithElements,Serializable
public class DbArrayImmutableColumnWrapper<T> extends DbArray.Indirect<T>
- See Also:
- Serialized Form
-
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.gui.table.format.ToStringWithElements
ARRAY_SIZE_WARNING, DEFAULT_ARRAY_SIZE_COPY, MAX_ARRAY_SIZE_COPY -
Constructor Summary
Constructors Constructor Description DbArrayImmutableColumnWrapper(ColumnSource<T> columnSource, ReadOnlyIndex index)DbArrayImmutableColumnWrapper(ColumnSource<T> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Modifier and Type Method Description Tget(long i)Class<T>getComponentType()DbArrayBasegetDirect()Return a version of this DbArrayBase that is flattened out to only reference memory.TgetPrev(long offset)longsize()The size of this data structure.DbArray<T>subArray(long fromIndexInclusive, long toIndexExclusive)DbArray<T>subArrayByPositions(long[] positions)T[]toArray()T[]toArray(boolean shouldBeNullIfOutofBounds, long maxSize)DbArraytoDbArray()Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbArray.Indirect
equals, hashCode, toString, toString, writeReplace
-
Constructor Details
-
DbArrayImmutableColumnWrapper
public DbArrayImmutableColumnWrapper(@NotNull ColumnSource<T> columnSource, @NotNull ReadOnlyIndex index) -
DbArrayImmutableColumnWrapper
public DbArrayImmutableColumnWrapper(@NotNull ColumnSource<T> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
toDbArray
-
get
-
getPrev
-
subArray
-
subArrayByPositions
-
toArray
-
toArray
-
size
public long size()Description copied from interface:LongSizedDataStructureThe size of this data structure.- Returns:
- The size
-
getComponentType
-
getDirect
Description copied from interface:DbArrayBaseReturn a version of this DbArrayBase that is flattened out to only reference memory.
-