public class SQLExprTableSource extends SQLTableSourceImpl implements SQLReplaceable
| Constructor and Description |
|---|
SQLExprTableSource() |
SQLExprTableSource(SQLExpr expr) |
SQLExprTableSource(SQLExpr expr,
String alias) |
SQLExprTableSource(String tableName) |
findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, setAlias, setFlashback, setHintsaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, output, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringaccept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, output, putAttribute, setParentpublic SQLExprTableSource()
public SQLExprTableSource(String tableName)
public SQLExprTableSource(SQLExpr expr)
public SQLExpr getExpr()
public void setExpr(SQLExpr x)
public void setExpr(String name)
public SQLTableSampling getSampling()
public void setSampling(SQLTableSampling x)
public SQLName getName()
public String getTableName()
public String getSchema()
public String getCatalog()
public boolean setCatalog(String catalog)
public void setSchema(String schema)
public void setSimpleName(String name)
public int getPartitionSize()
public void addPartition(SQLName partition)
public String computeAlias()
computeAlias in interface SQLTableSourcecomputeAlias in class SQLTableSourceImplpublic SQLExprTableSource clone()
clone in interface SQLObjectclone in interface SQLTableSourceclone in class SQLTableSourceImplpublic void cloneTo(SQLExprTableSource x)
public SchemaObject getSchemaObject()
public void setSchemaObject(SchemaObject schemaObject)
public boolean containsAlias(String alias)
containsAlias in interface SQLTableSourcecontainsAlias in class SQLTableSourceImplpublic boolean containsAlias(long aliasHash)
public SQLColumnDefinition findColumn(String columnName)
findColumn in interface SQLTableSourcefindColumn in class SQLTableSourceImplpublic SQLColumnDefinition findColumn(long columnNameHash)
findColumn in interface SQLTableSourcefindColumn in class SQLTableSourceImplpublic SQLObject resolveColum(long columnNameHash)
resolveColum in interface SQLTableSourceresolveColum in class SQLTableSourceImplpublic SQLTableSource findTableSourceWithColumn(String columnName)
findTableSourceWithColumn in interface SQLTableSourcefindTableSourceWithColumn in class SQLTableSourceImplpublic SQLTableSource findTableSourceWithColumn(long columnName_hash, String name, int option)
findTableSourceWithColumn in interface SQLTableSourcefindTableSourceWithColumn in class SQLTableSourceImplpublic SQLTableSource findTableSource(long alias_hash)
findTableSource in interface SQLTableSourcefindTableSource in class SQLTableSourceImplpublic boolean replace(SQLExpr expr, SQLExpr target)
replace in interface SQLReplaceablepublic long aliasHashCode64()
aliasHashCode64 in interface SQLTableSourcealiasHashCode64 in class SQLTableSourceImplpublic boolean equals(Object o)
equals in class SQLTableSourceImplpublic int hashCode()
hashCode in class SQLTableSourceImplCopyright © 2013–2020 Alibaba Group. All rights reserved.