public class StringType extends BytesType
DataType.EncodeType| 限定符和类型 | 字段和说明 |
|---|---|
static StringType |
CHAR |
static MySQLType[] |
subTypes |
static StringType |
VAR_STRING |
static StringType |
VARCHAR |
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 |
StringType(MySQLType tp) |
|
StringType(TiColumnInfo.InternalTypeHolder holder) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
doConvertToTiDBType(Object value) |
protected void |
encodeKey(CodecDataOutput cdo,
Object value) |
String |
getName() |
boolean |
isPushDownSupported() |
encodeProto, encodeValue, getOriginDefaultValueNonNull, getProtoExprType, getSize, isPrefixIndexSupportedconvertToTiDBType, decode, decodeChunkColumn, decodeForBatchWrite, decodeNotNullForBatchWrite, encode, encodeIndex, encodeKey, encodeMaxValue, encodeNull, equals, getCharset, getCollationCode, getDecimal, getDefaultLength, getElems, getFlag, getLength, getOriginDefaultValue, getType, getTypeCode, hashCode, isAutoIncrement, isBinary, isBlob, isDecimalUnSpecified, isEnum, isLengthUnSpecified, isLengthUnSpecified, isMultiKey, isNextNull, isNoDefault, isNotNull, isNum, isOnUpdateNow, isPrimaryKey, isSameCatalog, isSet, isTimestamp, isUniqueKey, isUnsigned, isZeroFill, setCollation, signedLowerBound, signedUpperBound, toString, toTypeHolder, unsignedUpperBoundpublic static final StringType VARCHAR
public static final StringType CHAR
public static final StringType VAR_STRING
public static final MySQLType[] subTypes
protected StringType(MySQLType tp)
public StringType(TiColumnInfo.InternalTypeHolder holder)
public boolean isPushDownSupported()
isPushDownSupported 在类中 BytesTypeprotected Object doConvertToTiDBType(Object value) throws ConvertNotSupportException
doConvertToTiDBType 在类中 BytesTypeConvertNotSupportExceptionprotected Object decodeNotNull(int flag, CodecDataInput cdi)
decodeNotNull 在类中 BytesTypeprotected void encodeKey(CodecDataOutput cdo, Object value)
Copyright © 2022 PingCAP. All rights reserved.