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 TypeMethodDescriptionvoidclearBlocks1(RowSet blocks1ToClear, SoftRecycler<DoubleOneOrN.Block2[]> recycler1) Called by theDoubleSparseArraySourceat the end of a cycle when blocks have been completely eliminated from the output rowset.voidclearBlocks2(RowSet blocks2ToClear, SoftRecycler<double[][]> recycler2) Called by theDoubleSparseArraySourceat the end of a cycle when blocks have been completely eliminated from the output rowset.voidclearLowestLevelBlocks(RowSet blocksToClear, SoftRecycler<double[]> recycler) Called by theDoubleSparseArraySourceat the end of a cycle when blocks have been completely eliminated from the output rowset.voidensureIndex(int idx, SoftRecycler<DoubleOneOrN.Block1[]> recycler) voidenumerate(double nullValue, LongConsumer consumer) longget(int idx) double[]getInnermostBlockByKeyOrNull(long key) voidmaybeRecycle(SoftRecycler<DoubleOneOrN.Block1[]> recycler) voidonEmptyResult(SoftRecycler<DoubleOneOrN.Block1[]> recycler0) voidset(int idx, DoubleOneOrN.Block1 value)
-
Constructor Details
-
Block0
public Block0()
-
-
Method Details
-
ensureIndex
-
clearLowestLevelBlocks
Called by theDoubleSparseArraySourceat 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 theDoubleSparseArraySourceat 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 theDoubleSparseArraySourceat 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
-