public static enum IndexUtil.ConstraintType extends Enum<IndexUtil.ConstraintType>
Enum Constant and Description |
---|
EQUAL |
GREATER_OR_EQUAL |
GREATER_THAN |
LESS_OR_EQUAL |
LESS_THAN |
NOT_EQUAL |
RANGE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static IndexUtil.ConstraintType |
decode(String operator) |
String |
getOperator()
May be null.
|
static IndexUtil.ConstraintType |
getType(Constraint constraint) |
boolean |
isAscending() |
boolean |
isComparison() |
boolean |
isDescending() |
boolean |
isEquality() |
boolean |
isIndexable() |
boolean |
isIndexableForNode(short nodeType) |
static IndexUtil.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexUtil.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexUtil.ConstraintType EQUAL
public static final IndexUtil.ConstraintType NOT_EQUAL
public static final IndexUtil.ConstraintType GREATER_THAN
public static final IndexUtil.ConstraintType GREATER_OR_EQUAL
public static final IndexUtil.ConstraintType LESS_THAN
public static final IndexUtil.ConstraintType LESS_OR_EQUAL
public static final IndexUtil.ConstraintType RANGE
public static final IndexUtil.ConstraintType UNKNOWN
public static IndexUtil.ConstraintType[] values()
for (IndexUtil.ConstraintType c : IndexUtil.ConstraintType.values()) System.out.println(c);
public static IndexUtil.ConstraintType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isComparison()
public boolean isEquality()
public boolean isAscending()
public boolean isDescending()
public boolean isIndexable()
public String getOperator()
public boolean isIndexableForNode(short nodeType)
public static IndexUtil.ConstraintType decode(String operator)
public static IndexUtil.ConstraintType getType(Constraint constraint)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.