public enum Cmp extends Enum<Cmp> implements com.thinkaurelius.titan.graphdb.query.keycondition.Relation
Enum Constant and Description |
---|
EQUAL |
GREATER_THAN |
GREATER_THAN_EQUAL |
INTERVAL |
LESS_THAN |
LESS_THAN_EQUAL |
NOT_EQUAL |
Modifier and Type | Method and Description |
---|---|
static Cmp |
convert(com.tinkerpop.blueprints.Query.Compare comp)
Convert Blueprint's comparison operators to Titan's
|
static Cmp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cmp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cmp EQUAL
public static final Cmp NOT_EQUAL
public static final Cmp LESS_THAN
public static final Cmp LESS_THAN_EQUAL
public static final Cmp GREATER_THAN
public static final Cmp GREATER_THAN_EQUAL
public static final Cmp INTERVAL
public static Cmp[] values()
for (Cmp c : Cmp.values()) System.out.println(c);
public static Cmp 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 static final Cmp convert(com.tinkerpop.blueprints.Query.Compare comp)
comp
- Blueprint's comparison operatorCopyright © 2012-2013. All Rights Reserved.