Class ASTSelect
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.ast.SimpleNode
org.eclipse.rdf4j.query.parser.sparql.ast.ASTSelect
- All Implemented Interfaces:
Node
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanjjtAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.voidsetDistinct(boolean distinct) voidsetReduced(boolean reduced) voidsetWildcard(boolean wildcard) toString()Methods inherited from class SimpleNode
childrenAccept, dump, getId, isScopeChange, jjtAddChild, jjtAppendChild, jjtClose, jjtGetChild, jjtGetChild, jjtGetChildren, jjtGetChildren, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtReplaceChild, jjtReplaceWith, jjtSetParent, jjtSetValue, setScopeChange, toStringModifier and TypeMethodDescriptionchildrenAccept(SyntaxTreeBuilderVisitor visitor, Object data) Accept the visitor.voidintgetId()booleanCheck if this AST node constitutes a variable scope change.voidjjtAddChild(Node n, int i) This method tells the node to add its argument to the node's list of children.voidAdds the supplied node as the last child node to this node.voidjjtClose()This method is called after all the child nodes have been added.jjtGetChild(int i) This method returns a child node.<T extends Node>
TjjtGetChild(Class<T> type) Gets the (first) child of this node that is of the specific type.Node[]jjtGetChildren(Class<T> type) intReturn the number of children the node has.voidjjtOpen()This method is called after the node has been made the current node.voidjjtReplaceChild(Node oldNode, Node newNode) Replaces a child node with a new node.voidjjtReplaceWith(Node newNode) voidjjtSetParent(Node n) This pair of methods are used to inform the node of its parent.voidjjtSetValue(Object value) voidsetScopeChange(boolean isScopeChange)
-
Constructor Details
-
ASTSelect
public ASTSelect(int id) -
ASTSelect
-
-
Method Details
-
jjtAccept
Description copied from class:SimpleNodeAccept the visitor.- Specified by:
jjtAcceptin interfaceNode- Overrides:
jjtAcceptin classSimpleNode- Throws:
VisitorException
-
isDistinct
public boolean isDistinct() -
setDistinct
public void setDistinct(boolean distinct) -
isReduced
public boolean isReduced() -
setReduced
public void setReduced(boolean reduced) -
isWildcard
public boolean isWildcard() -
isSubSelect
public boolean isSubSelect() -
setWildcard
public void setWildcard(boolean wildcard) -
getProjectionElemList
-
toString
- Overrides:
toStringin classSimpleNode
-