public class QuerySpecification extends QueryBody
| Constructor and Description |
|---|
QuerySpecification(NodeLocation location,
Select select,
Optional<Relation> from,
Optional<Expression> where,
Optional<GroupBy> groupBy,
Optional<Expression> having,
Optional<OrderBy> orderBy,
Optional<Offset> offset,
Optional<String> limit) |
QuerySpecification(Select select,
Optional<Relation> from,
Optional<Expression> where,
Optional<GroupBy> groupBy,
Optional<Expression> having,
Optional<OrderBy> orderBy,
Optional<Offset> offset,
Optional<String> limit) |
| Modifier and Type | Method and Description |
|---|---|
<R,C> R |
accept(AstVisitor<R,C> visitor,
C context)
Accessible for
AstVisitor, use AstVisitor.process(Node, Object) instead. |
boolean |
equals(Object obj) |
List<Node> |
getChildren() |
Optional<Relation> |
getFrom() |
Optional<GroupBy> |
getGroupBy() |
Optional<Expression> |
getHaving() |
Optional<String> |
getLimit() |
Optional<Offset> |
getOffset() |
Optional<OrderBy> |
getOrderBy() |
Select |
getSelect() |
Optional<Expression> |
getWhere() |
int |
hashCode() |
String |
toString() |
getLocationpublic QuerySpecification(Select select, Optional<Relation> from, Optional<Expression> where, Optional<GroupBy> groupBy, Optional<Expression> having, Optional<OrderBy> orderBy, Optional<Offset> offset, Optional<String> limit)
public Select getSelect()
public Optional<Expression> getWhere()
public Optional<Expression> getHaving()
public <R,C> R accept(AstVisitor<R,C> visitor, C context)
NodeAstVisitor, use AstVisitor.process(Node, Object) instead.public List<Node> getChildren()
getChildren in class NodeCopyright © 2012–2023. All rights reserved.