Uses of Class org.apache.cassandra.io.sstable.Component (apache-cassandra API)
Date: 2018-02-12

## Uses of Class
org.apache.cassandra.io.sstable.Component

- Packages that use Component
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.io.sstable |
  org.apache.cassandra.io.sstable.format |

- - ### Uses of Component in org.apache.cassandra.db

    Methods in org.apache.cassandra.db that return types with arguments of type Component
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<Descriptor,java.util.Set<Component>>` | Directories.SSTableLister.`list()`

  - ### Uses of Component in org.apache.cassandra.io.sstable

    Fields in org.apache.cassandra.io.sstable declared as Component
    Modifier and Type | Field and Description
    --- | ---
    `static Component` | Component.`COMPRESSION_INFO`
    `static Component` | Component.`CRC`
    `static Component` | Component.`DATA`
    `static Component` | Component.`DIGEST`
    `static Component` | Component.`FILTER`
    `static Component` | Component.`PRIMARY_INDEX`
    `static Component` | Component.`STATS`
    `static Component` | Component.`SUMMARY`
    `static Component` | Component.`TOC`

    Fields in org.apache.cassandra.io.sstable with type parameters of type Component
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.Set<Component>` | SSTable.`components`

    Methods in org.apache.cassandra.io.sstable that return types with arguments of type Component
    Modifier and Type | Method and Description
    --- | ---
    `static java.util.Set<Component>` | SSTable.`componentsFor(Descriptor desc)` Discovers existing components for the descriptor.
    `static java.util.Set<Component>` | SSTable.`discoverComponentsFor(Descriptor desc)`
    `static Pair<Descriptor,Component>` | Component.`fromFilename(java.io.File directory, java.lang.String name)` `Filename of the form "<ksname>/<cfname>-[tmp-][<version>-]<gen>-<component>",`
    `protected static java.util.Set<Component>` | SSTable.`readTOC(Descriptor descriptor)` Reads the list of components from the TOC component.
    `static Pair<Descriptor,Component>` | SSTable.`tryComponentFromFilename(java.io.File dir, java.lang.String name)`

    Methods in org.apache.cassandra.io.sstable with parameters of type Component
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | Descriptor.`filenameFor(Component component)`
    `java.lang.String` | Descriptor.`relativeFilenameFor(Component component)`

    Method parameters in org.apache.cassandra.io.sstable with type arguments of type Component
    Modifier and Type | Method and Description
    --- | ---
    `void` | SSTable.`addComponents(java.util.Collection<Component> newComponents)` Registers new custom components.
    `protected static void` | SSTable.`appendTOC(Descriptor descriptor, java.util.Collection<Component> components)` Appends new component names to the TOC component.
    `static boolean` | SSTable.`delete(Descriptor desc, java.util.Set<Component> components)` We use a ReferenceQueue to manage deleting files that have been compacted and for which no more SSTable references exist.

    Constructor parameters in org.apache.cassandra.io.sstable with type arguments of type Component
    Constructor and Description
    `SSTable(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner)`
    `SSTableDeletingTask(Descriptor realDescriptor, java.util.Set<Component> components, com.codahale.metrics.Counter totalDiskSpaceUsed, long bytesOnDisk)` realDescriptor is the actual descriptor for the sstable, the descriptor inside referent can be 'faked' as FINAL for early opened files.

  - ### Uses of Component in org.apache.cassandra.io.sstable.format

    Methods in org.apache.cassandra.io.sstable.format with parameters of type Component
    Modifier and Type | Method and Description
    --- | ---
    `long` | SSTableReader.`getCreationTimeFor(Component component)`

    Method parameters in org.apache.cassandra.io.sstable.format with type arguments of type Component
    Modifier and Type | Method and Description
    --- | ---
    `static SSTableReader` | SSTableReader.`internalOpen(Descriptor desc, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner, SegmentedFile ifile, SegmentedFile dfile, IndexSummary isummary, IFilter bf, long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason)` Open a RowIndexedReader which already has its state initialized (by SSTableWriter).
    `static SSTableReader` | SSTableReader.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner)`
    `static SSTableReader` | SSTableReader.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner, boolean validate, boolean trackHotness)`
    `abstract SSTableReader` | SSTableReader.Factory.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner, java.lang.Long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason)`
    `static java.util.Collection<SSTableReader>` | SSTableReader.`openAll(java.util.Set<java.util.Map.Entry<Descriptor,java.util.Set<Component>>> entries, CFMetaData metadata, IPartitioner partitioner)`
    `static SSTableReader` | SSTableReader.`openForBatch(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner)` Open SSTable reader to be used in batch mode(such as sstableloader).
    `static SSTableReader` | SSTableReader.`openNoValidation(Descriptor descriptor, java.util.Set<Component> components, ColumnFamilyStore cfs)`
    `static void` | SSTableWriter.`rename(Descriptor tmpdesc, Descriptor newdesc, java.util.Set<Component> components)`
    `static Descriptor` | SSTableWriter.`rename(Descriptor tmpdesc, java.util.Set<Component> components)`

    Constructor parameters in org.apache.cassandra.io.sstable.format with type arguments of type Component
    Constructor and Description
    `SSTableReader(Descriptor desc, java.util.Set<Component> components, CFMetaData metadata, IPartitioner partitioner, long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason)`

Copyright © 2018 The Apache Software Foundation