Package openGql.grammar
Class Predicate
- java.lang.Object
-
- openGql.grammar.Predicate
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Predicate>
- Direct Known Subclasses:
Predicate.AllDifferentPredicate,Predicate.DirectedPredicate,Predicate.ExistsPredicate,Predicate.LabeledPredicate,Predicate.NullPredicate,Predicate.PropertyExistsPredicate,Predicate.SamePredicate,Predicate.SourceDestinationPredicate,Predicate.ValueTypePredicate
public abstract class Predicate extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Predicate>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPredicate.AllDifferentPredicatestatic classPredicate.DirectedPredicatestatic classPredicate.ExistsPredicatestatic classPredicate.LabeledPredicatestatic classPredicate.NullPredicatestatic interfacePredicate.PartialVisitor<R>Partial visitor overPredicatewith a defaultPredicate.PartialVisitor.otherwise(openGql.grammar.Predicate)branch.static classPredicate.PropertyExistsPredicatestatic classPredicate.SamePredicatestatic classPredicate.SourceDestinationPredicatestatic classPredicate.ValueTypePredicatestatic interfacePredicate.Visitor<R>Visitor overPredicate.
-
Field Summary
Fields Modifier and Type Field Description static NameALL_DIFFERENT_PREDICATEName of theopenGql.grammar.Predicate.allDifferentPredicatefield.static NameDIRECTED_PREDICATEName of theopenGql.grammar.Predicate.directedPredicatefield.static NameEXISTS_PREDICATEName of theopenGql.grammar.Predicate.existsPredicatefield.static NameLABELED_PREDICATEName of theopenGql.grammar.Predicate.labeledPredicatefield.static NameNULL_PREDICATEName of theopenGql.grammar.Predicate.nullPredicatefield.static NamePROPERTY_EXISTS_PREDICATEName of theopenGql.grammar.Predicate.propertyExistsPredicatefield.static NameSAME_PREDICATEName of theopenGql.grammar.Predicate.samePredicatefield.static NameSOURCE_DESTINATION_PREDICATEName of theopenGql.grammar.Predicate.sourceDestinationPredicatefield.static NameTYPE_Name of theopenGql.grammar.Predicatetype.static NameVALUE_TYPE_PREDICATEName of theopenGql.grammar.Predicate.valueTypePredicatefield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(Predicate.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.Predicatetype.
-
EXISTS_PREDICATE
public static final Name EXISTS_PREDICATE
Name of theopenGql.grammar.Predicate.existsPredicatefield.
-
NULL_PREDICATE
public static final Name NULL_PREDICATE
Name of theopenGql.grammar.Predicate.nullPredicatefield.
-
VALUE_TYPE_PREDICATE
public static final Name VALUE_TYPE_PREDICATE
Name of theopenGql.grammar.Predicate.valueTypePredicatefield.
-
DIRECTED_PREDICATE
public static final Name DIRECTED_PREDICATE
Name of theopenGql.grammar.Predicate.directedPredicatefield.
-
LABELED_PREDICATE
public static final Name LABELED_PREDICATE
Name of theopenGql.grammar.Predicate.labeledPredicatefield.
-
SOURCE_DESTINATION_PREDICATE
public static final Name SOURCE_DESTINATION_PREDICATE
Name of theopenGql.grammar.Predicate.sourceDestinationPredicatefield.
-
ALL_DIFFERENT_PREDICATE
public static final Name ALL_DIFFERENT_PREDICATE
Name of theopenGql.grammar.Predicate.allDifferentPredicatefield.
-
SAME_PREDICATE
public static final Name SAME_PREDICATE
Name of theopenGql.grammar.Predicate.samePredicatefield.
-
PROPERTY_EXISTS_PREDICATE
public static final Name PROPERTY_EXISTS_PREDICATE
Name of theopenGql.grammar.Predicate.propertyExistsPredicatefield.
-
-
Method Detail
-
accept
public abstract <R> R accept(Predicate.Visitor<R> visitor)
Dispatch tovisitor.
-
-