Enum PhoneticEncoder

java.lang.Object
java.lang.Enum<PhoneticEncoder>
com.azure.search.documents.indexes.models.PhoneticEncoder
All Implemented Interfaces:
Serializable, Comparable<PhoneticEncoder>, java.lang.constant.Constable

public enum PhoneticEncoder extends Enum<PhoneticEncoder>
Defines values for PhoneticEncoder.
  • Enum Constant Details

    • METAPHONE

      public static final PhoneticEncoder METAPHONE
      Enum value metaphone.
    • DOUBLE_METAPHONE

      public static final PhoneticEncoder DOUBLE_METAPHONE
      Enum value doubleMetaphone.
    • SOUNDEX

      public static final PhoneticEncoder SOUNDEX
      Enum value soundex.
    • REFINED_SOUNDEX

      public static final PhoneticEncoder REFINED_SOUNDEX
      Enum value refinedSoundex.
    • CAVERPHONE1

      public static final PhoneticEncoder CAVERPHONE1
      Enum value caverphone1.
    • CAVERPHONE2

      public static final PhoneticEncoder CAVERPHONE2
      Enum value caverphone2.
    • COLOGNE

      public static final PhoneticEncoder COLOGNE
      Enum value cologne.
    • NYSIIS

      public static final PhoneticEncoder NYSIIS
      Enum value nysiis.
    • KOELNER_PHONETIK

      public static final PhoneticEncoder KOELNER_PHONETIK
      Enum value koelnerPhonetik.
    • HAASE_PHONETIK

      public static final PhoneticEncoder HAASE_PHONETIK
      Enum value haasePhonetik.
    • BEIDER_MORSE

      public static final PhoneticEncoder BEIDER_MORSE
      Enum value beiderMorse.
  • Method Details

    • values

      public static PhoneticEncoder[] 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 PhoneticEncoder 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
    • fromString

      public static PhoneticEncoder fromString(String value)
      Parses a serialized value to a PhoneticEncoder instance.
      Parameters:
      value - the serialized value to parse.
      Returns:
      the parsed PhoneticEncoder object, or null if unable to parse.
    • toString

      public String toString()
      Overrides:
      toString in class Enum<PhoneticEncoder>