public class SQLExprTableSource extends SQLTableSourceImpl implements SQLReplaceable
Constructor and Description |
---|
SQLExprTableSource() |
SQLExprTableSource(SQLExpr expr) |
SQLExprTableSource(SQLExpr expr,
String alias) |
Modifier and Type | Method and Description |
---|---|
void |
addPartition(SQLName partition) |
SQLExprTableSource |
clone() |
void |
cloneTo(SQLExprTableSource x) |
String |
computeAlias() |
boolean |
containsAlias(long aliasHash) |
boolean |
containsAlias(String alias) |
boolean |
equals(Object o) |
SQLColumnDefinition |
findColumn(long columnNameHash) |
SQLColumnDefinition |
findColumn(String columnName) |
SQLTableSource |
findTableSource(long alias_hash) |
SQLTableSource |
findTableSourceWithColumn(long columnName_hash) |
SQLTableSource |
findTableSourceWithColumn(String columnName) |
SQLExpr |
getExpr() |
SQLName |
getName() |
List<SQLName> |
getPartitions() |
int |
getPartitionSize() |
String |
getSchema() |
SchemaObject |
getSchemaObject() |
int |
hashCode() |
void |
output(StringBuffer buf) |
boolean |
replace(SQLExpr expr,
SQLExpr target) |
void |
setExpr(SQLExpr expr) |
void |
setExpr(String name) |
void |
setSchema(String schema) |
void |
setSchemaObject(SchemaObject schemaObject) |
aliasHashCode64, findTableSource, getAlias, getFlashback, getHints, getHintsSize, setAlias, setFlashback, setHints
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent, toString
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, putAttribute, setParent
public SQLExprTableSource()
public SQLExprTableSource(SQLExpr expr)
public SQLExpr getExpr()
public void setExpr(SQLExpr expr)
public void setExpr(String name)
public SQLName getName()
public String getSchema()
public void setSchema(String schema)
public int getPartitionSize()
public void addPartition(SQLName partition)
public void output(StringBuffer buf)
output
in interface SQLObject
output
in class SQLObjectImpl
public String computeAlias()
computeAlias
in interface SQLTableSource
computeAlias
in class SQLTableSourceImpl
public SQLExprTableSource clone()
clone
in interface SQLObject
clone
in interface SQLTableSource
clone
in class SQLTableSourceImpl
public void cloneTo(SQLExprTableSource x)
public SchemaObject getSchemaObject()
public void setSchemaObject(SchemaObject schemaObject)
public boolean containsAlias(String alias)
containsAlias
in interface SQLTableSource
containsAlias
in class SQLTableSourceImpl
public boolean containsAlias(long aliasHash)
public SQLColumnDefinition findColumn(String columnName)
findColumn
in interface SQLTableSource
findColumn
in class SQLTableSourceImpl
public SQLColumnDefinition findColumn(long columnNameHash)
findColumn
in interface SQLTableSource
findColumn
in class SQLTableSourceImpl
public SQLTableSource findTableSourceWithColumn(String columnName)
findTableSourceWithColumn
in interface SQLTableSource
findTableSourceWithColumn
in class SQLTableSourceImpl
public SQLTableSource findTableSourceWithColumn(long columnName_hash)
findTableSourceWithColumn
in interface SQLTableSource
findTableSourceWithColumn
in class SQLTableSourceImpl
public SQLTableSource findTableSource(long alias_hash)
findTableSource
in interface SQLTableSource
findTableSource
in class SQLTableSourceImpl
public boolean replace(SQLExpr expr, SQLExpr target)
replace
in interface SQLReplaceable
Copyright © 2013–2017 Alibaba Group. All rights reserved.