public class SQLCharacterDataType extends SQLDataTypeImpl
SQLDataType.Constants
Modifier and Type | Field and Description |
---|---|
static String |
CHAR_TYPE_BYTE |
static String |
CHAR_TYPE_CHAR |
List<SQLCommentHint> |
hints |
Constructor and Description |
---|
SQLCharacterDataType(String name) |
SQLCharacterDataType(String name,
int precision) |
Modifier and Type | Method and Description |
---|---|
SQLCharacterDataType |
clone() |
String |
getCharSetName() |
String |
getCharType() |
String |
getCollate() |
List<SQLCommentHint> |
getHints() |
int |
getLength() |
boolean |
isHasBinary() |
void |
setCharSetName(String charSetName) |
void |
setCharType(String charType) |
void |
setCollate(String collate) |
void |
setHasBinary(boolean hasBinary) |
void |
setHints(List<SQLCommentHint> hints) |
String |
toString() |
addArgument, cloneTo, equals, getArguments, getDbType, getName, getWithTimeZone, hashCode, isUnsigned, isWithLocalTimeZone, isZerofill, nameHashCode64, setDbType, setName, setUnsigned, setWithLocalTimeZone, setWithTimeZone, setZerofill
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, computeDataType, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
accept, addAfterComment, addAfterComment, addBeforeComment, addBeforeComment, getAfterCommentsDirect, getAttribute, getAttributes, getAttributesDirect, getBeforeCommentsDirect, getParent, hasAfterComment, hasBeforeComment, output, putAttribute, setParent
public List<SQLCommentHint> hints
public static final String CHAR_TYPE_BYTE
public static final String CHAR_TYPE_CHAR
public SQLCharacterDataType(String name)
public SQLCharacterDataType(String name, int precision)
public String getCharSetName()
public void setCharSetName(String charSetName)
public boolean isHasBinary()
public void setHasBinary(boolean hasBinary)
public String getCollate()
public void setCollate(String collate)
public String getCharType()
public void setCharType(String charType)
public List<SQLCommentHint> getHints()
public void setHints(List<SQLCommentHint> hints)
public int getLength()
public SQLCharacterDataType clone()
clone
in interface SQLDataType
clone
in interface SQLObject
clone
in class SQLDataTypeImpl
public String toString()
toString
in class SQLDataTypeImpl
Copyright © 2013–2017 Alibaba Group. All rights reserved.