public class SelectClause extends Clause
Modifier and Type | Field and Description |
---|---|
boolean |
distinct |
SelectList |
elements |
Constructor and Description |
---|
SelectClause() |
SelectClause(boolean distinct) |
SelectClause(SelectList elements) |
SelectClause(SelectList elements,
boolean distinct) |
Modifier and Type | Method and Description |
---|---|
void |
accept(IVisitor visitor)
Accept the given visitor.
|
void |
add(Operand element) |
void |
add(String alias,
Operand element) |
int |
count() |
boolean |
equals(Object obj) |
Operand |
get(int i) |
Operand |
get(String alias) |
String |
getAlias(int i) |
Expression |
getExpression(int i) |
Expression |
getExpression(String alias) |
Function |
getFunction(int i) |
Function |
getFunction(String alias) |
Literal |
getLiteral(int i) |
Literal |
getLiteral(String alias) |
SelectList |
getSelectList() |
Reference |
getVariable(int i) |
Reference |
getVariable(String alias) |
int |
hashCode() |
boolean |
isDistinct() |
boolean |
isEmpty() |
String |
toString() |
public final SelectList elements
public final boolean distinct
public SelectClause()
public SelectClause(boolean distinct)
public SelectClause(SelectList elements)
public SelectClause(SelectList elements, boolean distinct)
public Reference getVariable(String alias)
public Literal getLiteral(String alias)
public Function getFunction(String alias)
public Expression getExpression(String alias)
public Reference getVariable(int i)
public Literal getLiteral(int i)
public Function getFunction(int i)
public Expression getExpression(int i)
public boolean isDistinct()
public SelectList getSelectList()
public int count()
public boolean isEmpty()
public void accept(IVisitor visitor)
ASTNode
visitor
- the AST node visitorCopyright © 2015 Nuxeo SA. All rights reserved.