public enum RelationCategory extends Enum<RelationCategory> implements Condition<TitanRelation>
Condition.Type
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(TitanRelation relation) |
Iterable<TitanRelation> |
executeQuery(TitanVertexQuery query) |
Iterable |
getChildren() |
Condition.Type |
getType() |
boolean |
hasChildren() |
boolean |
isProper() |
int |
numChildren() |
static RelationCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final RelationCategory EDGE
public static final RelationCategory PROPERTY
public static final RelationCategory RELATION
public static RelationCategory[] values()
for (RelationCategory c : RelationCategory.values()) System.out.println(c);
public static RelationCategory 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 isProper()
public Iterable<TitanRelation> executeQuery(TitanVertexQuery query)
public Condition.Type getType()
getType
in interface Condition<TitanRelation>
public Iterable getChildren()
getChildren
in interface Condition<TitanRelation>
public boolean hasChildren()
hasChildren
in interface Condition<TitanRelation>
public int numChildren()
numChildren
in interface Condition<TitanRelation>
public boolean evaluate(TitanRelation relation)
evaluate
in interface Condition<TitanRelation>
Copyright © 2012–2015. All rights reserved.