public class SqlProject extends SqlNodeBase1
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
apply(SqlTransform transform,
SqlNode subNode) |
SqlProject |
asProject() |
SqlNode |
copy(SqlNode subNode) |
List<ColAlias> |
getCols() |
boolean |
isProject() |
static SqlNode |
project(SqlNode sqlNode,
ColAlias col)
make sure this node is a projection and add a column
|
boolean |
usesColumn(SqlColumn c) |
void |
visit(SqlNodeVisitor visitor) |
getIdScope, getNodeScope, getSubNodeasCoalesce, asDistinct, asInnerJoin, asJoin, asLeftJoin, asRestrict, asSelectBlock, asTable, getAliasName, isCoalesce, isDistinct, isInnerJoin, isJoin, isLeftJoin, isRestrict, isSelectBlock, isTable, output, output, tablesInvolved, toStringaddNote, addNotes, getNotes, hasNotes, hasOneNoteequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNote, addNotes, getNotes, hasNotes, hasOneNotepublic static SqlNode project(SqlNode sqlNode, ColAlias col)
public boolean isProject()
isProject in interface SqlNodeisProject in class SqlNodeBasepublic SqlProject asProject()
asProject in interface SqlNodeasProject in class SqlNodeBasepublic boolean usesColumn(SqlColumn c)
usesColumn in class SqlNodeBasepublic void visit(SqlNodeVisitor visitor)
public SqlNode apply(SqlTransform transform, SqlNode subNode)
apply in class SqlNodeBase1public SqlNode copy(SqlNode subNode)
copy in class SqlNodeBase1Licenced under the Apache License, Version 2.0