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