Enum Class SearchCollection.Type

java.lang.Object
java.lang.Enum<SearchCollection.Type>
io.fluxzero.common.api.search.SearchCollection.Type
All Implemented Interfaces:
Serializable, Comparable<SearchCollection.Type>, Constable
Enclosing class:
SearchCollection

public static enum SearchCollection.Type extends Enum<SearchCollection.Type>
Supported search collection types.
  • Enum Constant Details

    • regular

      public static final SearchCollection.Type regular
      A regular document collection.
    • auditTrail

      public static final SearchCollection.Type auditTrail
      A time-partitioned searchable audit trail.
    • unknown

      public static final SearchCollection.Type unknown
      A collection type that is unknown to this SDK version.
  • Method Details

    • values

      public static SearchCollection.Type[] 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 SearchCollection.Type 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