Class SQLGeneratedTableSource
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
-
- com.alibaba.druid.sql.ast.statement.SQLGeneratedTableSource
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable,SQLTableSource
public class SQLGeneratedTableSource extends SQLTableSourceImpl implements SQLReplaceable
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SQLName>columns-
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints, needAsTokenForAlias, pivot, unpivot
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLGeneratedTableSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)List<SQLName>getColumns()List<SQLExpr>getItems()SQLIdentifierExprgetMethodName()booleanreplace(SQLExpr expr, SQLExpr target)voidsetMethodName(SQLIdentifierExpr methodName)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, clone, computeAlias, containsAlias, equals, findColumn, findColumn, findTableSource, findTableSource, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, findTableSourceWithColumn, getAlias, getAlias2, getFlashback, getHints, getHintsSize, getPivot, getUnpivot, hashCode, isNeedAsTokenForAlias, resolveColumn, setAlias, setFlashback, setHints, setNeedAsTokenForAlias, setPivot, setUnpivot
-
Methods 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, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setHint, setParent, setSource, setSourceLine, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.alibaba.druid.sql.ast.SQLObject
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, putAttribute, setParent, setSource
-
Methods inherited from interface com.alibaba.druid.sql.ast.statement.SQLTableSource
resolveColum
-
-
-
-
Method Detail
-
accept0
protected void accept0(SQLASTVisitor v)
- Overrides:
accept0in classSQLTableSourceImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
getMethodName
public SQLIdentifierExpr getMethodName()
-
setMethodName
public void setMethodName(SQLIdentifierExpr methodName)
-
-