Enum Class ElasticSearchFilterType

java.lang.Object
java.lang.Enum<ElasticSearchFilterType>
io.meeds.notes.legacy.search.es.ElasticSearchFilterType
All Implemented Interfaces:
Serializable, Comparable<ElasticSearchFilterType>, Constable

@Deprecated(forRemoval=true, since="6.0.0") public enum ElasticSearchFilterType extends Enum<ElasticSearchFilterType>
Deprecated, for removal: This API element is subject to removal in a future version.
Copied from commons-search to this module. Should be reworked to be more simple.
Filter type that can be added by search connectors in ES queries (seeElasticSearchServiceConnector#getAdditionalFilters(java.util.List)). Type FILTER_CUSTOM allows to define any type of filter by providing the full content of the filter.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FILTER_BY_TERM

      public static final ElasticSearchFilterType FILTER_BY_TERM
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FILTER_EXIST

      public static final ElasticSearchFilterType FILTER_EXIST
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FILTER_NOT_EXIST

      public static final ElasticSearchFilterType FILTER_NOT_EXIST
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FILTER_CUSTOM

      public static final ElasticSearchFilterType FILTER_CUSTOM
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FILTER_MY_WORK_DOCS

      public static final ElasticSearchFilterType FILTER_MY_WORK_DOCS
      Deprecated, for removal: This API element is subject to removal in a future version.
    • FILTER_MATADATAS

      public static final ElasticSearchFilterType FILTER_MATADATAS
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • values

      public static ElasticSearchFilterType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 ElasticSearchFilterType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Enum<ElasticSearchFilterType>