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,SQLJoinTableSource,SQLLateralViewTableSource,SQLSubqueryTableSource,SQLUnionQueryTableSource,SQLUnnestTableSource,SQLValuesTableSource,SQLWithSubqueryClause.Entry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected longprotected SQLExprprotected 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()resolveColum(long columnNameHash) voidvoidsetFlashback(SQLExpr flashback) voidvoidvoidMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, accept0, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSourceColumn, 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, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
-
Field Details
-
alias
-
hints
-
flashback
-
aliasHashCode64
protected long aliasHashCode64 -
pivot
-
unpivot
-
-
Constructor Details
-
SQLTableSourceImpl
public SQLTableSourceImpl() -
SQLTableSourceImpl
-
-
Method Details
-
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
-
resolveColum
- Specified by:
resolveColumin 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
-