Class SQLUnnestTableSource
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
-
- com.alibaba.druid.sql.ast.statement.SQLUnnestTableSource
-
- All Implemented Interfaces:
SQLObject,SQLReplaceable,SQLTableSource
public class SQLUnnestTableSource 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 SQLUnnestTableSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor v)voidaddColumn(SQLName column)voidaddItem(SQLExpr item)SQLUnnestTableSourceclone()List<SQLName>getColumns()List<SQLExpr>getItems()SQLExprgetOffset()booleanisOrdinality()booleanreplace(SQLExpr expr, SQLExpr target)voidsetItem(int i, SQLExpr item)voidsetOffset(SQLExpr x)voidsetOrdinality(boolean ordinality)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, 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
-
addColumn
public void addColumn(SQLName column)
-
isOrdinality
public boolean isOrdinality()
-
setOrdinality
public void setOrdinality(boolean ordinality)
-
addItem
public void addItem(SQLExpr item)
-
setItem
public void setItem(int i, SQLExpr item)
-
getOffset
public SQLExpr getOffset()
-
setOffset
public void setOffset(SQLExpr x)
-
clone
public SQLUnnestTableSource clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
replace
public boolean replace(SQLExpr expr, SQLExpr target)
- Specified by:
replacein interfaceSQLReplaceable
-
-