Package com.alibaba.druid.sql.ast
Class SQLStructDataType
java.lang.Object
com.alibaba.druid.sql.ast.SQLObjectImpl
com.alibaba.druid.sql.ast.SQLStructDataType
- All Implemented Interfaces:
SQLDataType,SQLObject
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.alibaba.druid.sql.ast.SQLDataType
SQLDataType.Constants -
Field Summary
Fields inherited from class com.alibaba.druid.sql.ast.SQLObjectImpl
attributes, hint, parent, sourceColumn, sourceLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept0(SQLASTVisitor visitor) addField(SQLName name, SQLDataType dataType) clone()getName()booleanbooleanisInt()booleanbooleanisString()booleanintjdbcType()longvoidvoidvoidsetWithLocalTimeZone(boolean value) voidsetWithTimeZone(Boolean value) Methods 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, putAttribute, setHint, setParent, setSourceColumn, setSourceLine, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, 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, putAttribute, setParent
-
Constructor Details
-
SQLStructDataType
public SQLStructDataType() -
SQLStructDataType
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceSQLDataType
-
nameHashCode64
public long nameHashCode64()- Specified by:
nameHashCode64in interfaceSQLDataType
-
setName
- Specified by:
setNamein interfaceSQLDataType
-
getArguments
- Specified by:
getArgumentsin interfaceSQLDataType
-
getWithTimeZone
- Specified by:
getWithTimeZonein interfaceSQLDataType
-
setWithTimeZone
- Specified by:
setWithTimeZonein interfaceSQLDataType
-
isWithLocalTimeZone
public boolean isWithLocalTimeZone()- Specified by:
isWithLocalTimeZonein interfaceSQLDataType
-
setWithLocalTimeZone
public void setWithLocalTimeZone(boolean value) - Specified by:
setWithLocalTimeZonein interfaceSQLDataType
-
setDbType
- Specified by:
setDbTypein interfaceSQLDataType
-
getDbType
- Specified by:
getDbTypein interfaceSQLDataType
-
accept0
- Specified by:
accept0in classSQLObjectImpl
-
clone
- Specified by:
clonein interfaceSQLDataType- Specified by:
clonein interfaceSQLObject- Overrides:
clonein classSQLObjectImpl
-
getFields
-
addField
-
jdbcType
public int jdbcType()- Specified by:
jdbcTypein interfaceSQLDataType
-
isInt
public boolean isInt()- Specified by:
isIntin interfaceSQLDataType
-
isNumberic
public boolean isNumberic()- Specified by:
isNumbericin interfaceSQLDataType
-
isString
public boolean isString()- Specified by:
isStringin interfaceSQLDataType
-
hasKeyLength
public boolean hasKeyLength()- Specified by:
hasKeyLengthin interfaceSQLDataType
-