Package io.deephaven.engine.page
Class BooleanChunkPage<ATTR extends Any>
java.lang.Object
io.deephaven.chunk.ChunkBase<ATTR>
io.deephaven.chunk.BooleanChunk<ATTR>
io.deephaven.engine.page.BooleanChunkPage<ATTR>
- All Implemented Interfaces:
Chunk<ATTR>,ChunkPage<ATTR>,Page<ATTR>,Page.WithDefaults<ATTR>,PagingChunkSource<ATTR>,ChunkSource<ATTR>,FillContextMaker,GetContextMaker,DefaultChunkSource<ATTR>,DefaultChunkSource.SupportsContiguousGet<ATTR>
public class BooleanChunkPage<ATTR extends Any>
extends BooleanChunk<ATTR>
implements ChunkPage<ATTR>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.chunk.Chunk
Chunk.Visitor<ATTR extends Any>Nested classes/interfaces inherited from interface io.deephaven.engine.table.ChunkSource
ChunkSource.FillContext, ChunkSource.GetContextNested classes/interfaces inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
DefaultChunkSource.SupportsContiguousGet<ATTR extends Any>, DefaultChunkSource.WithPrev<ATTR extends Any>Nested classes/interfaces inherited from interface io.deephaven.engine.page.Page
Page.WithDefaults<ATTR extends Any>, Page.WithDefaultsForRepeatingValues<ATTR extends Any> -
Field Summary
Fields inherited from interface io.deephaven.chunk.Chunk
MAXIMUM_SIZE, SYSTEM_ARRAYCOPY_THRESHOLD, SYSTEM_ARRAYFILL_THRESHOLDFields inherited from interface io.deephaven.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfillChunkAppend(@NotNull ChunkSource.FillContext context, @NotNull WritableChunk<? super ATTR> destination, @NotNull RowSequence rowSequence) Appends the values referenced byorderKeysontodestination.final longfinal longmask()This mask is applied toRowSequenceswhich are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence),ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence), andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator).static <ATTR extends Any>
BooleanChunkPage<ATTR>pageWrap(long firstRow, @org.jetbrains.annotations.NotNull boolean[] data, int offset, int capacity, long mask) static <ATTR extends Any>
BooleanChunkPage<ATTR>pageWrap(long firstRow, @org.jetbrains.annotations.NotNull boolean[] data, long mask) Methods inherited from class io.deephaven.chunk.BooleanChunk
chunkWrap, chunkWrap, copyToArray, copyToChunk, copyToTypedArray, downcast, get, getChunkType, getEmptyChunk, isAlias, isAlias, isNull, makeArray, slice, walkMethods inherited from class io.deephaven.chunk.ChunkBase
internalCapacity, internalSetSize, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.chunk.Chunk
asBooleanChunk, asByteChunk, asCharChunk, asDoubleChunk, asFloatChunk, asIntChunk, asLongChunk, asObjectChunk, asShortChunk, checkChunkType, copyToArray, copyToBuffer, copyToChunk, isAlias, isAlias, size, slice, walkMethods inherited from interface io.deephaven.engine.page.ChunkPage
getChunk, getChunkOffset, getChunkType, lastRow, maxRowMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunkByFilling, makeGetContextMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource.SupportsContiguousGet
getChunkMethods inherited from interface io.deephaven.engine.table.FillContextMaker
makeFillContextMethods inherited from interface io.deephaven.engine.table.GetContextMaker
makeGetContextMethods inherited from interface io.deephaven.engine.page.Page
advanceToNextPage, advanceToNextPage, advanceToNextPageAndGetPositionDistance, firstRow, getRowOffsetMethods inherited from interface io.deephaven.engine.page.Page.WithDefaults
fillChunk, fillChunkAppendMethods inherited from interface io.deephaven.engine.page.PagingChunkSource
makeFillContext
-
Method Details
-
pageWrap
public static <ATTR extends Any> BooleanChunkPage<ATTR> pageWrap(long firstRow, @NotNull @org.jetbrains.annotations.NotNull boolean[] data, int offset, int capacity, long mask) -
pageWrap
public static <ATTR extends Any> BooleanChunkPage<ATTR> pageWrap(long firstRow, @NotNull @org.jetbrains.annotations.NotNull boolean[] data, long mask) -
fillChunkAppend
public final void fillChunkAppend(@NotNull @NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> destination, @NotNull @NotNull RowSequence rowSequence) Description copied from interface:Page.WithDefaultsAppends the values referenced byorderKeysontodestination.orderKeysare assumed to be entirely contained on thisPage.- Specified by:
fillChunkAppendin interfacePage.WithDefaults<ATTR extends Any>
-
firstRowOffset
public final long firstRowOffset()- Specified by:
firstRowOffsetin interfacePage<ATTR extends Any>- Returns:
- the first row of this page, after applying the
PagingChunkSource.mask(), which refers to the first row of this page.
-
mask
public final long mask()Description copied from interface:PagingChunkSourceThis mask is applied toRowSequenceswhich are passed intoDefaultChunkSource.getChunk(io.deephaven.engine.table.ChunkSource.GetContext, io.deephaven.engine.rowset.RowSequence),ChunkSource.fillChunk(io.deephaven.engine.table.ChunkSource.FillContext, io.deephaven.chunk.WritableChunk<? super ATTR>, io.deephaven.engine.rowset.RowSequence), andPagingChunkSource.fillChunkAppend(FillContext, WritableChunk, RowSequence.Iterator). This allowsPagingChunkSourcesto be cached and reused even if they are properly relocated in key space.- Specified by:
maskin interfacePagingChunkSource<ATTR extends Any>- Returns:
- The mask for this
PagingChunkSource, which must be a bitmask representing some number of lower order bits of a long.
-