Class CollationAnalyzerProperties

java.lang.Object
com.arangodb.entity.arangosearch.analyzer.CollationAnalyzerProperties

public final class CollationAnalyzerProperties extends Object
Since:
ArangoDB 3.9
Author:
Michele Rastelli
  • Constructor Details

    • CollationAnalyzerProperties

      public CollationAnalyzerProperties()
  • Method Details

    • getLocale

      public String getLocale()
      Returns:
      a locale in the format `language[_COUNTRY][.encoding][@variant]` (square brackets denote optional parts), e.g. `de.utf-8` or `en_US.utf-8`. Only UTF-8 encoding is meaningful in ArangoDB. The locale is forwarded to ICU without checks. An invalid locale does not prevent the creation of the Analyzer.
      See Also:
    • setLocale

      public void setLocale(String locale)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object