Class SQLValuesTableSource
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
com.alibaba.druid.sql.ast.statement.SQLValuesTableSource
- All Implemented Interfaces:
SQLObject,SQLReplaceable,SQLSelectQuery,SQLTableSource
public class SQLValuesTableSource
extends SQLTableSourceImpl
implements SQLSelectQuery, SQLReplaceable
Created by wenshao on 23/02/2017.
-
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.statement.SQLTableSourceImpl
alias, aliasHashCode64, flashback, hints, pivot, unpivotFields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(SQLASTVisitor visitor) voidvoidvoidaddValue(SQLListExpr row) clone()booleanbooleanvoidsetParenthesized(boolean paren) 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, resolveColum, setAlias, setFlashback, setHints, setPivot, setUnpivotMethods inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
accept, acceptChild, acceptChild, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, containsAttribute, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getHint, getParent, getSourceColumn, getSourceLine, hasAfterComment, hasBeforeComment, output, 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, output, putAttribute, setParent
-
Constructor Details
-
SQLValuesTableSource
public SQLValuesTableSource()
-
-
Method Details
-
getValues
-
addValue
-
getColumns
-
addColumn
-
addColumn
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
isParenthesized
public boolean isParenthesized()- Specified by:
isParenthesizedin interfaceSQLSelectQuery
-
setParenthesized
public void setParenthesized(boolean paren) - Specified by:
setParenthesizedin interfaceSQLSelectQuery
-
clone
- Specified by:
clonein interfaceSQLObject- Specified by:
clonein interfaceSQLSelectQuery- Specified by:
clonein interfaceSQLTableSource- Overrides:
clonein classSQLTableSourceImpl
-
replace
- Specified by:
replacein interfaceSQLReplaceable
-