Package io.deephaven.util.datastructures
Interface LongSizedDataStructure
- All Known Subinterfaces:
AppendOnlyRegionAccessor<ATTR>
,ByteVector
,CharVector
,DoubleVector
,FloatVector
,IntVector
,LazySnapshotTable
,LongVector
,ObjectVector<COMPONENT_TYPE>
,RowSequence
,RowSet
,SegmentedSortedArray
,SegmentedSortedMultiSet<T>
,ShortVector
,SingleRangeMixin
,SizedColumnSource<DATA_TYPE>
,SizedContextualizedObjectColumnSource<DATA_TYPE>
,Table
,TableAdapter
,TableDefaults
,TrackingRowSet
,TrackingWritableRowSet
,Vector<VECTOR_TYPE>
,WritableRowSet
- All Known Implementing Classes:
AppendOnlyArrayBackedInputTable
,BarrageBlinkTable
,BarrageRedirectedTable
,BarrageTable
,BaseTable
,ByteReverseSegmentedSortedArray
,ByteRingBufferVectorWrapper
,ByteSegmentedSortedArray
,ByteSegmentedSortedMultiset
,ByteSubVector
,ByteVector.Indirect
,ByteVectorColumnWrapper
,ByteVectorDirect
,ByteVectorSlice
,CharReverseSegmentedSortedArray
,CharRingBufferVectorWrapper
,CharSegmentedSortedArray
,CharSegmentedSortedMultiset
,CharSubVector
,CharVector.Indirect
,CharVectorColumnWrapper
,CharVectorDirect
,CharVectorSlice
,DeferredViewTable
,DoubleReverseSegmentedSortedArray
,DoubleRingBufferVectorWrapper
,DoubleSegmentedSortedArray
,DoubleSegmentedSortedMultiset
,DoubleSubVector
,DoubleVector.Indirect
,DoubleVectorColumnWrapper
,DoubleVectorDirect
,DoubleVectorSlice
,FloatReverseSegmentedSortedArray
,FloatRingBufferVectorWrapper
,FloatSegmentedSortedArray
,FloatSegmentedSortedMultiset
,FloatSubVector
,FloatVector.Indirect
,FloatVectorColumnWrapper
,FloatVectorDirect
,FloatVectorSlice
,InitialSnapshotTable
,InMemoryTable
,InstantSsmSourceWrapper.ValueWrapper
,IntReverseSegmentedSortedArray
,IntRingBufferVectorWrapper
,IntSegmentedSortedArray
,IntSegmentedSortedMultiset
,IntSubVector
,IntVector.Indirect
,IntVectorColumnWrapper
,IntVectorDirect
,IntVectorSlice
,KeyedArrayBackedInputTable
,LongReverseSegmentedSortedArray
,LongRingBufferVectorWrapper
,LongSegmentedSortedArray
,LongSegmentedSortedMultiset
,LongSubVector
,LongVector.Indirect
,LongVectorColumnWrapper
,LongVectorDirect
,LongVectorSlice
,NullAwareCharReverseSegmentedSortedArray
,NullAwareCharSegmentedSortedArray
,ObjectReverseSegmentedSortedArray
,ObjectRingBufferVectorWrapper
,ObjectSegmentedSortedArray
,ObjectSegmentedSortedMultiset
,ObjectSubVector
,ObjectVector.Indirect
,ObjectVectorColumnWrapper
,ObjectVectorDirect
,ObjectVectorSlice
,PartitionAwareSourceTable
,QueryReplayGroupedTable
,QueryTable
,QueryTable.FilteredTable
,RedefinableTable
,ReplayGroupedFullTable
,ReplayLastByGroupedTable
,ReplayTable
,ReplayTableBase
,RowSequenceAsChunkImpl
,RowSequenceKeyRangesChunkImpl
,RowSequenceRowKeysChunkImpl
,RspRowSequence
,ShiftedRowSequence
,ShortReverseSegmentedSortedArray
,ShortRingBufferVectorWrapper
,ShortSegmentedSortedArray
,ShortSegmentedSortedMultiset
,ShortSubVector
,ShortVector.Indirect
,ShortVectorColumnWrapper
,ShortVectorDirect
,ShortVectorSlice
,SimpleSourceTable
,SingleRangeRowSequence
,SortedRangesRowSequence
,SourceTable
,TimeTable
,TrackingWritableRowSetImpl
,UncoalescedTable
,UpdatableTable
,UpdateSourceQueryTable
,WritableRowSetImpl
public interface LongSizedDataStructure
Common interface for Deephaven data structures with a long (64-bit signed integer) size.
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
intSize()
Returnssize()
cast to an int, if this can be done without losing precision.default int
Returnssize()
cast to an int, if this can be done without losing precision.static int
Returns the size argument cast to an int, if this can be done without losing precision.long
size()
The size of this data structure.
-
Method Details
-
size
long size()The size of this data structure.- Returns:
- The size
-
intSize
default int intSize()Returns
size()
cast to an int, if this can be done without losing precision. Otherwise, throwsSizeException
.- Returns:
size()
, cast to an int- Throws:
SizeException
- Ifsize()
cannot be cast without precision loss
-
intSize
Returns
size()
cast to an int, if this can be done without losing precision. Otherwise, throwsSizeException
.- Parameters:
operation
- A description of the operation that requires an int size- Returns:
size()
, cast to an int- Throws:
SizeException
- Ifsize()
cannot be cast without precision loss
-
intSize
Returns the size argument cast to an int, if this can be done without losing precision. Otherwise, throwsSizeException
.- Parameters:
operation
- A description of the operation that requires an int sizesize
- The size- Returns:
- size, cast to an int
- Throws:
SizeException
- If size cannot be cast without precision loss
-