Package com.alibaba.druid.sql.ast
Class SQLUnionDataType
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLDataTypeImpl
-
- com.alibaba.druid.sql.ast.SQLUnionDataType
-
- All Implemented Interfaces:
SQLDataType,SQLDbTypedObject,SQLObject,SQLReplaceable
public class SQLUnionDataType extends SQLDataTypeImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.SQLDataType
SQLDataType.Constants
-
-
Field Summary
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLDataTypeImpl
arguments, enumList
-
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine
-
-
Constructor Summary
Constructors Constructor Description SQLUnionDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)voidadd(SQLDataType item)SQLUnionDataTypeclone()List<SQLDataType>getItems()StringgetName()-
Methods inherited from class com.alibaba.druid.sql.ast.SQLDataTypeImpl
addArgument, cloneTo, equals, getArguments, getDbType, getEnumList, getIndexBy, getWithTimeZone, hashCode, hasKeyLength, isInt, isNumberic, isString, isUnsigned, isWithLocalTimeZone, isZerofill, jdbcType, nameHashCode64, replace, setDbType, setEnumList, setIndexBy, setName, setUnsigned, setWithLocalTimeZone, setWithTimeZone, setZerofill, toString
-
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
-
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
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceSQLDataType- Overrides:
getNamein classSQLDataTypeImpl
-
getItems
public List<SQLDataType> getItems()
-
add
public void add(SQLDataType item)
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLDataTypeImpl
-
clone
public SQLUnionDataType clone()
- Specified by:
clonein interfaceSQLDataType- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLDataTypeImpl
-
-