Enum Class QueryClause

java.lang.Object
java.lang.Enum<QueryClause>
com.redis.om.spring.repository.query.clause.QueryClause
All Implemented Interfaces:
Serializable, Comparable<QueryClause>, Constable

public enum QueryClause extends Enum<QueryClause>
  • Enum Constant Details

    • TEXT_ALL

      public static final QueryClause TEXT_ALL
    • TEXT_SIMPLE_PROPERTY

      public static final QueryClause TEXT_SIMPLE_PROPERTY
    • TEXT_NEGATING_SIMPLE_PROPERTY

      public static final QueryClause TEXT_NEGATING_SIMPLE_PROPERTY
    • TEXT_STARTING_WITH

      public static final QueryClause TEXT_STARTING_WITH
    • TEXT_ENDING_WITH

      public static final QueryClause TEXT_ENDING_WITH
    • TEXT_LIKE

      public static final QueryClause TEXT_LIKE
    • TEXT_NOT_LIKE

      public static final QueryClause TEXT_NOT_LIKE
    • TEXT_CONTAINING

      public static final QueryClause TEXT_CONTAINING
    • TEXT_NOT_CONTAINING

      public static final QueryClause TEXT_NOT_CONTAINING
    • TEXT_NOT_IN

      public static final QueryClause TEXT_NOT_IN
    • TEXT_IN

      public static final QueryClause TEXT_IN
    • NUMERIC_SIMPLE_PROPERTY

      public static final QueryClause NUMERIC_SIMPLE_PROPERTY
    • NUMERIC_NEGATING_SIMPLE_PROPERTY

      public static final QueryClause NUMERIC_NEGATING_SIMPLE_PROPERTY
    • NUMERIC_BETWEEN

      public static final QueryClause NUMERIC_BETWEEN
    • NUMERIC_LESS_THAN

      public static final QueryClause NUMERIC_LESS_THAN
    • NUMERIC_LESS_THAN_EQUAL

      public static final QueryClause NUMERIC_LESS_THAN_EQUAL
    • NUMERIC_GREATER_THAN

      public static final QueryClause NUMERIC_GREATER_THAN
    • NUMERIC_GREATER_THAN_EQUAL

      public static final QueryClause NUMERIC_GREATER_THAN_EQUAL
    • NUMERIC_BEFORE

      public static final QueryClause NUMERIC_BEFORE
    • NUMERIC_AFTER

      public static final QueryClause NUMERIC_AFTER
    • NUMERIC_CONTAINING

      public static final QueryClause NUMERIC_CONTAINING
    • NUMERIC_CONTAINING_ALL

      public static final QueryClause NUMERIC_CONTAINING_ALL
    • GEO_NEAR

      public static final QueryClause GEO_NEAR
    • GEO_CONTAINING

      public static final QueryClause GEO_CONTAINING
    • GEO_CONTAINING_ALL

      public static final QueryClause GEO_CONTAINING_ALL
    • TAG_SIMPLE_PROPERTY

      public static final QueryClause TAG_SIMPLE_PROPERTY
    • TAG_NOT_IN

      public static final QueryClause TAG_NOT_IN
    • TAG_IN

      public static final QueryClause TAG_IN
    • TAG_CONTAINING

      public static final QueryClause TAG_CONTAINING
    • TAG_CONTAINING_ALL

      public static final QueryClause TAG_CONTAINING_ALL
    • TAG_STARTING_WITH

      public static final QueryClause TAG_STARTING_WITH
    • TAG_ENDING_WITH

      public static final QueryClause TAG_ENDING_WITH
  • Field Details

    • methodNameMap

      public static final Map<String,String> methodNameMap
    • CONTAINING_ALL_PATTERN

      public static final Pattern CONTAINING_ALL_PATTERN
  • Method Details

    • values

      public static QueryClause[] 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 QueryClause 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
    • getClauseTemplate

      public QueryClauseTemplate getClauseTemplate()
    • prepareQuery

      public String prepareQuery(String field, Object... params)
    • get

      public static QueryClause get(redis.clients.jedis.search.Schema.FieldType fieldType, org.springframework.data.repository.query.parser.Part.Type partType)
    • hasContainingAllClause

      public static boolean hasContainingAllClause(String methodName)
    • getPostProcessMethodName

      public static String getPostProcessMethodName(String methodName)