org.springframework.data.solr.core.query
Enum Criteria.OperationKey
java.lang.Object
java.lang.Enum<Criteria.OperationKey>
org.springframework.data.solr.core.query.Criteria.OperationKey
- All Implemented Interfaces:
- Serializable, Comparable<Criteria.OperationKey>
- Enclosing class:
- Criteria
public static enum Criteria.OperationKey
- extends Enum<Criteria.OperationKey>
EQUALS
public static final Criteria.OperationKey EQUALS
CONTAINS
public static final Criteria.OperationKey CONTAINS
STARTS_WITH
public static final Criteria.OperationKey STARTS_WITH
ENDS_WITH
public static final Criteria.OperationKey ENDS_WITH
EXPRESSION
public static final Criteria.OperationKey EXPRESSION
BETWEEN
public static final Criteria.OperationKey BETWEEN
NEAR
public static final Criteria.OperationKey NEAR
WITHIN
public static final Criteria.OperationKey WITHIN
FUZZY
public static final Criteria.OperationKey FUZZY
SLOPPY
public static final Criteria.OperationKey SLOPPY
FUNCTION
public static final Criteria.OperationKey FUNCTION
values
public static Criteria.OperationKey[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Criteria.OperationKey c : Criteria.OperationKey.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Criteria.OperationKey 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
getKey
public String getKey()
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.