public class SetType extends DataType
DataType.EncodeType| 限定符和类型 | 字段和说明 |
|---|---|
static SetType |
SET |
static MySQLType[] |
subTypes |
AutoIncrementFlag, BinaryFlag, BlobFlag, collation, COLUMN_VERSION_FLAG, decimal, EnumFlag, flag, length, MultipleKeyFlag, NoDefaultValueFlag, NotNullFlag, NumFlag, OnUpdateNowFlag, PriKeyFlag, SetFlag, TimestampFlag, tp, UniqueKeyFlag, UnsignedFlag, UNSPECIFIED_LEN, ZerofillFlag| 限定符 | 构造器和说明 |
|---|---|
protected |
SetType(TiColumnInfo.InternalTypeHolder holder) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
doConvertToTiDBType(Object value) |
protected void |
encodeKey(CodecDataOutput cdo,
Object value) |
protected void |
encodeProto(CodecDataOutput cdo,
Object value) |
protected void |
encodeValue(CodecDataOutput cdo,
Object value) |
String |
getName() |
Object |
getOriginDefaultValueNonNull(String value,
long version)
get origin default value
|
ExprType |
getProtoExprType() |
boolean |
isPushDownSupported() |
convertToTiDBType, decode, decodeChunkColumn, decodeForBatchWrite, decodeNotNullForBatchWrite, encode, encodeIndex, encodeKey, encodeMaxValue, encodeNull, equals, getCharset, getCollationCode, getDecimal, getDefaultLength, getElems, getFlag, getLength, getOriginDefaultValue, getSize, getType, getTypeCode, hashCode, isAutoIncrement, isBinary, isBlob, isDecimalUnSpecified, isEnum, isLengthUnSpecified, isLengthUnSpecified, isMultiKey, isNextNull, isNoDefault, isNotNull, isNum, isOnUpdateNow, isPrefixIndexSupported, isPrimaryKey, isSameCatalog, isSet, isTimestamp, isUniqueKey, isUnsigned, isZeroFill, signedLowerBound, signedUpperBound, toString, toTypeHolder, unsignedUpperBoundprotected SetType(TiColumnInfo.InternalTypeHolder holder)
protected Object decodeNotNull(int flag, CodecDataInput cdi)
decodeNotNull 在类中 DataTypeprotected Object doConvertToTiDBType(Object value) throws ConvertNotSupportException, ConvertOverflowException
protected void encodeKey(CodecDataOutput cdo, Object value)
protected void encodeValue(CodecDataOutput cdo, Object value)
encodeValue 在类中 DataTypeprotected void encodeProto(CodecDataOutput cdo, Object value)
encodeProto 在类中 DataTypepublic ExprType getProtoExprType()
getProtoExprType 在类中 DataTypepublic Object getOriginDefaultValueNonNull(String value, long version)
getOriginDefaultValueNonNull 在类中 DataTypevalue - a int value represents in stringpublic boolean isPushDownSupported()
isPushDownSupported 在类中 DataTypeCopyright © 2023 PingCAP. All rights reserved.