Uses of Interface
org.apache.cassandra.db.PartitionPosition
-
-
Uses of PartitionPosition in org.apache.cassandra.cql3.restrictions
Methods in org.apache.cassandra.cql3.restrictions that return types with arguments of type PartitionPosition Modifier and Type Method Description AbstractBounds<PartitionPosition>StatementRestrictions. getPartitionKeyBounds(QueryOptions options)Returns the partition key bounds. -
Uses of PartitionPosition in org.apache.cassandra.db
Classes in org.apache.cassandra.db that implement PartitionPosition Modifier and Type Class Description classBufferDecoratedKeyclassCachedHashDecoratedKeyclassDecoratedKeyRepresents a decorated key, handy for certain operations where just working with strings gets slow.classNativeDecoratedKeyclassPreHashedDecoratedKeyFields in org.apache.cassandra.db with type parameters of type PartitionPosition Modifier and Type Field Description protected AbstractBounds<PartitionPosition>DataRange. keyRangecom.google.common.collect.ImmutableList<PartitionPosition>DiskBoundaries. positionsMethods in org.apache.cassandra.db that return PartitionPosition Modifier and Type Method Description PartitionPositionPartitionPosition.RowPositionSerializer. deserialize(java.io.DataInput in, IPartitioner p, int version)static PartitionPositionPartitionPosition.ForKey. get(java.nio.ByteBuffer key, IPartitioner p)PartitionPositionDataRange. startKey()The start of the partition key range queried by thisDataRange.PartitionPositionDataRange. stopKey()The end of the partition key range queried by thisDataRange.Methods in org.apache.cassandra.db that return types with arguments of type PartitionPosition Modifier and Type Method Description AbstractBounds<PartitionPosition>DataRange. keyRange()The range of partition key queried by thisDataRange.Methods in org.apache.cassandra.db with parameters of type PartitionPosition Modifier and Type Method Description intDecoratedKey. compareTo(PartitionPosition pos)static intDecoratedKey. compareTo(IPartitioner partitioner, java.nio.ByteBuffer key, PartitionPosition position)booleanDataRange. contains(PartitionPosition pos)Whether the provided ring position is covered by thisDataRange.voidPartitionPosition.RowPositionSerializer. serialize(PartitionPosition pos, DataOutputPlus out, int version)longPartitionPosition.RowPositionSerializer. serializedSize(PartitionPosition pos, int version)Method parameters in org.apache.cassandra.db with type arguments of type PartitionPosition Modifier and Type Method Description static DataRangeDataRange. forKeyRange(Range<PartitionPosition> keyRange)Creates aDataRangeto query all rows over the provided key range.DataRangeDataRange. forPaging(AbstractBounds<PartitionPosition> range, ClusteringComparator comparator, Clustering<?> lastReturned, boolean inclusive)Returns a newDataRangefor use when pagingthisrange.DataRangeDataRange. forSubRange(AbstractBounds<PartitionPosition> range)Returns a newDataRangeequivalent tothisone but restricted to the provided sub-range.DataRangeDataRange.Paging. forSubRange(AbstractBounds<PartitionPosition> range)PartitionRangeReadCommandPartitionRangeReadCommand. forSubRange(AbstractBounds<PartitionPosition> range, boolean isRangeContinuation)Returns an equivalent command but that only queries data within the provided range.voidColumnFamilyStore. writeAndAddMemtableRanges(TimeUUID repairSessionID, java.util.function.Supplier<java.util.Collection<Range<PartitionPosition>>> rangesSupplier, Refs<SSTableReader> placeIntoRefs)Constructor parameters in org.apache.cassandra.db with type arguments of type PartitionPosition Constructor Description DataRange(AbstractBounds<PartitionPosition> range, ClusteringIndexFilter clusteringIndexFilter)Creates aDataRangegiven a range of partition keys and a clustering index filter.DiskBoundaries(ColumnFamilyStore cfs, Directories.DataDirectory[] directories, java.util.List<PartitionPosition> positions, long ringVersion, int diskVersion) -
Uses of PartitionPosition in org.apache.cassandra.db.lifecycle
Methods in org.apache.cassandra.db.lifecycle that return types with arguments of type PartitionPosition Modifier and Type Method Description static java.util.List<Interval<PartitionPosition,SSTableReader>>SSTableIntervalTree. buildIntervals(java.lang.Iterable<SSTableReader> sstables)Methods in org.apache.cassandra.db.lifecycle with parameters of type PartitionPosition Modifier and Type Method Description java.lang.Iterable<SSTableReader>View. liveSSTablesInBounds(PartitionPosition left, PartitionPosition right)Returns the sstables that have any partition betweenleftandright, when both bounds are taken inclusively.static java.util.List<SSTableReader>View. sstablesInBounds(PartitionPosition left, PartitionPosition right, SSTableIntervalTree intervalTree)Method parameters in org.apache.cassandra.db.lifecycle with type arguments of type PartitionPosition Modifier and Type Method Description static com.google.common.base.Function<View,java.lang.Iterable<SSTableReader>>View. selectLive(AbstractBounds<PartitionPosition> rowBounds) -
Uses of PartitionPosition in org.apache.cassandra.db.memtable
Methods in org.apache.cassandra.db.memtable that return PartitionPosition Modifier and Type Method Description PartitionPositionMemtable.FlushablePartitionSet. from()PartitionPositionMemtable.FlushablePartitionSet. to()Methods in org.apache.cassandra.db.memtable with parameters of type PartitionPosition Modifier and Type Method Description Memtable.FlushablePartitionSet<?>Memtable. getFlushSet(PartitionPosition from, PartitionPosition to)Get the collection of data between the given partition boundaries in a form suitable for flushing.Memtable.FlushablePartitionSet<AtomicBTreePartition>ShardedSkipListMemtable. getFlushSet(PartitionPosition from, PartitionPosition to)Memtable.FlushablePartitionSet<?>SkipListMemtable. getFlushSet(PartitionPosition from, PartitionPosition to)intShardBoundaries. getShardForKey(PartitionPosition key)Computes the shard to use for the provided key. -
Uses of PartitionPosition in org.apache.cassandra.dht
Classes in org.apache.cassandra.dht that implement PartitionPosition Modifier and Type Class Description static classToken.KeyBoundFields in org.apache.cassandra.dht with type parameters of type PartitionPosition Modifier and Type Field Description static IPartitionerDependentSerializer<AbstractBounds<PartitionPosition>>AbstractBounds. rowPositionSerializerMethods in org.apache.cassandra.dht that return types with arguments of type PartitionPosition Modifier and Type Method Description static Bounds<PartitionPosition>Bounds. makeRowBounds(Token left, Token right)Compute a bounds of keys corresponding to a given bounds of token.static Range<PartitionPosition>Range. makeRowRange(Range<Token> tokenBounds)static Range<PartitionPosition>Range. makeRowRange(Token left, Token right)Compute a range of keys corresponding to a given range of token.Methods in org.apache.cassandra.dht with parameters of type PartitionPosition Modifier and Type Method Description intToken.KeyBound. compareTo(PartitionPosition pos) -
Uses of PartitionPosition in org.apache.cassandra.io.sstable
Methods in org.apache.cassandra.io.sstable with parameters of type PartitionPosition Modifier and Type Method Description intIndexSummary. binarySearch(PartitionPosition key) -
Uses of PartitionPosition in org.apache.cassandra.io.sstable.format
Methods in org.apache.cassandra.io.sstable.format with parameters of type PartitionPosition Modifier and Type Method Description DecoratedKeySSTableReader. firstKeyBeyond(PartitionPosition token)Finds and returns the first key beyond a given token in this SSTable or null if no such key exists.longSSTableReader. getIndexScanPosition(PartitionPosition key)Gets the position in the index file to start scanning to find the given key (at most indexInterval keys away, modulo downsampling of the index summary).RowIndexEntrySSTableReader. getPosition(PartitionPosition key, SSTableReader.Operator op)Retrieves the position while updating the key cache and the stats.RowIndexEntrySSTableReader. getPosition(PartitionPosition key, SSTableReader.Operator op, boolean updateCacheAndStats)protected abstract RowIndexEntrySSTableReader. getPosition(PartitionPosition key, SSTableReader.Operator op, boolean updateCacheAndStats, boolean permitMatchPastLast, SSTableReadsListener listener)RowIndexEntrySSTableReader. getPosition(PartitionPosition key, SSTableReader.Operator op, SSTableReadsListener listener)Retrieves the position while updating the key cache and the stats.Method parameters in org.apache.cassandra.io.sstable.format with type arguments of type PartitionPosition Modifier and Type Method Description abstract ISSTableScannerSSTableReader. getScanner(java.util.Iterator<AbstractBounds<PartitionPosition>> rangeIterator)Direct I/O SSTableScanner over an iterator of bounds. -
Uses of PartitionPosition in org.apache.cassandra.io.sstable.format.big
Methods in org.apache.cassandra.io.sstable.format.big with parameters of type PartitionPosition Modifier and Type Method Description protected RowIndexEntryBigTableReader. getPosition(PartitionPosition key, SSTableReader.Operator op, boolean updateCacheAndStats, boolean permitMatchPastLast, SSTableReadsListener listener)Method parameters in org.apache.cassandra.io.sstable.format.big with type arguments of type PartitionPosition Modifier and Type Method Description ISSTableScannerBigTableReader. getScanner(java.util.Iterator<AbstractBounds<PartitionPosition>> boundsIterator)Direct I/O SSTableScanner over an iterator of bounds.static ISSTableScannerBigTableScanner. getScanner(SSTableReader sstable, java.util.Iterator<AbstractBounds<PartitionPosition>> rangeIterator) -
Uses of PartitionPosition in org.apache.cassandra.locator
Methods in org.apache.cassandra.locator that return types with arguments of type PartitionPosition Modifier and Type Method Description AbstractBounds<PartitionPosition>ReplicaLayout.ForRange. range()AbstractBounds<PartitionPosition>ReplicaLayout.ForRangeRead. range()AbstractBounds<PartitionPosition>ReplicaPlan.ForRangeRead. range()Method parameters in org.apache.cassandra.locator with type arguments of type PartitionPosition Modifier and Type Method Description static ReplicaPlan.ForRangeReadReplicaPlans. forRangeRead(Keyspace keyspace, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, int vnodeCount)Construct a plan for reading the provided range at the provided consistency level.static ReplicaPlan.ForRangeReadReplicaPlans. forSingleReplicaRead(Keyspace keyspace, AbstractBounds<PartitionPosition> range, Replica replica, int vnodeCount)Construct a plan for reading from a single node - this permits no speculation or read-repairConstructor parameters in org.apache.cassandra.locator with type arguments of type PartitionPosition Constructor Description ForRangeRead(AbstractReplicationStrategy replicationStrategy, AbstractBounds<PartitionPosition> range, EndpointsForRange natural)ForRangeRead(Keyspace keyspace, AbstractReplicationStrategy replicationStrategy, ConsistencyLevel consistencyLevel, AbstractBounds<PartitionPosition> range, EndpointsForRange candidates, EndpointsForRange contact, int vnodeCount) -
Uses of PartitionPosition in org.apache.cassandra.schema
Method parameters in org.apache.cassandra.schema with type arguments of type PartitionPosition Modifier and Type Method Description intPartitionDenylist. getDeniedKeysInRangeCount(java.lang.String keyspace, java.lang.String table, AbstractBounds<PartitionPosition> range)intPartitionDenylist. getDeniedKeysInRangeCount(TableId tid, AbstractBounds<PartitionPosition> range)
-