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

## Uses of Class
org.apache.cassandra.io.sstable.metadata.MetadataCollector

- Packages that use MetadataCollector
  Package | Description
  --- | ---
  org.apache.cassandra.db |
  org.apache.cassandra.db.compaction |
  org.apache.cassandra.io.compress |
  org.apache.cassandra.io.sstable |
  org.apache.cassandra.io.sstable.format |
  org.apache.cassandra.io.sstable.format.big |
  org.apache.cassandra.io.sstable.metadata |

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

    Methods in org.apache.cassandra.db with parameters of type MetadataCollector
    Modifier and Type | Method and Description
    --- | ---
    `SSTableMultiWriter` | ColumnFamilyStore.`createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, MetadataCollector metadataCollector, SerializationHeader header, LifecycleTransaction txn)`

  - ### Uses of MetadataCollector in org.apache.cassandra.db.compaction

    Methods in org.apache.cassandra.db.compaction with parameters of type MetadataCollector
    Modifier and Type | Method and Description
    --- | ---
    `SSTableMultiWriter` | AbstractCompactionStrategy.`createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, MetadataCollector meta, SerializationHeader header, java.util.Collection<Index> indexes, LifecycleTransaction txn)`
    `SSTableMultiWriter` | CompactionStrategyManager.`createSSTableMultiWriter(Descriptor descriptor, long keyCount, long repairedAt, MetadataCollector collector, SerializationHeader header, java.util.Collection<Index> indexes, LifecycleTransaction txn)`

  - ### Uses of MetadataCollector in org.apache.cassandra.io.compress

    Constructors in org.apache.cassandra.io.compress with parameters of type MetadataCollector
    Constructor and Description
    `CompressedSequentialWriter(java.io.File file, java.lang.String offsetsPath, java.io.File digestFile, SequentialWriterOption option, CompressionParams parameters, MetadataCollector sstableMetadataCollector)` Create CompressedSequentialWriter without digest file.

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

    Methods in org.apache.cassandra.io.sstable with parameters of type MetadataCollector
    Modifier and Type | Method and Description
    --- | ---
    `static SSTableMultiWriter` | SimpleSSTableMultiWriter.`create(Descriptor descriptor, long keyCount, long repairedAt, CFMetaData cfm, MetadataCollector metadataCollector, SerializationHeader header, java.util.Collection<Index> indexes, LifecycleTransaction txn)`

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

    Fields in org.apache.cassandra.io.sstable.format declared as MetadataCollector
    Modifier and Type | Field and Description
    --- | ---
    `protected MetadataCollector` | SSTableWriter.`metadataCollector`

    Methods in org.apache.cassandra.io.sstable.format with parameters of type MetadataCollector
    Modifier and Type | Method and Description
    --- | ---
    `static SSTableWriter` | SSTableWriter.`create(Descriptor descriptor, java.lang.Long keyCount, java.lang.Long repairedAt, CFMetaData metadata, MetadataCollector metadataCollector, SerializationHeader header, java.util.Collection<Index> indexes, LifecycleTransaction txn)`
    `abstract SSTableWriter` | SSTableWriter.Factory.`open(Descriptor descriptor, long keyCount, long repairedAt, CFMetaData metadata, MetadataCollector metadataCollector, SerializationHeader header, java.util.Collection<SSTableFlushObserver> observers, LifecycleTransaction txn)`

    Constructors in org.apache.cassandra.io.sstable.format with parameters of type MetadataCollector
    Constructor and Description
    `SSTableWriter(Descriptor descriptor, long keyCount, long repairedAt, CFMetaData metadata, MetadataCollector metadataCollector, SerializationHeader header, java.util.Collection<SSTableFlushObserver> observers)`

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

    Constructors in org.apache.cassandra.io.sstable.format.big with parameters of type MetadataCollector
    Constructor and Description
    `BigTableWriter(Descriptor descriptor, long keyCount, long repairedAt, CFMetaData metadata, MetadataCollector metadataCollector, SerializationHeader header, java.util.Collection<SSTableFlushObserver> observers, LifecycleTransaction txn)`

  - ### Uses of MetadataCollector in org.apache.cassandra.io.sstable.metadata

    Methods in org.apache.cassandra.io.sstable.metadata that return MetadataCollector
    Modifier and Type | Method and Description
    --- | ---
    `MetadataCollector` | MetadataCollector.`addCellPerPartitionCount(long cellCount)`
    `MetadataCollector` | MetadataCollector.`addCompressionRatio(long compressed, long uncompressed)` Ratio is compressed/uncompressed and it is if you have 1.x then compression isn't helping
    `MetadataCollector` | MetadataCollector.`addKey(java.nio.ByteBuffer key)`
    `MetadataCollector` | MetadataCollector.`addPartitionSizeInBytes(long partitionSize)`
    `MetadataCollector` | MetadataCollector.`commitLogIntervals(IntervalSet<CommitLogPosition> commitLogIntervals)`
    `MetadataCollector` | MetadataCollector.`mergeTombstoneHistogram(StreamingHistogram histogram)`
    `MetadataCollector` | MetadataCollector.`sstableLevel(int sstableLevel)`
    `MetadataCollector` | MetadataCollector.`updateClusteringValues(ClusteringPrefix clustering)`

Copyright © 2018 The Apache Software Foundation