MetadataComponent (apache-cassandra API)
Date: 2014-10-21

org.apache.cassandra.io.sstable.metadata

## Class MetadataComponent

- java.lang.Object
- - org.apache.cassandra.io.sstable.metadata.MetadataComponent

- All Implemented Interfaces:
    java.lang.Comparable<MetadataComponent>
  Direct Known Subclasses:
    CompactionMetadata, StatsMetadata, ValidationMetadata

      public abstract class MetadataComponent
      extends java.lang.Object
      implements java.lang.Comparable<MetadataComponent>

  MetadataComponent is a component for SSTable metadata and serialized to Stats.db.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MetadataComponent()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compareTo(MetadataComponent o)`
    `abstract MetadataType` | `getType()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MetadataComponent

          public MetadataComponent()

  - ### Method Detail

    - #### getType

          public abstract MetadataType getType()

      Returns:
        Metadata component type

    - #### compareTo

          public int compareTo(MetadataComponent o)

      Specified by:
        `compareTo` in interface `java.lang.Comparable<MetadataComponent>`

Copyright © 2014 The Apache Software Foundation