Enum Class PreviewKind

java.lang.Object
java.lang.Enum<PreviewKind>
org.apache.cassandra.streaming.PreviewKind
All Implemented Interfaces:
Serializable, Comparable<PreviewKind>, Constable

public enum PreviewKind extends Enum<PreviewKind>
  • Enum Constant Details

  • Method Details

    • values

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

      public static PreviewKind valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSerializationVal

      public int getSerializationVal()
    • deserialize

      public static PreviewKind deserialize(int serializationVal)
    • isPreview

      public boolean isPreview()
    • logPrefix

      public String logPrefix()
    • logPrefix

      public String logPrefix(TimeUUID sessionId)
    • predicate

      public com.google.common.base.Predicate<SSTableReader> predicate()