public class QueryTree
extends java.lang.Object
Constructor and Description |
---|
QueryTree(DomainModel model,
java.lang.String query) |
QueryTree(DomainModel model,
java.lang.String query,
boolean failOnErrors) |
Modifier and Type | Method and Description |
---|---|
org.antlr.runtime.tree.CommonTree |
getAstFromNode() |
org.antlr.runtime.tree.Tree |
getAstGroupByNode() |
java.util.stream.Stream<IdentificationVariableNode> |
getAstIdentificationVariableNodes() |
java.util.stream.Stream<JoinVariableNode> |
getAstJoinVariableNodes() |
SelectedItemsNode |
getAstSelectedItemsNode() |
java.util.stream.Stream<PathNode> |
getAstSelectedPathNodes() |
org.antlr.runtime.tree.CommonTree |
getAstTree() |
WhereNode |
getAstWhereNode() |
java.util.List<ErrorRec> |
getInvalidIdVarNodes() |
DomainModel |
getModel() |
java.lang.String |
getQueryString() |
QueryVariableContext |
getQueryVariableContext() |
java.lang.String |
getVariableNameByEntity(java.lang.String entityType) |
<T extends org.antlr.runtime.tree.TreeVisitorAction> |
visit(T visitor) |
public QueryTree(DomainModel model, java.lang.String query)
public QueryTree(DomainModel model, java.lang.String query, boolean failOnErrors)
public DomainModel getModel()
public java.lang.String getQueryString()
public QueryVariableContext getQueryVariableContext()
public java.util.List<ErrorRec> getInvalidIdVarNodes()
public org.antlr.runtime.tree.CommonTree getAstTree()
public java.lang.String getVariableNameByEntity(java.lang.String entityType)
public org.antlr.runtime.tree.CommonTree getAstFromNode()
public java.util.stream.Stream<IdentificationVariableNode> getAstIdentificationVariableNodes()
public java.util.stream.Stream<JoinVariableNode> getAstJoinVariableNodes()
public SelectedItemsNode getAstSelectedItemsNode()
public java.util.stream.Stream<PathNode> getAstSelectedPathNodes()
public WhereNode getAstWhereNode()
public org.antlr.runtime.tree.Tree getAstGroupByNode()
public <T extends org.antlr.runtime.tree.TreeVisitorAction> T visit(T visitor)