public enum Text extends Enum<Text> implements com.thinkaurelius.titan.graphdb.query.keycondition.Relation
Enum Constant and Description |
---|
CONTAINS
Whether the text contains a given term
|
PREFIX
Whether the text starts with a given term
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValidDataType(Class<?> clazz) |
static Text |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Text[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Text CONTAINS
public static final Text PREFIX
public static Text[] values()
for (Text c : Text.values()) System.out.println(c);
public static Text 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 isValidDataType(Class<?> clazz)
isValidDataType
in interface com.thinkaurelius.titan.graphdb.query.keycondition.Relation
Copyright © 2012-2013. All Rights Reserved.