Class SQLLateralViewTableSource
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
-
- com.alibaba.druid.sql.ast.statement.SQLLateralViewTableSource
-
- All Implemented Interfaces:
SQLObject,SQLTableSource
public class SQLLateralViewTableSource extends SQLTableSourceImpl
-
-
Field Summary
-
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 SQLLateralViewTableSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)SQLLateralViewTableSourceclone()SQLTableSourcefindTableSource(long alias_hash)SQLTableSourcefindTableSourceWithColumn(long columnNameHash, String columnName, int option)List<SQLName>getColumns()SQLMethodInvokeExprgetMethod()SQLExprgetOn()SQLTableSourcegetTableSource()booleanisOuter()voidsetColumns(List<SQLName> columns)voidsetMethod(SQLMethodInvokeExpr method)voidsetOn(SQLExpr on)voidsetOuter(boolean outer)voidsetTableSource(SQLTableSource tableSource)-
Methods inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
aliasHashCode64, computeAlias, containsAlias, equals, findColumn, findColumn, findTableSource, 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 visitor)
- Overrides:
accept0in classSQLTableSourceImpl
-
getTableSource
public SQLTableSource getTableSource()
-
setTableSource
public void setTableSource(SQLTableSource tableSource)
-
getMethod
public SQLMethodInvokeExpr getMethod()
-
setMethod
public void setMethod(SQLMethodInvokeExpr method)
-
findTableSource
public SQLTableSource findTableSource(long alias_hash)
- Specified by:
findTableSourcein interfaceSQLTableSource- Overrides:
findTableSourcein classSQLTableSourceImpl
-
findTableSourceWithColumn
public SQLTableSource findTableSourceWithColumn(long columnNameHash, String columnName, int option)
- Specified by:
findTableSourceWithColumnin interfaceSQLTableSource- Overrides:
findTableSourceWithColumnin classSQLTableSourceImpl
-
clone
public SQLLateralViewTableSource clone()
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
isOuter
public boolean isOuter()
-
setOuter
public void setOuter(boolean outer)
-
getOn
public SQLExpr getOn()
-
setOn
public void setOn(SQLExpr on)
-
-