Class DoubleOneOrN.Block0
java.lang.Object
io.deephaven.engine.table.impl.sources.sparse.DoubleOneOrN.Block0
- Enclosing class:
- DoubleOneOrN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearBlocks1
(RowSet blocks1ToClear, SoftRecycler<DoubleOneOrN.Block2[]> recycler1) Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
clearBlocks2
(RowSet blocks2ToClear, SoftRecycler<double[][]> recycler2) Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
clearLowestLevelBlocks
(RowSet blocksToClear, SoftRecycler<double[]> recycler) Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
ensureIndex
(int idx, SoftRecycler<DoubleOneOrN.Block1[]> recycler) void
enumerate
(double nullValue, LongConsumer consumer) long
get
(int idx) double[]
getInnermostBlockByKeyOrNull
(long key) void
maybeRecycle
(SoftRecycler<DoubleOneOrN.Block1[]> recycler) void
onEmptyResult
(SoftRecycler<DoubleOneOrN.Block1[]> recycler0) void
set
(int idx, DoubleOneOrN.Block1 value)
-
Constructor Details
-
Block0
public Block0()
-
-
Method Details
-
ensureIndex
-
clearLowestLevelBlocks
Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset. The input is not a row key in our address space, but rather an index for the block to clear (i.e. row key >>SparseConstants.BLOCK2_SHIFT
). -
clearBlocks2
Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset. The input is not a row key in our address space, but rather an index for the block2 to clear (i.e. row key >>SparseConstants.BLOCK1_SHIFT
). -
clearBlocks1
Called by theDoubleSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset. The input is not a row key in our address space, but rather an index for the block2 to clear (i.e. row key >>SparseConstants.BLOCK0_SHIFT
). -
getInnermostBlockByKeyOrNull
public double[] getInnermostBlockByKeyOrNull(long key) -
get
-
onEmptyResult
-
set
-
maybeRecycle
-
enumerate
-
estimateSize
-