## Uses of Class
org.apache.cassandra.db.DecoratedKey

Packages that use DecoratedKey
org.apache.cassandra.cache
org.apache.cassandra.db
org.apache.cassandra.db.columniterator
org.apache.cassandra.db.compaction
org.apache.cassandra.db.filter
org.apache.cassandra.db.index
org.apache.cassandra.db.index.composites
org.apache.cassandra.dht
org.apache.cassandra.io.sstable
org.apache.cassandra.io.sstable.format
org.apache.cassandra.io.sstable.format.big
org.apache.cassandra.service
org.apache.cassandra.streaming
org.apache.cassandra.thrift
org.apache.cassandra.utils
org.apache.cassandra.utils.memory

### Uses of DecoratedKey in org.apache.cassandra.cache

Constructors in org.apache.cassandra.cache with parameters of type DecoratedKey
Constructor and Description
`RowCacheKey(Pair<java.lang.String,java.lang.String> ksAndCFName, DecoratedKey key)`

### Uses of DecoratedKey in org.apache.cassandra.db

Subclasses of DecoratedKey in org.apache.cassandra.db
`class` `BufferDecoratedKey`
`class` `CachedHashDecoratedKey`
`class` `NativeDecoratedKey`
`class` `PreHashedDecoratedKey`

Fields in org.apache.cassandra.db declared as DecoratedKey
`DecoratedKey` Row.`key`

Fields in org.apache.cassandra.db with type parameters of type DecoratedKey
`static java.util.Comparator<DecoratedKey>` DecoratedKey.`comparator`

Methods in org.apache.cassandra.db that return types with arguments of type DecoratedKey
`java.util.Iterator<java.util.Map.Entry<DecoratedKey,ColumnFamily>>` Memtable.`getEntryIterator(RowPosition startWith, RowPosition stopAt)`
`java.lang.Iterable<DecoratedKey>` ColumnFamilyStore.`keySamples(Range<Token> range)`

Methods in org.apache.cassandra.db with parameters of type DecoratedKey
`void` ColumnFamilyStore.`apply(DecoratedKey key, ColumnFamily columnFamily, SecondaryIndexManager.Updater indexer, OpOrder.Group opGroup, ReplayPosition replayPosition)` Insert/Update the column family for this key.
`boolean` ColumnFamilyStore.`containsCachedRow(DecoratedKey key)`
`ColumnFamily` Memtable.`getColumnFamily(DecoratedKey key)`
`ColumnFamily` ColumnFamilyStore.`getColumnFamily(DecoratedKey key, Composite start, Composite finish, boolean reversed, int limit, long timestamp)`
`ColumnFamily` ColumnFamilyStore.`getRawCachedRow(DecoratedKey key)`
`static void` Keyspace.`indexRow(DecoratedKey key, ColumnFamilyStore cfs, java.util.Set<java.lang.String> idxNames)`
`void` ColumnFamilyStore.`invalidateCachedRow(DecoratedKey key)`
`void` ColumnFamilyStore.`maybeUpdateRowCache(DecoratedKey key)`
`com.google.common.base.Function<View,java.util.List<SSTableReader>>` ColumnFamilyStore.`viewFilter(DecoratedKey key)`

Constructors in org.apache.cassandra.db with parameters of type DecoratedKey
Constructor and Description
`Row(DecoratedKey key, ColumnFamily cf)`

### Uses of DecoratedKey in org.apache.cassandra.db.columniterator

Methods in org.apache.cassandra.db.columniterator that return DecoratedKey
`DecoratedKey` LazyColumnIterator.`getKey()`
`DecoratedKey` OnDiskAtomIterator.`getKey()`

Constructors in org.apache.cassandra.db.columniterator with parameters of type DecoratedKey
Constructor and Description
`LazyColumnIterator(DecoratedKey key, IColumnIteratorFactory subIteratorFactory)`

### Uses of DecoratedKey in org.apache.cassandra.db.compaction

Fields in org.apache.cassandra.db.compaction declared as DecoratedKey
`DecoratedKey` AbstractCompactedRow.`key`

Methods in org.apache.cassandra.db.compaction with parameters of type DecoratedKey
`com.google.common.base.Predicate<java.lang.Long>` CompactionController.`getPurgeEvaluator(DecoratedKey key)`
`com.google.common.base.Predicate<java.lang.Long>` SSTableSplitter.SplitController.`getPurgeEvaluator(DecoratedKey key)`

