Interface ColumnRegionObjectWithLength<T,ATTR extends Any>
- All Superinterfaces:
ChunkSource<ATTR>,ColumnRegion<ATTR>,ColumnRegionObject<T,,ATTR> DefaultChunkSource<ATTR>,FillContextMaker,GetContextMaker,Page<ATTR>,PagingChunkSource<ATTR>,PushdownFilterMatcher,RegionedPushdownFilterMatcher,Releasable
- All Known Implementing Classes:
ColumnRegionObjectCached,ColumnRegionObjectCodecFixed,ColumnRegionObjectCodecVariable
public interface ColumnRegionObjectWithLength<T,ATTR extends Any>
extends ColumnRegionObject<T,ATTR>
A
ColumnRegionObject that supports querying its length.-
Nested Class Summary
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.sources.regioned.ColumnRegionObject
ColumnRegionObject.Constant<DATA_TYPE extends Object,ATTR extends Any>, ColumnRegionObject.DictionaryKeysWrapper, ColumnRegionObject.Null<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.SelfDictionaryRegion<DATA_TYPE extends Object, ATTR extends Any>, ColumnRegionObject.StaticPageStore<DATA_TYPE extends Object, ATTR extends Any> Nested 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.engine.table.ChunkSource
DEFAULT_FILL_INSTANCE, ZERO_LENGTH_CHUNK_SOURCE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionGet the number of objects that can be read from this region, if it is known.lengthItems(ColumnRegionObject<?, ?> region) Get the number of objects that can be read from thisregion, if it is known.Methods inherited from interface io.deephaven.engine.table.ChunkSource
fillChunkMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegion
estimatePushdownFilterCost, firstRowOffset, getColumnLocation, invalidate, pushdownFilterMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.ColumnRegionObject
gatherDictionaryValuesRowSet, getChunkType, getDictionaryKeysRegion, getDictionaryValuesRegion, getObject, getObject, supportsDictionaryFormatMethods inherited from interface io.deephaven.engine.table.impl.DefaultChunkSource
getChunk, getChunk, getChunkByFilling, makeGetContextMethods 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.PagingChunkSource
fillChunkAppend, makeFillContext, mask, maxRowMethods inherited from interface io.deephaven.engine.table.impl.PushdownFilterMatcher
makePushdownFilterContextMethods inherited from interface io.deephaven.engine.table.impl.sources.regioned.RegionedPushdownFilterMatcher
estimatePushdownAction, makeActionContext, makeEstimateContext, performPushdownAction, supportedActionsMethods inherited from interface io.deephaven.engine.table.Releasable
releaseCachedResources
-
Method Details
-
lengthItems
Get the number of objects that can be read from this region, if it is known. Otherwise, return an empty optional.The returned length is safe to use as a read extent: every object it covers is guaranteed to be dereferenceable. Implementations backed by more than one file must not report objects whose bytes are not yet visible, even if some other file claims they exist -- see DH-23322.
-
lengthItems
Get the number of objects that can be read from thisregion, if it is known.- Parameters:
region- the region to query- Returns:
- the number of readable objects if known, otherwise an empty optional
-