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

Packages that use ColumnFamilyStore
org.apache.cassandra.cache
org.apache.cassandra.config
org.apache.cassandra.db
org.apache.cassandra.db.compaction
org.apache.cassandra.db.compaction.writers
org.apache.cassandra.db.filter
org.apache.cassandra.db.index
org.apache.cassandra.db.lifecycle
org.apache.cassandra.io.sstable
org.apache.cassandra.io.sstable.format
org.apache.cassandra.metrics
org.apache.cassandra.repair
org.apache.cassandra.service
org.apache.cassandra.service.pager
org.apache.cassandra.streaming

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

Methods in org.apache.cassandra.cache with parameters of type ColumnFamilyStore
`java.util.concurrent.Future<Pair<K,V>>` AutoSavingCache.CacheSerializer.`deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`
`void` AutoSavingCache.CacheSerializer.`serialize(K key, DataOutputPlus out, ColumnFamilyStore cfs)`

### Uses of ColumnFamilyStore in org.apache.cassandra.config

Methods in org.apache.cassandra.config that return ColumnFamilyStore
`ColumnFamilyStore` Schema.`getColumnFamilyStoreIncludingIndexes(Pair<java.lang.String,java.lang.String> ksNameAndCFName)` Retrieve a CFS by name even if that CFS is an index An index is identified by looking for '.' in the CF name and separating to find the base table containing the index
`ColumnFamilyStore` Schema.`getColumnFamilyStoreInstance(java.util.UUID cfId)`

Methods in org.apache.cassandra.config with parameters of type ColumnFamilyStore
`static AbstractCompactionStrategy` CFMetaData.`createCompactionStrategyInstance(java.lang.Class<? extends AbstractCompactionStrategy> compactionStrategyClass, ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> compactionStrategyOptions)`
`AbstractCompactionStrategy` CFMetaData.`createCompactionStrategyInstance(ColumnFamilyStore cfs)` Deprecated.

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

Fields in org.apache.cassandra.db declared as ColumnFamilyStore
`ColumnFamilyStore` Memtable.`cfs`
`static ColumnFamilyStore` ColumnFamilyStore.`discardFlushResults`

Methods in org.apache.cassandra.db that return ColumnFamilyStore
`static ColumnFamilyStore` ColumnFamilyStore.`createColumnFamilyStore(Keyspace keyspace, CFMetaData metadata, boolean loadSSTables)`
`static ColumnFamilyStore` ColumnFamilyStore.`createColumnFamilyStore(Keyspace keyspace, java.lang.String columnFamily, IPartitioner partitioner, CFMetaData metadata, boolean loadSSTables)`
`ColumnFamilyStore` Keyspace.`getColumnFamilyStore(java.lang.String cfName)`
`ColumnFamilyStore` Keyspace.`getColumnFamilyStore(java.util.UUID id)`
`static ColumnFamilyStore` ColumnFamilyStore.`getIfExists(java.lang.String ksName, java.lang.String cfName)` Returns a ColumnFamilyStore by ksname and cfname if it exists, null otherwise Differently from others, this method does not throw exception if the keyspace or table does not exist.
`static ColumnFamilyStore` ColumnFamilyStore.`getIfExists(java.util.UUID cfId)` Returns a ColumnFamilyStore by cfId if it exists, null otherwise Differently from others, this method does not throw exception if the table does not exist.

Methods in org.apache.cassandra.db that return types with arguments of type ColumnFamilyStore
`static java.lang.Iterable<ColumnFamilyStore>` ColumnFamilyStore.`all()`
`java.lang.Iterable<ColumnFamilyStore>` ColumnFamilyStore.`concatWithIndexes()`
`java.util.Collection<ColumnFamilyStore>` Keyspace.`getColumnFamilyStores()`
`java.lang.Iterable<ColumnFamilyStore>` Keyspace.`getValidColumnFamilies(boolean allowIndexes, boolean autoAddIndexes, java.lang.String... cfNames)`

