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()
getBindingNames in interface TupleExprpublic Set<String> getAssuredBindingNames()
getAssuredBindingNames in interface TupleExprpublic Collection<SelectProjection> getSqlSelectVar()
public void setSqlSelectVar(Collection<SelectProjection> projections)
public SelectProjection getSelectProjection(String name)
public void replaceChildNode(QueryModelNode current, QueryModelNode replacement)
replaceChildNode in interface QueryModelNodereplaceChildNode in class QueryModelNodeBasepublic <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X extends Exception
visitChildren in interface QueryModelNodevisitChildren in class QueryModelNodeBaseX extends Exceptionpublic SelectQuery clone()
clone 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-2014 Aduna. All Rights Reserved.