public class SqlTable extends SqlNodeBase0
Constructor and Description |
---|
SqlTable(String name) |
SqlTable(String aliasName,
String tableName) |
Modifier and Type | Method and Description |
---|---|
SqlNode |
apply(SqlTransform transform) |
SqlTable |
asTable() |
SqlNode |
copy() |
boolean |
equals(Object other) |
Scope |
getIdScope() |
Scope |
getNodeScope() |
String |
getTableName() |
int |
hashCode() |
boolean |
isTable() |
void |
setIdColumnForVar(Var var,
SqlColumn thisCol) |
void |
setValueColumnForVar(Var var,
SqlColumn thisCol) |
boolean |
usesColumn(SqlColumn c) |
void |
visit(SqlNodeVisitor visitor) |
asCoalesce, asDistinct, asInnerJoin, asJoin, asLeftJoin, asProject, asRestrict, asSelectBlock, getAliasName, isCoalesce, isDistinct, isInnerJoin, isJoin, isLeftJoin, isProject, isRestrict, isSelectBlock, output, output, tablesInvolved, toString
addNote, addNotes, getNotes, hasNotes, hasOneNote
addNote, addNotes, getNotes, hasNotes, hasOneNote
public SqlTable(String name)
public boolean isTable()
isTable
in interface SqlNode
isTable
in class SqlNodeBase
public SqlTable asTable()
asTable
in interface SqlNode
asTable
in class SqlNodeBase
public boolean usesColumn(SqlColumn c)
usesColumn
in class SqlNodeBase
public String getTableName()
public void visit(SqlNodeVisitor visitor)
public Scope getIdScope()
public Scope getNodeScope()
public SqlNode apply(SqlTransform transform)
apply
in class SqlNodeBase0
public SqlNode copy()
copy
in class SqlNodeBase0
Licenced under the Apache License, Version 2.0