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