Enum KeyType

java.lang.Object
java.lang.Enum<KeyType>
org.apache.storm.metricstore.rocksdb.KeyType
All Implemented Interfaces:
Serializable, Comparable<KeyType>, java.lang.constant.Constable

public enum KeyType extends Enum<KeyType>
Specifies all the valid types of keys and their values.
  • Enum Constant Details

    • TOPOLOGY_BLOB

      public static final KeyType TOPOLOGY_BLOB
    • METADATA_STRING_START

      public static final KeyType METADATA_STRING_START
    • TOPOLOGY_STRING

      public static final KeyType TOPOLOGY_STRING
    • METRIC_STRING

      public static final KeyType METRIC_STRING
    • COMPONENT_STRING

      public static final KeyType COMPONENT_STRING
    • EXEC_ID_STRING

      public static final KeyType EXEC_ID_STRING
    • HOST_STRING

      public static final KeyType HOST_STRING
    • STREAM_ID_STRING

      public static final KeyType STREAM_ID_STRING
    • METADATA_STRING_END

      public static final KeyType METADATA_STRING_END
    • METRIC_DATA

      public static final KeyType METRIC_DATA
  • Method Details

    • values

      public static KeyType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static KeyType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null