Class SQLWithSubqueryClause.Entry
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
com.alibaba.druid.sql.ast.statement.SQLWithSubqueryClause.Entry
- All Implemented Interfaces:
SQLObject,SQLReplaceable,SQLTableSource
- Direct Known Subclasses:
OracleWithSubqueryEntry
- Enclosing class:
SQLWithSubqueryClause
public static class SQLWithSubqueryClause.Entry
extends SQLTableSourceImpl
implements SQLReplaceable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SQLExprprotected booleanprotected SQLStatementprotected SQLSelectFields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints, needAsTokenForAlias, pivot, unpivotFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) clone()voidbooleanfindTableSourceWithColumn(long columnNameHash, String columnName, int option) getExpr()inthashCode()booleanbooleanresolveColumn(long columnNameHash) voidvoidsetPrefixAlias(boolean prefixAlias) voidsetReturningStatement(SQLStatement returningStatement) voidsetSubQuery(SQLSelect subQuery) Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, computeAlias, containsAlias, findColumn, findColumn, findTableSource, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, getPivot, getUnpivot, isNeedAsTokenForAlias, setAlias, setFlashback, setHints, setNeedAsTokenForAlias, setPivot, setUnpivotMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, 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
-
columns
-
subQuery
-
returningStatement
-
expr
-
prefixAlias
protected boolean prefixAlias
-
-
Constructor Details
-
Entry
public Entry() -
Entry
-
Entry
-
-
Method Details
-
cloneTo
-
resolveColumn
- Specified by:
resolveColumnin interfaceSQLTableSource- Overrides:
resolveColumnin classSQLTableSourceImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
getExpr
-
setExpr
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
getSubQuery
-
setSubQuery
-
getReturningStatement
-
setReturningStatement
-
getColumns
-
findTableSourceWithColumn
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource- Overrides:
findTableSourceWithColumnin classSQLTableSourceImpl
-
isPrefixAlias
public boolean isPrefixAlias() -
setPrefixAlias
public void setPrefixAlias(boolean prefixAlias) -
equals
- Overrides:
equalsin classSQLTableSourceImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classSQLTableSourceImpl
-