Methods in org.apache.cassandra.db with parameters of type ColumnFamilyStore
`static CloseableIterator<Row>` RowIteratorFactory.`getIterator(java.lang.Iterable<Memtable> memtables, java.util.Collection<SSTableReader> sstables, DataRange range, ColumnFamilyStore cfs, long now)` Get a row iterator over the provided memtables and sstables, between the provided keys and filtered by the queryfilter.
`static void` Keyspace.`indexRow(DecoratedKey key, ColumnFamilyStore cfs, java.util.Set<java.lang.String> idxNames)`
`static void` SystemKeyspace.`saveTruncationRecord(ColumnFamilyStore cfs, long truncatedAt, ReplayPosition position)`
`static java.util.UUID` SystemKeyspace.`startCompaction(ColumnFamilyStore cfs, java.lang.Iterable<SSTableReader> toCompact)` Write compaction log, except columfamilies under system keyspace.

Constructors in org.apache.cassandra.db with parameters of type ColumnFamilyStore
Constructor and Description
`CollationController(ColumnFamilyStore cfs, QueryFilter filter, int gcBefore)`
`Memtable(java.util.concurrent.atomic.AtomicReference<ReplayPosition> commitLogLowerBound, ColumnFamilyStore cfs)`

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

Fields in org.apache.cassandra.db.compaction declared as ColumnFamilyStore
`protected ColumnFamilyStore` AbstractCompactionStrategy.`cfs`
`protected ColumnFamilyStore` AbstractCompactionTask.`cfs`
`ColumnFamilyStore` CompactionController.`cfs`

