public class BitType extends IntegerType
DataType.EncodeType| 限定符和类型 | 字段和说明 |
|---|---|
static BitType |
BIT |
static MySQLType[] |
subTypes |
BIGINT, BOOLEAN, INT, MEDIUMINT, ROW_ID_TYPE, SMALLINT, TINYINT, YEARAutoIncrementFlag, 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 |
BitType(TiColumnInfo.InternalTypeHolder holder) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Object |
decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
doConvertToTiDBType(Object value) |
String |
getName() |
Object |
getOriginDefaultValueNonNull(String value,
long version)
get origin default value
|
long |
getSize()
Size of data type
|
boolean |
isPushDownSupported() |
boolean |
isUnsigned() |
encodeKey, encodeProto, encodeValue, getProtoExprType, isSameCatalog, isUnsignedLongconvertToTiDBType, 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, isPrefixIndexSupported, isPrimaryKey, isSet, isTimestamp, isUniqueKey, isZeroFill, setCollation, signedLowerBound, signedUpperBound, toString, toTypeHolder, unsignedUpperBoundprotected BitType(TiColumnInfo.InternalTypeHolder holder)
public String getName()
getName 在类中 IntegerTypeprotected Object doConvertToTiDBType(Object value) throws org.tikv.common.exception.ConvertNotSupportException, org.tikv.common.exception.ConvertOverflowException
doConvertToTiDBType 在类中 IntegerTypeorg.tikv.common.exception.ConvertNotSupportExceptionorg.tikv.common.exception.ConvertOverflowExceptionprotected Object decodeNotNull(int flag, CodecDataInput cdi)
decodeNotNull 在类中 IntegerTypepublic boolean isUnsigned()
isUnsigned 在类中 DataTypepublic Object getOriginDefaultValueNonNull(String value, long version)
IntegerTypegetOriginDefaultValueNonNull 在类中 IntegerTypevalue - a int value represents in stringpublic boolean isPushDownSupported()
isPushDownSupported 在类中 DataTypeCopyright © 2023 PingCAP. All rights reserved.