Enum Class FilterOperation

java.lang.Object
java.lang.Enum<FilterOperation>
org.springframework.data.aerospike.query.FilterOperation
All Implemented Interfaces:
Serializable, Comparable<FilterOperation>, Constable

public enum FilterOperation extends Enum<FilterOperation>
  • 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
    Conjunction of two or more Qualifiers using logical AND.
    For use in queries "find by <...> between two given objects".
    For use in queries "find records where Collection <...> contains values between two given objects".
    For use in queries "find by Collection <...> containing a given object".
    For use in queries "find records where Collection <...> contains values greater than a given object".
    For use in queries "find records where Collection <...> contains values greater than a given object or equal to it".
    For use in queries "find records where Collection <...> contains values less than a given object".
    For use in queries "find records where Collection <...> contains values less than a given object or equal to it".
    For use in queries "find by Collection <...> not containing a given object".
    For use in queries "find by <...> containing a given object".
    For use in queries "find by <...> ends with a given String".
    For use in queries "find by <...> equals a given object".
    For use in queries "find by Geo <...> within a given GeoJSON".
    For use in queries "find by <...> greater than a given object".
    For use in queries "find by <...> greater than a given object or equal to it".
    For use in queries "find by <...> in a given Collection".
    For use in queries "find records where <...> is not null (i.e. exists)".
    For use in queries "find records where <...> is null (i.e. does not exist)".
    For use in queries "find by <...> like a given String".
    For use in queries "find by <...> less than a given object".
    For use in queries "find by <...> less than a given object or equal to it".
    For use in queries "find records where keys of Map <...> are between two given objects".
    For use in queries "find records where keys of Map <...> contain a given object".
    For use in queries "find records where keys of Map <...> do not contain a given object".
    For use in queries "find records where values of Map <...> are between two given objects".
    For use in queries "find records where Map key <...> has value between two given objects".
    For use in queries "find records where Map key <...> has value that contains a given object".
    For use in queries "find records where Map key <...> has value that ends with a given String".
    For use in queries "find records where Map key <...> has value equal to a given object".
    For use in queries "find records where Map key <...> has existing value".
    For use in queries "find records where Map key <...> has value greater than a given object".
    For use in queries "find records where Map key <...> has value greater than a given object or equal to it".
    For use in queries "find records where Map key <...> has value equal to one of the objects in a given Collection".
    For use in queries "find records where Map key <...> has value that is not null (i.e. exists)".
    For use in queries "find records where Map key <...> has value that is null (i.e. does not exist)".
    For use in queries "find records where Map key <...> has value that is like a given String".
    For use in queries "find records where Map key <...> has value less than a given object".
    For use in queries "find records where Map key <...> has value less than a given object or equal to it".
    For use in queries "find records where Map key <...> does not have value that contains a given object".
    For use in queries "find records where Map key <...> does not have existing value".
    For use in queries "find records where Map key <...> has value equal to neither of the objects in a given Collection".
    For use in queries "find records where Map key <...> has value not equal to a given object".
    For use in queries "find records where Map key <...> has value that starts with a given String".
    For use in queries "find records where values of Map <...> contain a given object".
    For use in queries "find records where values of Map <...> do not contain a given object".
    For use in queries "find by <...> not containing a given object".
    For use in queries "find by <...> not in a given Collection".
     
    For use in queries "find by <...> not equal to a given object".
    Conjunction of two or more Qualifiers using logical OR.
    For use in queries "find by <...> starts with a given String".
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract com.aerospike.client.exp.Exp
     
    abstract com.aerospike.client.query.Filter
     
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

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

    • AND

      public static final FilterOperation AND
      Conjunction of two or more Qualifiers using logical AND.
    • OR

      public static final FilterOperation OR
      Conjunction of two or more Qualifiers using logical OR.
    • IN

      public static final FilterOperation IN
      For use in queries "find by <...> in a given Collection".
    • NOT_IN

      public static final FilterOperation NOT_IN
      For use in queries "find by <...> not in a given Collection".
    • EQ

      public static final FilterOperation EQ
      For use in queries "find by <...> equals a given object".
    • NOTEQ

      public static final FilterOperation NOTEQ
      For use in queries "find by <...> not equal to a given object".
    • GT

      public static final FilterOperation GT
      For use in queries "find by <...> greater than a given object". Information about ordering.
    • GTEQ

      public static final FilterOperation GTEQ
      For use in queries "find by <...> greater than a given object or equal to it". Information about ordering.
    • LT

      public static final FilterOperation LT
      For use in queries "find by <...> less than a given object". Information about ordering.
    • LTEQ

      public static final FilterOperation LTEQ
      For use in queries "find by <...> less than a given object or equal to it". Information about ordering.
    • BETWEEN

      public static final FilterOperation BETWEEN
      For use in queries "find by <...> between two given objects". Information about ordering.
    • STARTS_WITH

      public static final FilterOperation STARTS_WITH
      For use in queries "find by <...> starts with a given String".
    • ENDS_WITH

      public static final FilterOperation ENDS_WITH
      For use in queries "find by <...> ends with a given String".
    • CONTAINING

      public static final FilterOperation CONTAINING
      For use in queries "find by <...> containing a given object".
    • NOT_CONTAINING

      public static final FilterOperation NOT_CONTAINING
      For use in queries "find by <...> not containing a given object".
    • LIKE

      public static final FilterOperation LIKE
      For use in queries "find by <...> like a given String".
    • MAP_VAL_EQ_BY_KEY

      public static final FilterOperation MAP_VAL_EQ_BY_KEY
      For use in queries "find records where Map key <...> has value equal to a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_NOTEQ_BY_KEY

      public static final FilterOperation MAP_VAL_NOTEQ_BY_KEY
      For use in queries "find records where Map key <...> has value not equal to a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_IN_BY_KEY

      public static final FilterOperation MAP_VAL_IN_BY_KEY
      For use in queries "find records where Map key <...> has value equal to one of the objects in a given Collection".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_NOT_IN_BY_KEY

      public static final FilterOperation MAP_VAL_NOT_IN_BY_KEY
      For use in queries "find records where Map key <...> has value equal to neither of the objects in a given Collection".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_GT_BY_KEY

      public static final FilterOperation MAP_VAL_GT_BY_KEY
      For use in queries "find records where Map key <...> has value greater than a given object". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_GTEQ_BY_KEY

      public static final FilterOperation MAP_VAL_GTEQ_BY_KEY
      For use in queries "find records where Map key <...> has value greater than a given object or equal to it". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_LT_BY_KEY

      public static final FilterOperation MAP_VAL_LT_BY_KEY
      For use in queries "find records where Map key <...> has value less than a given object". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_LTEQ_BY_KEY

      public static final FilterOperation MAP_VAL_LTEQ_BY_KEY
      For use in queries "find records where Map key <...> has value less than a given object or equal to it". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_BETWEEN_BY_KEY

      public static final FilterOperation MAP_VAL_BETWEEN_BY_KEY
      For use in queries "find records where Map key <...> has value between two given objects". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_STARTS_WITH_BY_KEY

      public static final FilterOperation MAP_VAL_STARTS_WITH_BY_KEY
      For use in queries "find records where Map key <...> has value that starts with a given String".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_LIKE_BY_KEY

      public static final FilterOperation MAP_VAL_LIKE_BY_KEY
      For use in queries "find records where Map key <...> has value that is like a given String".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_ENDS_WITH_BY_KEY

      public static final FilterOperation MAP_VAL_ENDS_WITH_BY_KEY
      For use in queries "find records where Map key <...> has value that ends with a given String".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_CONTAINING_BY_KEY

      public static final FilterOperation MAP_VAL_CONTAINING_BY_KEY
      For use in queries "find records where Map key <...> has value that contains a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_NOT_CONTAINING_BY_KEY

      public static final FilterOperation MAP_VAL_NOT_CONTAINING_BY_KEY
      For use in queries "find records where Map key <...> does not have value that contains a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_EXISTS_BY_KEY

      public static final FilterOperation MAP_VAL_EXISTS_BY_KEY
      For use in queries "find records where Map key <...> has existing value".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_NOT_EXISTS_BY_KEY

      public static final FilterOperation MAP_VAL_NOT_EXISTS_BY_KEY
      For use in queries "find records where Map key <...> does not have existing value".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_IS_NOT_NULL_BY_KEY

      public static final FilterOperation MAP_VAL_IS_NOT_NULL_BY_KEY
      For use in queries "find records where Map key <...> has value that is not null (i.e. exists)".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_IS_NULL_BY_KEY

      public static final FilterOperation MAP_VAL_IS_NULL_BY_KEY
      For use in queries "find records where Map key <...> has value that is null (i.e. does not exist)".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_KEYS_CONTAIN

      public static final FilterOperation MAP_KEYS_CONTAIN
      For use in queries "find records where keys of Map <...> contain a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_KEYS_NOT_CONTAIN

      public static final FilterOperation MAP_KEYS_NOT_CONTAIN
      For use in queries "find records where keys of Map <...> do not contain a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VALUES_CONTAIN

      public static final FilterOperation MAP_VALUES_CONTAIN
      For use in queries "find records where values of Map <...> contain a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VALUES_NOT_CONTAIN

      public static final FilterOperation MAP_VALUES_NOT_CONTAIN
      For use in queries "find records where values of Map <...> do not contain a given object".
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_KEYS_BETWEEN

      public static final FilterOperation MAP_KEYS_BETWEEN
      For use in queries "find records where keys of Map <...> are between two given objects". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • MAP_VAL_BETWEEN

      public static final FilterOperation MAP_VAL_BETWEEN
      For use in queries "find records where values of Map <...> are between two given objects". Information about ordering.
      Map can be a whole bin or a part of it (nested inside one or more Lists or other Maps).
      Maps in Aerospike DB represent not only Java Maps, but also POJOs.
    • GEO_WITHIN

      public static final FilterOperation GEO_WITHIN
      For use in queries "find by Geo <...> within a given GeoJSON".
    • COLLECTION_VAL_CONTAINING

      public static final FilterOperation COLLECTION_VAL_CONTAINING
      For use in queries "find by Collection <...> containing a given object". The Collection can be a whole bin or part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_NOT_CONTAINING

      public static final FilterOperation COLLECTION_VAL_NOT_CONTAINING
      For use in queries "find by Collection <...> not containing a given object". The Collection can be a whole bin or part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_GT

      public static final FilterOperation COLLECTION_VAL_GT
      For use in queries "find records where Collection <...> contains values greater than a given object". Information about ordering.
      The Collection can be a whole bin or a part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_GTEQ

      public static final FilterOperation COLLECTION_VAL_GTEQ
      For use in queries "find records where Collection <...> contains values greater than a given object or equal to it". Information about ordering.
      The Collection can be a whole bin or a part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_LT

      public static final FilterOperation COLLECTION_VAL_LT
      For use in queries "find records where Collection <...> contains values less than a given object". Information about ordering.
      The Collection can be a whole bin or a part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_LTEQ

      public static final FilterOperation COLLECTION_VAL_LTEQ
      For use in queries "find records where Collection <...> contains values less than a given object or equal to it". Information about ordering.
      The Collection can be a whole bin or a part of it (nested inside one or more Lists or Maps).
    • COLLECTION_VAL_BETWEEN

      public static final FilterOperation COLLECTION_VAL_BETWEEN
      For use in queries "find records where Collection <...> contains values between two given objects". Information about ordering.
      The Collection can be a whole bin or a part of it (nested inside one or more Lists or Maps).
    • IS_NOT_NULL

      public static final FilterOperation IS_NOT_NULL
      For use in queries "find records where <...> is not null (i.e. exists)".
    • IS_NULL

      public static final FilterOperation IS_NULL
      For use in queries "find records where <...> is null (i.e. does not exist)".
    • NOT_NULL

      public static final FilterOperation NOT_NULL
  • Method Details

    • values

      public static FilterOperation[] 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 FilterOperation 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
    • filterExp

      public abstract com.aerospike.client.exp.Exp filterExp(Map<QualifierKey,Object> qualifierMap)
    • sIndexFilter

      public abstract com.aerospike.client.query.Filter sIndexFilter(Map<QualifierKey,Object> qualifierMap)