Class FloatOneOrN.Block0
java.lang.Object
io.deephaven.engine.table.impl.sources.sparse.FloatOneOrN.Block0
- Enclosing class:
- FloatOneOrN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearBlocks1
(RowSet blocks1ToClear, SoftRecycler<FloatOneOrN.Block2[]> recycler1) Called by theFloatSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
clearBlocks2
(RowSet blocks2ToClear, SoftRecycler<float[][]> recycler2) Called by theFloatSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
clearLowestLevelBlocks
(RowSet blocksToClear, SoftRecycler<float[]> recycler) Called by theFloatSparseArraySource
at the end of a cycle when blocks have been completely eliminated from the output rowset.void
ensureIndex
(int idx, SoftRecycler<FloatOneOrN.Block1[]> recycler) void
enumerate
(float nullValue, LongConsumer consumer) long
get
(int idx) float[]
getInnermostBlockByKeyOrNull
(long key) void
maybeRecycle
(SoftRecycler<FloatOneOrN.Block1[]> recycler) void
onEmptyResult
(SoftRecycler<FloatOneOrN.Block1[]> recycler0) void
set
(int idx, FloatOneOrN.Block1 value)
-
Constructor Details
-
Block0
public Block0()
-
-
Method Details
-
ensureIndex
-
clearLowestLevelBlocks
Called by theFloatSparseArraySource
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 theFloatSparseArraySource
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 theFloatSparseArraySource
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 float[] getInnermostBlockByKeyOrNull(long key) -
get
-
onEmptyResult
-
set
-
maybeRecycle
-
enumerate
-
estimateSize
-