Package com.alibaba.druid.sql.ast
Class SQLRecordDataType
- java.lang.Object
-
- com.alibaba.druid.sql.ast.SQLObjectImpl
-
- com.alibaba.druid.sql.ast.SQLDataTypeImpl
-
- com.alibaba.druid.sql.ast.SQLRecordDataType
-
- All Implemented Interfaces:
SQLDataType,SQLDbTypedObject,SQLObject,SQLReplaceable
public class SQLRecordDataType extends SQLDataTypeImpl implements SQLDataType
-
-
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 SQLRecordDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaccept0(SQLASTVisitor visitor)voidaddColumn(SQLColumnDefinition column)SQLRecordDataTypeclone()List<SQLColumnDefinition>getColumns()-
Methods inherited from class com.alibaba.druid.sql.ast.SQLDataTypeImpl
addArgument, cloneTo, equals, getArguments, getDbType, getEnumList, getIndexBy, getName, 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.SQLDataType
getArguments, getDbType, getName, getWithTimeZone, hasKeyLength, isInt, isNumberic, isString, isWithLocalTimeZone, jdbcType, nameHashCode64, setDbType, setName, setWithLocalTimeZone, setWithTimeZone
-
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
-
getColumns
public List<SQLColumnDefinition> getColumns()
-
addColumn
public void addColumn(SQLColumnDefinition column)
-
clone
public SQLRecordDataType clone()
- Specified by:
clonein interfaceSQLDataType- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLDataTypeImpl
-
accept0
protected void accept0(SQLASTVisitor visitor)
- Overrides:
accept0in classSQLDataTypeImpl
-
-