Class OrderedKeysToRowSequenceAdapter
java.lang.Object
io.deephaven.enterprise.compatibility.rowset.OrderedKeysToRowSequenceAdapter
- All Implemented Interfaces:
- RowSequence,- LongSizedDataStructure,- SafeCloseable,- AutoCloseable
A Mutable adapter for converting 
OrderedKeys into a RowSequence. It is the responsibility of the
 creator to invoke close() when they are done with it.
 This object does not take ownership of the delegate. It is the responsibility of the creator to close the delegate.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.deephaven.engine.rowset.RowSequenceRowSequence.Iterator
- 
Field SummaryFields inherited from interface io.deephaven.engine.rowset.RowSequenceNULL_ROW_KEY
- 
Constructor SummaryConstructorsConstructorDescriptionOrderedKeysToRowSequenceAdapter(@Nullable io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.utils.OrderedKeys delegate) 
- 
Method SummaryModifier and TypeMethodDescriptionasRowSet()voidclose()voidfillRowKeyChunk(WritableLongChunk<? super OrderedRowKeys> chunkToFill) voidfillRowKeyRangesChunk(WritableLongChunk<OrderedRowKeyRanges> chunkToFill) longbooleanbooleanlonggetRowSequenceByKeyRange(long startRowKeyInclusive, long endRowKeyInclusive) getRowSequenceByPosition(long startPositionInclusive, long length) booleanbooleanisEmpty()longvoidsetDelegate(@NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.utils.OrderedKeys delegate) longsize()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.util.datastructures.LongSizedDataStructureintSize, intSizeMethods inherited from interface io.deephaven.engine.rowset.RowSequenceforAllRowKeyRanges, forAllRowKeys
- 
Constructor Details- 
OrderedKeysToRowSequenceAdapterpublic OrderedKeysToRowSequenceAdapter()
- 
OrderedKeysToRowSequenceAdapterpublic OrderedKeysToRowSequenceAdapter(@Nullable @Nullable io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.utils.OrderedKeys delegate) 
 
- 
- 
Method Details- 
setDelegatepublic void setDelegate(@NotNull @NotNull io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.utils.OrderedKeys delegate) 
- 
getRowSequenceIterator- Specified by:
- getRowSequenceIteratorin interface- RowSequence
 
- 
getRowSequenceByPosition- Specified by:
- getRowSequenceByPositionin interface- RowSequence
 
- 
getRowSequenceByKeyRange- Specified by:
- getRowSequenceByKeyRangein interface- RowSequence
 
- 
asRowSet- Specified by:
- asRowSetin interface- RowSequence
 
- 
asRowKeyChunk- Specified by:
- asRowKeyChunkin interface- RowSequence
 
- 
asRowKeyRangesChunk- Specified by:
- asRowKeyRangesChunkin interface- RowSequence
 
- 
fillRowKeyChunk- Specified by:
- fillRowKeyChunkin interface- RowSequence
 
- 
fillRowKeyRangesChunk- Specified by:
- fillRowKeyRangesChunkin interface- RowSequence
 
- 
isEmptypublic boolean isEmpty()- Specified by:
- isEmptyin interface- RowSequence
 
- 
firstRowKeypublic long firstRowKey()- Specified by:
- firstRowKeyin interface- RowSequence
 
- 
lastRowKeypublic long lastRowKey()- Specified by:
- lastRowKeyin interface- RowSequence
 
- 
sizepublic long size()- Specified by:
- sizein interface- LongSizedDataStructure
- Specified by:
- sizein interface- RowSequence
 
- 
getAverageRunLengthEstimatepublic long getAverageRunLengthEstimate()- Specified by:
- getAverageRunLengthEstimatein interface- RowSequence
 
- 
forEachRowKey- Specified by:
- forEachRowKeyin interface- RowSequence
 
- 
forEachRowKeyRange- Specified by:
- forEachRowKeyRangein interface- RowSequence
 
- 
isContiguouspublic boolean isContiguous()- Specified by:
- isContiguousin interface- RowSequence
 
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- RowSequence
- Specified by:
- closein interface- SafeCloseable
 
 
-