Constructors in org.apache.cassandra.db.compaction with parameters of type DecoratedKey
Constructor and Description
`AbstractCompactedRow(DecoratedKey key)`

### Uses of DecoratedKey in org.apache.cassandra.db.filter

Fields in org.apache.cassandra.db.filter declared as DecoratedKey
`DecoratedKey` QueryFilter.`key`

Methods in org.apache.cassandra.db.filter with parameters of type DecoratedKey
`static void` QueryFilter.`collateColumns(ColumnFamily returnCF, java.util.List<? extends java.util.Iterator<Cell>> toCollate, IDiskAtomFilter filter, DecoratedKey key, int gcBefore, long timestamp)`
`static void` QueryFilter.`collateOnDiskAtom(ColumnFamily returnCF, java.util.List<? extends java.util.Iterator<? extends OnDiskAtom>> toCollate, IDiskAtomFilter filter, DecoratedKey key, int gcBefore, long timestamp)`
`void` IDiskAtomFilter.`collectReducedColumns(ColumnFamily container, java.util.Iterator<Cell> reducedColumns, DecoratedKey key, int gcBefore, long now)` collects columns from reducedColumns into returnCF.
`void` NamesQueryFilter.`collectReducedColumns(ColumnFamily container, java.util.Iterator<Cell> reducedColumns, DecoratedKey key, int gcBefore, long now)`
`void` SliceQueryFilter.`collectReducedColumns(ColumnFamily container, java.util.Iterator<Cell> reducedColumns, DecoratedKey key, int gcBefore, long now)`
`OnDiskAtomIterator` IDiskAtomFilter.`getColumnIterator(DecoratedKey key, ColumnFamily cf)`
`OnDiskAtomIterator` NamesQueryFilter.`getColumnIterator(DecoratedKey key, ColumnFamily cf)`
`OnDiskAtomIterator` SliceQueryFilter.`getColumnIterator(DecoratedKey key, ColumnFamily cf)`
`abstract IDiskAtomFilter` ExtendedFilter.`getExtraFilter(DecoratedKey key, ColumnFamily data)` Returns a filter to query the columns from the clause that the initial slice filter may not have caught.
`IDiskAtomFilter` ExtendedFilter.WithClauses.`getExtraFilter(DecoratedKey rowKey, ColumnFamily data)`
`static QueryFilter` QueryFilter.`getIdentityFilter(DecoratedKey key, java.lang.String cfName, long timestamp)` return a QueryFilter object that includes every column in the row.
`static QueryFilter` QueryFilter.`getNamesFilter(DecoratedKey key, java.lang.String cfName, java.util.SortedSet<CellName> columns, long timestamp)`
`static QueryFilter` QueryFilter.`getSliceFilter(DecoratedKey key, java.lang.String cfName, Composite start, Composite finish, boolean reversed, int limit, long timestamp)`
`OnDiskAtomIterator` IDiskAtomFilter.`getSSTableColumnIterator(SSTableReader sstable, DecoratedKey key)` returns an iterator that returns columns from the given SSTable matching the Filter criteria in sorted order.
`OnDiskAtomIterator` NamesQueryFilter.`getSSTableColumnIterator(SSTableReader sstable, DecoratedKey key)`
`OnDiskAtomIterator` SliceQueryFilter.`getSSTableColumnIterator(SSTableReader sstable, DecoratedKey key)`
`OnDiskAtomIterator` IDiskAtomFilter.`getSSTableColumnIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry)` Get an iterator that returns columns from the given SSTable using the opened file matching the Filter criteria in sorted order.
`OnDiskAtomIterator` NamesQueryFilter.`getSSTableColumnIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry)`
`OnDiskAtomIterator` SliceQueryFilter.`getSSTableColumnIterator(SSTableReader sstable, FileDataInput file, DecoratedKey key, RowIndexEntry indexEntry)`
`abstract boolean` ExtendedFilter.`isSatisfiedBy(DecoratedKey rowKey, ColumnFamily data, Composite prefix, java.nio.ByteBuffer collectionElement)`
`boolean` ExtendedFilter.WithClauses.`isSatisfiedBy(DecoratedKey rowKey, ColumnFamily data, Composite prefix, java.nio.ByteBuffer collectionElement)`
`abstract ColumnFamily` ExtendedFilter.`prune(DecoratedKey key, ColumnFamily data)`
`ColumnFamily` ExtendedFilter.WithClauses.`prune(DecoratedKey rowKey, ColumnFamily data)`

