Class SQLTableSourceImpl
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
- All Implemented Interfaces:
SQLObject,SQLTableSource
- Direct Known Subclasses:
DB2IntermediateResultTableSource,MySqlUpdateTableSource,SQLAdhocTableSource,SQLExprTableSource,SQLGeneratedTableSource,SQLJoinTableSource,SQLLateralViewTableSource,SQLSubqueryTableSource,SQLUnionQueryTableSource,SQLUnnestTableSource,SQLValuesTableSource,SQLWithSubqueryClause.Entry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected longprotected SQLExprprotected booleanprotected SQLPivotprotected SQLUnpivotFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongclone()booleancontainsAlias(String alias) booleanfindColumn(long columnNameHash) findColumn(String columnName) findTableSource(long alias_hash) findTableSource(String alias) findTableSourceWithColumn(long columnNameHash) findTableSourceWithColumn(long columnNameHash, String columnName, int option) findTableSourceWithColumn(SQLName columnName) findTableSourceWithColumn(String columnName) getAlias()getHints()intgetPivot()inthashCode()booleanresolveColumn(long columnNameHash) voidvoidsetFlashback(SQLExpr flashback) voidvoidsetNeedAsTokenForAlias(boolean needAsTokenForAlias) voidvoidMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, accept0, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, cloneTo, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSourceMethods inherited from interface com.alibaba.druid.sql.ast.statement.SQLTableSource
resolveColum
-
Field Details
-
needAsTokenForAlias
protected boolean needAsTokenForAlias -
alias
-
hints
-
flashback
-
aliasHashCode64
protected long aliasHashCode64 -
pivot
-
unpivot
-
-
Constructor Details
-
SQLTableSourceImpl
public SQLTableSourceImpl() -
SQLTableSourceImpl
-
-
Method Details
-
isNeedAsTokenForAlias
public boolean isNeedAsTokenForAlias() -
setNeedAsTokenForAlias
public void setNeedAsTokenForAlias(boolean needAsTokenForAlias) -
getAlias
- Specified by:
getAliasin interfaceSQLTableSource
-
getAlias2
-
setAlias
- Specified by:
setAliasin interfaceSQLTableSource
-
getHintsSize
public int getHintsSize() -
getHints
- Specified by:
getHintsin interfaceSQLTableSource
-
setHints
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLObjectImpl
-
computeAlias
- Specified by:
computeAliasin interfaceSQLTableSource
-
getFlashback
- Specified by:
getFlashbackin interfaceSQLTableSource
-
setFlashback
- Specified by:
setFlashbackin interfaceSQLTableSource
-
containsAlias
- Specified by:
containsAliasin interfaceSQLTableSource
-
aliasHashCode64
public long aliasHashCode64()- Specified by:
aliasHashCode64in interfaceSQLTableSource
-
findColumn
- Specified by:
findColumnin interfaceSQLTableSource
-
findColumn
- Specified by:
findColumnin interfaceSQLTableSource
-
resolveColumn
- Specified by:
resolveColumnin interfaceSQLTableSource
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource
-
findTableSource
- Specified by:
findTableSourcein interfaceSQLTableSource
-
findTableSource
- Specified by:
findTableSourcein interfaceSQLTableSource
-
equals
-
hashCode
public int hashCode() -
getPivot
- Specified by:
getPivotin interfaceSQLTableSource
-
setPivot
- Specified by:
setPivotin interfaceSQLTableSource
-
getUnpivot
- Specified by:
getUnpivotin interfaceSQLTableSource
-
setUnpivot
- Specified by:
setUnpivotin interfaceSQLTableSource
-