Methods in org.apache.cassandra.db.compaction with parameters of type ColumnFamilyStore
`static LeveledManifest` LeveledManifest.`create(ColumnFamilyStore cfs, int maxSSTableSize, java.lang.Iterable<SSTableReader> sstables, SizeTieredCompactionStrategyOptions options)`
`static LeveledManifest` LeveledManifest.`create(ColumnFamilyStore cfs, int maxSSTableSize, java.util.List<SSTableReader> sstables)`
`static SSTableWriter` CompactionManager.`createWriter(ColumnFamilyStore cfs, java.io.File compactionFileLocation, long expectedBloomFilterSize, long repairedAt, SSTableReader sstable)`
`static SSTableWriter` CompactionManager.`createWriterForAntiCompaction(ColumnFamilyStore cfs, java.io.File compactionFileLocation, int expectedBloomFilterSize, long repairedAt, java.util.Collection<SSTableReader> sstables)`
`abstract CompactionAwareWriter` AbstractCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
`CompactionAwareWriter` CompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, java.util.Set<SSTableReader> nonExpiredSSTables)`
`CompactionAwareWriter` LeveledCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
`CompactionAwareWriter` SSTableSplitter.SplittingCompactionTask.`getCompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables)`
`static int` CompactionManager.`getDefaultGcBefore(ColumnFamilyStore cfs)`
`static java.util.Set<SSTableReader>` CompactionController.`getFullyExpiredSSTables(ColumnFamilyStore cfStore, java.lang.Iterable<SSTableReader> compacting, java.lang.Iterable<SSTableReader> overlapping, int gcBefore)` Finds expired sstables works something like this; 1.
`void` CompactionManager.`performAnticompaction(ColumnFamilyStore cfs, java.util.Collection<Range<Token>> ranges, Refs<SSTableReader> validatedForRepair, LifecycleTransaction txn, long repairedAt)` Make sure the {validatedForRepair} are marked for compaction before calling this.
`CompactionManager.AllSSTableOpStatus` CompactionManager.`performCleanup(ColumnFamilyStore cfStore, int jobs)`
`void` CompactionManager.`performMaximal(ColumnFamilyStore cfStore, boolean splitOutput)`
`CompactionManager.AllSSTableOpStatus` CompactionManager.`performScrub(ColumnFamilyStore cfs, boolean skipCorrupted, boolean checkData, boolean reinsertOverflowedTTLRows, int jobs)`
`CompactionManager.AllSSTableOpStatus` CompactionManager.`performScrub(ColumnFamilyStore cfs, boolean skipCorrupted, boolean checkData, int jobs)`
`CompactionManager.AllSSTableOpStatus` CompactionManager.`performSSTableRewrite(ColumnFamilyStore cfs, boolean excludeCurrentVersion, int jobs)`
`CompactionManager.AllSSTableOpStatus` CompactionManager.`performVerify(ColumnFamilyStore cfs, boolean extendedVerify)`
`com.google.common.util.concurrent.ListenableFuture<?>` CompactionManager.`submitAntiCompaction(ColumnFamilyStore cfs, java.util.Collection<Range<Token>> ranges, Refs<SSTableReader> sstables, long repairedAt)`
`java.util.List<java.util.concurrent.Future<?>>` CompactionManager.`submitBackground(ColumnFamilyStore cfs)` Call this whenever a compaction might be needed on the given columnfamily.
`java.util.List<java.util.concurrent.Future<?>>` CompactionManager.`submitMaximal(ColumnFamilyStore cfStore, int gcBefore, boolean splitOutput)`
`java.util.concurrent.Future<?>` CompactionManager.`submitUserDefined(ColumnFamilyStore cfs, java.util.Collection<Descriptor> dataFiles, int gcBefore)`
`java.util.concurrent.Future<?>` CompactionManager.`submitValidation(ColumnFamilyStore cfStore, Validator validator)` Does not mutate data, so is not scheduled.

Method parameters in org.apache.cassandra.db.compaction with type arguments of type ColumnFamilyStore
`void` CompactionManager.`interruptCompactionForCFs(java.lang.Iterable<ColumnFamilyStore> cfss, boolean interruptValidation)`
`boolean` CompactionManager.`isCompacting(java.lang.Iterable<ColumnFamilyStore> cfses)`
`void` CompactionManager.`waitForCessation(java.lang.Iterable<ColumnFamilyStore> cfss)`

Constructors in org.apache.cassandra.db.compaction with parameters of type ColumnFamilyStore
Constructor and Description
`AbstractCompactionStrategy(ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> options)`
`AbstractCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction transaction)`
`CompactionController(ColumnFamilyStore cfs, int maxValue)`
`CompactionController(ColumnFamilyStore cfs, java.util.Set<SSTableReader> compacting, int gcBefore)`
`CompactionTask(ColumnFamilyStore cfs, LifecycleTransaction txn, int gcBefore, boolean offline)`
`DateTieredCompactionStrategy(ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> options)`
`LeveledCompactionStrategy(ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> options)`
`LeveledCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction txn, int level, int gcBefore, long maxSSTableBytes, boolean majorCompaction)`
`Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, boolean checkData)`
`Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, boolean checkData, boolean reinsertOverflowedTTLRows)`
`Scrubber(ColumnFamilyStore cfs, LifecycleTransaction transaction, boolean skipCorrupted, OutputHandler outputHandler, boolean checkData, boolean reinsertOverflowedTTLRows)`
`SizeTieredCompactionStrategy(ColumnFamilyStore cfs, java.util.Map<java.lang.String,java.lang.String> options)`
`SplitController(ColumnFamilyStore cfs)`
`SplittingCompactionTask(ColumnFamilyStore cfs, LifecycleTransaction transaction, int sstableSizeInMB)`
`SSTableSplitter(ColumnFamilyStore cfs, LifecycleTransaction transaction, int sstableSizeInMB)`
`Upgrader(ColumnFamilyStore cfs, LifecycleTransaction txn, OutputHandler outputHandler)`
`Verifier(ColumnFamilyStore cfs, SSTableReader sstable, boolean isOffline)`
`Verifier(ColumnFamilyStore cfs, SSTableReader sstable, OutputHandler outputHandler, boolean isOffline)`
`WrappingCompactionStrategy(ColumnFamilyStore cfs)`

### Uses of ColumnFamilyStore in org.apache.cassandra.db.compaction.writers

Fields in org.apache.cassandra.db.compaction.writers declared as ColumnFamilyStore
`protected ColumnFamilyStore` CompactionAwareWriter.`cfs`

Constructors in org.apache.cassandra.db.compaction.writers with parameters of type ColumnFamilyStore
Constructor and Description
`CompactionAwareWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, boolean offline)`
`DefaultCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, boolean offline, OperationType compactionType)`
`MajorLeveledCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, boolean offline, OperationType compactionType)`
`MaxSSTableSizeWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, long maxSSTableSize, int level, boolean offline, OperationType compactionType)`
`SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, OperationType compactionType)`
`SplittingSizeTieredCompactionWriter(ColumnFamilyStore cfs, LifecycleTransaction txn, java.util.Set<SSTableReader> nonExpiredSSTables, OperationType compactionType, long smallestSSTable)`

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

Fields in org.apache.cassandra.db.filter declared as ColumnFamilyStore
`ColumnFamilyStore` ExtendedFilter.`cfs`

Methods in org.apache.cassandra.db.filter with parameters of type ColumnFamilyStore
`static ExtendedFilter` ExtendedFilter.`create(ColumnFamilyStore cfs, DataRange dataRange, java.util.List<IndexExpression> clause, int maxResults, boolean countCQL3Rows, long timestamp)`

Constructors in org.apache.cassandra.db.filter with parameters of type ColumnFamilyStore
Constructor and Description
`ExtendedFilter(ColumnFamilyStore cfs, DataRange dataRange, int maxResults, boolean countCQL3Rows, long timestamp)`
`WithClauses(ColumnFamilyStore cfs, DataRange range, java.util.List<IndexExpression> clause, int maxResults, boolean countCQL3Rows, long timestamp)`

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

Fields in org.apache.cassandra.db.index declared as ColumnFamilyStore
`protected ColumnFamilyStore` SecondaryIndex.`baseCfs` Base CF that has many indexes
`ColumnFamilyStore` SecondaryIndexManager.`baseCfs` The underlying column family containing the source data for these indexes
`protected ColumnFamilyStore` SecondaryIndexSearcher.`baseCfs`
`protected ColumnFamilyStore` AbstractSimplePerColumnSecondaryIndex.`indexCfs`

Methods in org.apache.cassandra.db.index that return ColumnFamilyStore
`ColumnFamilyStore` SecondaryIndex.`getBaseCfs()`
`ColumnFamilyStore` AbstractSimplePerColumnSecondaryIndex.`getIndexCfs()`
`abstract ColumnFamilyStore` SecondaryIndex.`getIndexCfs()` Allow access to the underlying column family store if there is one

Methods in org.apache.cassandra.db.index that return types with arguments of type ColumnFamilyStore
`java.util.Set<ColumnFamilyStore>` SecondaryIndexManager.`getIndexesBackedByCfs()`

Methods in org.apache.cassandra.db.index with parameters of type ColumnFamilyStore
`static SecondaryIndex` SecondaryIndex.`createInstance(ColumnFamilyStore baseCfs, ColumnDefinition cdef)` This is the primary way to create a secondary index instance for a CF column.

Constructors in org.apache.cassandra.db.index with parameters of type ColumnFamilyStore
Constructor and Description
`SecondaryIndexBuilder(ColumnFamilyStore cfs, java.util.Set<java.lang.String> idxNames, ReducingKeyIterator iter)`
`SecondaryIndexManager(ColumnFamilyStore baseCfs)`

### Uses of ColumnFamilyStore in org.apache.cassandra.db.lifecycle

Fields in org.apache.cassandra.db.lifecycle declared as ColumnFamilyStore
`ColumnFamilyStore` Tracker.`cfstore`

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

Constructors in org.apache.cassandra.io.sstable with parameters of type ColumnFamilyStore
Constructor and Description
`SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline)`
`SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline, boolean shouldOpenEarly)`
`SSTableRewriter(ColumnFamilyStore cfs, LifecycleTransaction transaction, long maxAge, boolean isOffline, long preemptiveOpenInterval)`

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

Methods in org.apache.cassandra.io.sstable.format with parameters of type ColumnFamilyStore
`SSTableReader` SSTableReader.`cloneWithNewSummarySamplingLevel(ColumnFamilyStore parent, int samplingLevel)` Returns a new SSTableReader with the same properties as this SSTableReader except that a new IndexSummary will be built at the target samplingLevel.
`static SSTableReader` SSTableReader.`openNoValidation(Descriptor descriptor, java.util.Set<Component> components, ColumnFamilyStore cfs)`

### Uses of ColumnFamilyStore in org.apache.cassandra.metrics

Constructors in org.apache.cassandra.metrics with parameters of type ColumnFamilyStore
Constructor and Description
`ColumnFamilyMetrics(ColumnFamilyStore cfs)` Creates metrics for given `ColumnFamilyStore`.

### Uses of ColumnFamilyStore in org.apache.cassandra.repair

Methods in org.apache.cassandra.repair with parameters of type ColumnFamilyStore
`void` Validator.`prepare(ColumnFamilyStore cfs, MerkleTree tree)`

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

Methods in org.apache.cassandra.service that return types with arguments of type ColumnFamilyStore
`java.lang.Iterable<ColumnFamilyStore>` StorageService.`getValidColumnFamilies(boolean allowIndexes, boolean autoAddIndexes, java.lang.String keyspaceName, java.lang.String... cfNames)`

Methods in org.apache.cassandra.service with parameters of type ColumnFamilyStore
`java.util.concurrent.Future<Pair<CounterCacheKey,ClockAndCount>>` CacheService.CounterCacheSerializer.`deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`
`java.util.concurrent.Future<Pair<RowCacheKey,IRowCacheEntry>>` CacheService.RowCacheSerializer.`deserialize(java.io.DataInputStream in, ColumnFamilyStore cfs)`
`java.util.concurrent.Future<Pair<KeyCacheKey,RowIndexEntry>>` CacheService.KeyCacheSerializer.`deserialize(java.io.DataInputStream input, ColumnFamilyStore cfs)`
`void` CacheService.CounterCacheSerializer.`serialize(CounterCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs)`
`void` CacheService.KeyCacheSerializer.`serialize(KeyCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs)`
`void` CacheService.RowCacheSerializer.`serialize(RowCacheKey key, DataOutputPlus out, ColumnFamilyStore cfs)`

Method parameters in org.apache.cassandra.service with type arguments of type ColumnFamilyStore
`java.util.UUID` ActiveRepairService.`prepareForRepair(java.util.UUID parentRepairSession, java.net.InetAddress coordinator, java.util.Set<java.net.InetAddress> endpoints, RepairOption options, java.util.List<ColumnFamilyStore> columnFamilyStores)`
`void` ActiveRepairService.`registerParentRepairSession(java.util.UUID parentRepairSession, java.net.InetAddress coordinator, java.util.List<ColumnFamilyStore> columnFamilyStores, java.util.Collection<Range<Token>> ranges, boolean isIncremental, boolean isGlobal)`

Constructor parameters in org.apache.cassandra.service with type arguments of type ColumnFamilyStore
Constructor and Description
`ParentRepairSession(java.net.InetAddress coordinator, java.util.List<ColumnFamilyStore> columnFamilyStores, java.util.Collection<Range<Token>> ranges, boolean isIncremental, boolean isGlobal, long repairedAt)`

### Uses of ColumnFamilyStore in org.apache.cassandra.service.pager

Methods in org.apache.cassandra.service.pager with parameters of type ColumnFamilyStore
`static java.util.Iterator<ColumnFamily>` QueryPagers.`pageRowLocally(ColumnFamilyStore cfs, java.nio.ByteBuffer key, int pageSize)` Convenience method to (locally) page an internal row.

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

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

Method parameters in org.apache.cassandra.streaming with type arguments of type ColumnFamilyStore
`static java.util.List<StreamSession.SSTableStreamingSections>` StreamSession.`getSSTableSectionsForRanges(java.util.Collection<Range<Token>> ranges, java.util.Collection<ColumnFamilyStore> stores, long overriddenRepairedAt, boolean isIncremental)`