Constructors in org.apache.cassandra.db.filter with parameters of type DecoratedKey
Constructor and Description
`QueryFilter(DecoratedKey key, java.lang.String cfName, IDiskAtomFilter filter, long timestamp)`

### Uses of DecoratedKey in org.apache.cassandra.db.index

Methods in org.apache.cassandra.db.index that return DecoratedKey
`DecoratedKey` SecondaryIndex.`getIndexKeyFor(java.nio.ByteBuffer value)` Returns the decoratedKey for a column value.

Methods in org.apache.cassandra.db.index with parameters of type DecoratedKey
`abstract void` PerRowSecondaryIndex.`delete(DecoratedKey key, OpOrder.Group opGroup)` cleans up deleted columns from cassandra cleanup compaction
`void` SecondaryIndexManager.`deleteFromIndexes(DecoratedKey key, java.util.List<Cell> indexedColumnsInRow, OpOrder.Group opGroup)` Delete all columns from all indexes for this row.
`SecondaryIndexManager.Updater` SecondaryIndexManager.`gcUpdaterFor(DecoratedKey key)` Updated closure with only the modified row key.
`SecondaryIndexManager.Updater` SecondaryIndexManager.`updaterFor(DecoratedKey key, ColumnFamily cf, OpOrder.Group opGroup)` This helper acts as a closure around the indexManager and updated cf data to ensure that down in Memtable's ColumnFamily implementation, the index can get updated.

### Uses of DecoratedKey in org.apache.cassandra.db.index.composites

Fields in org.apache.cassandra.db.index.composites declared as DecoratedKey
`DecoratedKey` CompositesIndex.IndexedEntry.`indexValue`

