public class SelectQuery extends RdbmsQueryModelNodeBase implements TupleExpr
| Modifier and Type | Class and Description |
|---|---|
static class |
SelectQuery.OrderElem |
| Constructor and Description |
|---|
SelectQuery() |
visitgetParentNode, getSignature, nullEquals, replaceNodeInList, replaceWith, setParentNode, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, getParentNode, getSignature, replaceWith, setParentNode, toString, visitpublic boolean isDistinct()
public void setDistinct(boolean b)
public boolean isComplex()
public FromItem getFrom()
public void setFrom(FromItem from)
public List<SelectQuery.OrderElem> getOrderElems()
public void addOrder(SqlExpr order, boolean isAscending)
public Long getOffset()
public void setOffset(Long offset)
public Long getLimit()
public void setLimit(Long limit)
public Collection<String> getBindingNames(ColumnVar var)
public Set<String> getBindingNames()
TupleExprgetBindingNames in interface TupleExprpublic Set<String> getAssuredBindingNames()
TupleExprgetAssuredBindingNames in interface TupleExprpublic Collection<SelectProjection> getSqlSelectVar()
public void setSqlSelectVar(Collection<SelectProjection> projections)
public SelectProjection getSelectProjection(String name)
public void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
QueryModelNodeBaseQueryModelNode.replaceChildNode(QueryModelNode, QueryModelNode)
that throws an IllegalArgumentException indicating that
current is not a child node of this node.replaceChildNode in interface QueryModelNodereplaceChildNode in class QueryModelNodeBasecurrent - The current child node.replacement - The new child node.public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
QueryModelNodeBaseQueryModelNode.visitChildren(org.openrdf.query.algebra.QueryModelVisitor<X>) that does
nothing. Subclasses should override this method when they have child
nodes.visitChildren in interface QueryModelNodevisitChildren in class QueryModelNodeBaseX extends Exceptionpublic SelectQuery clone()
QueryModelNodeclone in interface QueryModelNodeclone in interface TupleExprclone in class QueryModelNodeBasepublic <X extends Exception> void visit(RdbmsQueryModelVisitorBase<X> visitor) throws X extends Exception
visit in class RdbmsQueryModelNodeBaseX extends Exceptionpublic boolean hasSqlSelectVar(SelectProjection node)
public boolean hasSqlSelectVarName(String name)
public void addSqlSelectVar(SelectProjection node)
public Collection<ColumnVar> getProjections()
public Collection<ColumnVar> getVars()
public void addFilter(SqlExpr sql)
public void addJoin(SelectQuery right)
public void addLeftJoin(SelectQuery right)
public void removeFilter(SqlExpr sqlExpr)
Copyright © 2001–2015 Aduna. All rights reserved.