Package com.illumon.iris.db.v2.dbarrays
Class DbByteArrayImmutableColumnWrapper
java.lang.Object
com.illumon.iris.db.tables.dbarrays.DbByteArray.Indirect
com.illumon.iris.db.v2.dbarrays.DbByteArrayImmutableColumnWrapper
- All Implemented Interfaces:
DbArrayBase
,DbByteArray
,LongSizedDataStructure
,ToStringWithElements
,Serializable
- See Also:
-
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.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
ConstructorsConstructorDescriptionDbByteArrayImmutableColumnWrapper
(ColumnSource<Byte> columnSource, ReadOnlyIndex index) DbByteArrayImmutableColumnWrapper
(ColumnSource<Byte> columnSource, ReadOnlyIndex index, long startPadding, long endPadding) -
Method Summary
Methods inherited from class com.illumon.iris.db.tables.dbarrays.DbByteArray.Indirect
equals, getDirect, 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.tables.dbarrays.DbByteArray
fillChunk, getComponentType, toChunk
Methods inherited from interface com.illumon.iris.db.util.LongSizedDataStructure
intSize, intSize
-
Constructor Details
-
DbByteArrayImmutableColumnWrapper
public DbByteArrayImmutableColumnWrapper(@NotNull ColumnSource<Byte> columnSource, @NotNull ReadOnlyIndex index) -
DbByteArrayImmutableColumnWrapper
public DbByteArrayImmutableColumnWrapper(@NotNull ColumnSource<Byte> columnSource, @NotNull ReadOnlyIndex index, long startPadding, long endPadding)
-
-
Method Details
-
get
public byte get(long i) -
getPrev
public byte getPrev(long i) -
subArray
-
subArrayByPositions
-
toArray
public byte[] toArray() -
toArray
public byte[] toArray(boolean shouldBeNullIfOutofBounds, int maxSize) -
size
public long size()Description copied from interface:LongSizedDataStructure
The size of this data structure.- Returns:
- The size
-
toDbArray
-