Package hydra.pg.query
Class Query
- java.lang.Object
-
- hydra.pg.query.Query
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Query>
- Direct Known Subclasses:
Query.Aggregate,Query.Application,Query.LetQuery,Query.Match,Query.Select,Query.Value
public abstract class Query extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<Query>
A property graph query- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuery.Aggregatestatic classQuery.Applicationstatic classQuery.LetQuerystatic classQuery.Matchstatic interfaceQuery.PartialVisitor<R>Partial visitor overQuerywith a defaultQuery.PartialVisitor.otherwise(hydra.pg.query.Query)branch.static classQuery.Selectstatic classQuery.Valuestatic interfaceQuery.Visitor<R>Visitor overQuery.
-
Field Summary
Fields Modifier and Type Field Description static NameAGGREGATEName of thehydra.pg.query.Query.aggregatefield.static NameAPPLICATIONName of thehydra.pg.query.Query.applicationfield.static NameLET_QUERYName of thehydra.pg.query.Query.LetQueryfield.static NameMATCHName of thehydra.pg.query.Query.matchfield.static NameSELECTName of thehydra.pg.query.Query.selectfield.static NameTYPE_Name of thehydra.pg.query.Querytype.static NameVALUEName of thehydra.pg.query.Query.valuefield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(Query.Visitor<R> visitor)Dispatch tovisitor.abstract inthydraOrdinal()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.pg.query.Querytype.
-
APPLICATION
public static final Name APPLICATION
Name of thehydra.pg.query.Query.applicationfield.
-
AGGREGATE
public static final Name AGGREGATE
Name of thehydra.pg.query.Query.aggregatefield.
-
LET_QUERY
public static final Name LET_QUERY
Name of thehydra.pg.query.Query.LetQueryfield.
-
MATCH
public static final Name MATCH
Name of thehydra.pg.query.Query.matchfield.
-
SELECT
public static final Name SELECT
Name of thehydra.pg.query.Query.selectfield.
-
VALUE
public static final Name VALUE
Name of thehydra.pg.query.Query.valuefield.
-
-
Method Detail
-
accept
public abstract <R> R accept(Query.Visitor<R> visitor)
Dispatch tovisitor.
-
hydraOrdinal
public abstract int hydraOrdinal()
-
-