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