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

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

- Packages that use Component
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.index.sasi.conf |
  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.index.sasi.conf

    Methods in org.apache.cassandra.index.sasi.conf that return Component
    Modifier and Type | Method and Description
    --- | ---
    `Component` | ColumnIndex.`getComponent()`

  - ### 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_ADLER32`
    `static Component` | Component.`DIGEST_CRC32`
    `static Component` | Component.`DIGEST_SHA1`
    `Component` | Descriptor.`digestComponent` digest component - might be `null` for old, legacy sstables
    `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 Component
    Modifier and Type | Method and Description
    --- | ---
    `static Component` | Component.`digestFor(ChecksumType checksumType)`

    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)`
    `java.lang.String` | Descriptor.`tmpFilenameFor(Component component)`
    `Descriptor` | Descriptor.`withDigestComponent(Component newDigestComponent)`

    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.

    Constructors in org.apache.cassandra.io.sstable with parameters of type Component
    Constructor and Description
    `Descriptor(Version version, java.io.File directory, java.lang.String ksname, java.lang.String cfname, int generation, SSTableFormat.Type formatType, Component digestComponent)`

    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, DiskOptimizationStrategy optimizationStrategy)`

  - ### 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, FileHandle ifile, FileHandle dfile, IndexSummary isummary, IFilter bf, long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason, SerializationHeader header)` Open a RowIndexedReader which already has its state initialized (by SSTableWriter).
    `static SSTableReader` | SSTableReader.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata)`
    `static SSTableReader` | SSTableReader.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, boolean validate, boolean trackHotness)`
    `abstract SSTableReader` | SSTableReader.Factory.`open(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata, java.lang.Long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason, SerializationHeader header)`
    `static java.util.Collection<SSTableReader>` | SSTableReader.`openAll(java.util.Set<java.util.Map.Entry<Descriptor,java.util.Set<Component>>> entries, CFMetaData metadata)`
    `static SSTableReader` | SSTableReader.`openForBatch(Descriptor descriptor, java.util.Set<Component> components, CFMetaData metadata)` 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)`

    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, long maxDataAge, StatsMetadata sstableMetadata, SSTableReader.OpenReason openReason, SerializationHeader header)`

Copyright © 2018 The Apache Software Foundation