Class SelectClause
java.lang.Object
org.nuxeo.ecm.core.query.sql.model.Clause
org.nuxeo.ecm.core.query.sql.model.SelectClause
- All Implemented Interfaces:
Serializable
,ASTNode
- Author:
- Bogdan Stefanescu
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSelectClause
(boolean distinct) SelectClause
(SelectList elements) SelectClause
(SelectList elements, boolean distinct) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Accept the given visitor.void
void
boolean
containsOperand
(Object operand) int
count()
boolean
get
(int i) getAlias
(int i) getExpression
(int i) getExpression
(String alias) getFunction
(int i) getFunction
(String alias) getLiteral
(int i) getLiteral
(String alias) getVariable
(int i) getVariable
(String alias) int
hashCode()
boolean
boolean
isEmpty()
operands()
toString()
-
Field Details
-
elements
-
distinct
public final boolean distinct
-
-
Constructor Details
-
SelectClause
public SelectClause() -
SelectClause
public SelectClause(boolean distinct) -
SelectClause
-
SelectClause
-
-
Method Details
-
add
-
add
-
get
-
getVariable
-
getLiteral
-
getFunction
-
getExpression
-
get
-
getAlias
-
getVariable
-
getLiteral
-
getFunction
-
getExpression
-
isDistinct
public boolean isDistinct() -
getSelectList
-
count
public int count() -
isEmpty
public boolean isEmpty() -
operands
- Since:
- 9.1
-
containsOperand
- Since:
- 9.1
-
accept
Description copied from interface:ASTNode
Accept the given visitor.- Parameters:
visitor
- the AST node visitor
-
equals
-
hashCode
public int hashCode() -
toString
-