public class SqlColumn extends SqlNode
| Constructor | Description |
|---|---|
SqlColumn(int id,
ColumnMetadata metadata) |
|
SqlColumn(int id,
ColumnMetadata metadata,
String tableName) |
|
SqlColumn(int id,
ColumnMetadata metadata,
String tableName,
String tableAlias) |
| Modifier and Type | Method | Description |
|---|---|---|
<R> R |
accept(SqlNodeVisitor<R> visitor) |
See
SqlNodeVisitor |
int |
getId() |
|
ColumnMetadata |
getMetadata() |
|
String |
getName() |
|
String |
getTableAlias() |
|
String |
getTableName() |
|
SqlNodeType |
getType() |
|
boolean |
hasTableAlias() |
|
String |
toSimpleSql() |
|
String |
toString() |
public SqlColumn(int id,
ColumnMetadata metadata)
public SqlColumn(int id,
ColumnMetadata metadata,
String tableName)
public SqlColumn(int id,
ColumnMetadata metadata,
String tableName,
String tableAlias)
public int getId()
public ColumnMetadata getMetadata()
public String getName()
public String getTableName()
public boolean hasTableAlias()
public String getTableAlias()
public String toSimpleSql()
public SqlNodeType getType()
public <R> R accept(SqlNodeVisitor<R> visitor) throws AdapterException
SqlNodeSqlNodeVisitoraccept in class SqlNodeR - generic SqlNodeVisitor typevisitor - The visitor object on which the appropriate visit(sqlNode) method is calledAdapterException - can be thrownCopyright © 2019. All rights reserved.