Methods in org.apache.cassandra.db.index.composites with parameters of type DecoratedKey
`abstract CompositesIndex.IndexedEntry` CompositesIndex.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`
`CompositesIndex.IndexedEntry` CompositesIndexIncludingCollectionKey.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`
`CompositesIndex.IndexedEntry` CompositesIndexOnClusteringKey.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`
`CompositesIndex.IndexedEntry` CompositesIndexOnCollectionValue.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`
`CompositesIndex.IndexedEntry` CompositesIndexOnPartitionKey.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`
`CompositesIndex.IndexedEntry` CompositesIndexOnRegular.`decodeEntry(DecoratedKey indexedValue, Cell indexEntry)`

Constructors in org.apache.cassandra.db.index.composites with parameters of type DecoratedKey
Constructor and Description
`IndexedEntry(DecoratedKey indexValue, CellName indexEntry, long timestamp, java.nio.ByteBuffer indexedKey, Composite indexedEntryPrefix)`
`IndexedEntry(DecoratedKey indexValue, CellName indexEntry, long timestamp, java.nio.ByteBuffer indexedKey, Composite indexedEntryPrefix, java.nio.ByteBuffer indexedEntryCollectionKey)`

### Uses of DecoratedKey in org.apache.cassandra.dht

Methods in org.apache.cassandra.dht that return DecoratedKey
`DecoratedKey` ByteOrderedPartitioner.`decorateKey(java.nio.ByteBuffer key)`
`DecoratedKey` IPartitioner.`decorateKey(java.nio.ByteBuffer key)` Transform key to object representation of the on-disk format.
`DecoratedKey` LocalPartitioner.`decorateKey(java.nio.ByteBuffer key)`
`DecoratedKey` Murmur3Partitioner.`decorateKey(java.nio.ByteBuffer key)`
`DecoratedKey` OrderPreservingPartitioner.`decorateKey(java.nio.ByteBuffer key)`
`DecoratedKey` RandomPartitioner.`decorateKey(java.nio.ByteBuffer key)`

### Uses of DecoratedKey in org.apache.cassandra.io.sstable

Fields in org.apache.cassandra.io.sstable declared as DecoratedKey
`protected DecoratedKey` AbstractSSTableSimpleWriter.`currentKey`
`DecoratedKey` SSTable.`first`
`DecoratedKey` SSTable.`last`
`DecoratedKey` IndexSummaryBuilder.ReadableBoundary.`lastKey`

Methods in org.apache.cassandra.io.sstable that return DecoratedKey
`protected DecoratedKey` KeyIterator.`computeNext()`
`DecoratedKey` SSTableIdentityIterator.`getKey()`
`static DecoratedKey` SSTable.`getMinimalKey(DecoratedKey key)` If the given @param key occupies only part of a larger buffer, allocate a new buffer that is only as large as necessary.
`DecoratedKey` ReducingKeyIterator.`next()`

Methods in org.apache.cassandra.io.sstable with parameters of type DecoratedKey
`static SSTableIdentityIterator` SSTableIdentityIterator.`createFragmentIterator(SSTableReader sstable, RandomAccessReader file, DecoratedKey key, long dataSize, boolean checkData)` Used only by scrubber to solve problems with data written after the END_OF_ROW marker.
`static DecoratedKey` SSTable.`getMinimalKey(DecoratedKey key)` If the given @param key occupies only part of a larger buffer, allocate a new buffer that is only as large as necessary.
`IndexSummaryBuilder` IndexSummaryBuilder.`maybeAddEntry(DecoratedKey decoratedKey, long indexStart)`
`IndexSummaryBuilder` IndexSummaryBuilder.`maybeAddEntry(DecoratedKey decoratedKey, long indexStart, long indexEnd, long dataEnd)`
`protected abstract void` AbstractSSTableSimpleWriter.`writeRow(DecoratedKey key, ColumnFamily columnFamily)`
`protected void` SSTableSimpleUnsortedWriter.`writeRow(DecoratedKey key, ColumnFamily columnFamily)` Deprecated.
`protected void` SSTableSimpleWriter.`writeRow(DecoratedKey key, ColumnFamily columnFamily)` Deprecated.

Constructors in org.apache.cassandra.io.sstable with parameters of type DecoratedKey
Constructor and Description
`ReadableBoundary(DecoratedKey lastKey, long indexLength, long dataLength, int summaryCount, long entriesLength)`
`SSTableIdentityIterator(SSTableReader sstable, RandomAccessReader file, DecoratedKey key)` Used to iterate through the columns of a row.
`SSTableIdentityIterator(SSTableReader sstable, RandomAccessReader file, DecoratedKey key, boolean checkData)` Used to iterate through the columns of a row.

### Uses of DecoratedKey in org.apache.cassandra.io.sstable.format

Methods in org.apache.cassandra.io.sstable.format that return DecoratedKey
`DecoratedKey` SSTableReader.`firstKeyBeyond(RowPosition token)` Finds and returns the first key beyond a given token in this SSTable or null if no such key exists.

Methods in org.apache.cassandra.io.sstable.format that return types with arguments of type DecoratedKey
`java.lang.Iterable<DecoratedKey>` SSTableReader.`getKeySamples(Range<Token> range)`

Methods in org.apache.cassandra.io.sstable.format with parameters of type DecoratedKey
`abstract void` SSTableWriter.`append(DecoratedKey decoratedKey, ColumnFamily cf)`
`abstract long` SSTableWriter.`appendFromStream(DecoratedKey key, CFMetaData metadata, java.io.DataInput in, Version version)`
`void` SSTableReader.`cacheKey(DecoratedKey key, RowIndexEntry info)`
`SSTableReader` SSTableReader.`cloneWithNewStart(DecoratedKey newStart, java.lang.Runnable runOnClose)`
`RowIndexEntry` SSTableReader.`getCachedPosition(DecoratedKey key, boolean updateStats)`
`KeyCacheKey` SSTableReader.`getCacheKey(DecoratedKey key)`
`abstract OnDiskAtomIterator` SSTableReader.`iterator(DecoratedKey key, ColumnSlice[] slices, boolean reverse)`
`abstract OnDiskAtomIterator` SSTableReader.`iterator(DecoratedKey key, java.util.SortedSet<CellName> columns)`
`abstract OnDiskAtomIterator` SSTableReader.`iterator(FileDataInput file, DecoratedKey key, ColumnSlice[] slices, boolean reversed, RowIndexEntry indexEntry)`
`abstract OnDiskAtomIterator` SSTableReader.`iterator(FileDataInput file, DecoratedKey key, java.util.SortedSet<CellName> columns, RowIndexEntry indexEntry)`
`static void` SSTableReader.`saveSummary(Descriptor descriptor, DecoratedKey first, DecoratedKey last, SegmentedFile.Builder ibuilder, SegmentedFile.Builder dbuilder, IndexSummary summary)` Save index summary to Summary.db file.

### Uses of DecoratedKey in org.apache.cassandra.io.sstable.format.big

Methods in org.apache.cassandra.io.sstable.format.big with parameters of type DecoratedKey
`void` BigTableWriter.`append(DecoratedKey decoratedKey, ColumnFamily cf)`
`long` BigTableWriter.`appendFromStream(DecoratedKey key, CFMetaData metadata, java.io.DataInput in, Version version)`
`OnDiskAtomIterator` BigTableReader.`iterator(DecoratedKey key, ColumnSlice[] slices, boolean reverse)`
`OnDiskAtomIterator` BigTableReader.`iterator(DecoratedKey key, java.util.SortedSet<CellName> columns)`
`OnDiskAtomIterator` BigTableReader.`iterator(FileDataInput input, DecoratedKey key, ColumnSlice[] slices, boolean reverse, RowIndexEntry indexEntry)`
`OnDiskAtomIterator` BigTableReader.`iterator(FileDataInput input, DecoratedKey key, java.util.SortedSet<CellName> columns, RowIndexEntry indexEntry)`

### Uses of DecoratedKey in org.apache.cassandra.service

Fields in org.apache.cassandra.service declared as DecoratedKey
`protected DecoratedKey` AbstractRowResolver.`key`

Methods in org.apache.cassandra.service with parameters of type DecoratedKey
`static java.util.List<AsyncOneResponse>` RowDataResolver.`scheduleRepairs(ColumnFamily resolved, java.lang.String keyspaceName, DecoratedKey key, java.util.List<ColumnFamily> versions, java.util.List<java.net.InetAddress> endpoints)` For each row version, compare with resolved (the superset of all row versions); if it is missing anything, send a mutation to the endpoint it come from.

Constructors in org.apache.cassandra.service with parameters of type DecoratedKey
Constructor and Description
`DigestMismatchException(DecoratedKey key, java.nio.ByteBuffer digest1, java.nio.ByteBuffer digest2)`

### Uses of DecoratedKey in org.apache.cassandra.streaming

Methods in org.apache.cassandra.streaming with parameters of type DecoratedKey
`protected void` StreamReader.`writeRow(DecoratedKey key, SSTableWriter writer, java.io.DataInput in, ColumnFamilyStore cfs)`

### Uses of DecoratedKey in org.apache.cassandra.thrift

Methods in org.apache.cassandra.thrift that return types with arguments of type DecoratedKey
`protected java.util.Map<DecoratedKey,ColumnFamily>` CassandraServer.`readColumnFamily(java.util.List<ReadCommand> commands, ConsistencyLevel consistency_level, ClientState cState)`

### Uses of DecoratedKey in org.apache.cassandra.utils

Method parameters in org.apache.cassandra.utils with type arguments of type DecoratedKey
`static void` FBUtilities.`sortSampledKeys(java.util.List<DecoratedKey> keys, Range<Token> range)`

### Uses of DecoratedKey in org.apache.cassandra.utils.memory

Methods in org.apache.cassandra.utils.memory that return DecoratedKey
`abstract DecoratedKey` MemtableAllocator.`clone(DecoratedKey key, OpOrder.Group opGroup)`
`DecoratedKey` MemtableBufferAllocator.`clone(DecoratedKey key, OpOrder.Group writeOp)`
`DecoratedKey` NativeAllocator.`clone(DecoratedKey key, OpOrder.Group writeOp)`

Methods in org.apache.cassandra.utils.memory with parameters of type DecoratedKey
`abstract DecoratedKey` MemtableAllocator.`clone(DecoratedKey key, OpOrder.Group opGroup)`
`DecoratedKey` MemtableBufferAllocator.`clone(DecoratedKey key, OpOrder.Group writeOp)`
`DecoratedKey` NativeAllocator.`clone(DecoratedKey key, OpOrder.Group writeOp)`
`MemtableAllocator.DataReclaimer` MemtableAllocator.DataReclaimer.`reclaimImmediately(DecoratedKey key)`