Enum Comparisons.Type
- java.lang.Object
-
- java.lang.Enum<Comparisons.Type>
-
- com.apple.foundationdb.record.query.expressions.Comparisons.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Comparisons.Type>
- Enclosing class:
- Comparisons
public static enum Comparisons.Type extends Enum<Comparisons.Type>
The type for aComparisons.Comparison
predicate.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEquality()
boolean
isUnary()
static Comparisons.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Comparisons.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final Comparisons.Type EQUALS
-
NOT_EQUALS
public static final Comparisons.Type NOT_EQUALS
-
LESS_THAN
public static final Comparisons.Type LESS_THAN
-
LESS_THAN_OR_EQUALS
public static final Comparisons.Type LESS_THAN_OR_EQUALS
-
GREATER_THAN
public static final Comparisons.Type GREATER_THAN
-
GREATER_THAN_OR_EQUALS
public static final Comparisons.Type GREATER_THAN_OR_EQUALS
-
STARTS_WITH
public static final Comparisons.Type STARTS_WITH
-
NOT_NULL
public static final Comparisons.Type NOT_NULL
-
IS_NULL
public static final Comparisons.Type IS_NULL
-
IN
public static final Comparisons.Type IN
-
TEXT_CONTAINS_ALL
public static final Comparisons.Type TEXT_CONTAINS_ALL
-
TEXT_CONTAINS_ALL_WITHIN
public static final Comparisons.Type TEXT_CONTAINS_ALL_WITHIN
-
TEXT_CONTAINS_ANY
public static final Comparisons.Type TEXT_CONTAINS_ANY
-
TEXT_CONTAINS_PHRASE
public static final Comparisons.Type TEXT_CONTAINS_PHRASE
-
TEXT_CONTAINS_PREFIX
public static final Comparisons.Type TEXT_CONTAINS_PREFIX
-
TEXT_CONTAINS_ALL_PREFIXES
public static final Comparisons.Type TEXT_CONTAINS_ALL_PREFIXES
-
TEXT_CONTAINS_ANY_PREFIX
public static final Comparisons.Type TEXT_CONTAINS_ANY_PREFIX
-
SORT
@API(EXPERIMENTAL) public static final Comparisons.Type SORT
-
-
Method Detail
-
values
public static Comparisons.Type[] 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 (Comparisons.Type c : Comparisons.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Comparisons.Type 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 nameNullPointerException
- if the argument is null
-
isEquality
public boolean isEquality()
-
isUnary
public boolean isUnary()
-
-