Package | Description |
---|---|
org.tikv.common.codec | |
org.tikv.common.exception | |
org.tikv.common.types |
Modifier and Type | Method and Description |
---|---|
static Integer |
Codec.EnumCodec.parseEnumName(String name,
List<String> elems) |
static Integer |
Codec.EnumCodec.parseEnumValue(Integer number,
List<String> elems) |
Modifier and Type | Method and Description |
---|---|
static ConvertOverflowException |
ConvertOverflowException.newEnumException(Object value) |
static ConvertOverflowException |
ConvertOverflowException.newLowerBoundException(Object value,
Object lowerBound) |
static ConvertOverflowException |
ConvertOverflowException.newMaxLengthException(long length,
long maxLength) |
static ConvertOverflowException |
ConvertOverflowException.newMaxLengthException(String value,
long maxLength) |
static ConvertOverflowException |
ConvertOverflowException.newOutOfRange() |
static ConvertOverflowException |
ConvertOverflowException.newUpperBoundException(Object value,
Object upperBound) |
Modifier and Type | Method and Description |
---|---|
Object |
DataType.convertToTiDBType(Object value)
Convert from Spark SQL Supported Java Type to TiDB Type
|
protected Object |
DateTimeType.doConvertToTiDBType(Object value) |
protected Object |
SetType.doConvertToTiDBType(Object value) |
protected Object |
IntegerType.doConvertToTiDBType(Object value) |
protected Object |
RealType.doConvertToTiDBType(Object value) |
protected Object |
UninitializedType.doConvertToTiDBType(Object value) |
protected Object |
TimeType.doConvertToTiDBType(Object value) |
protected abstract Object |
DataType.doConvertToTiDBType(Object value) |
protected Object |
DateType.doConvertToTiDBType(Object value) |
protected Object |
DecimalType.doConvertToTiDBType(Object value) |
protected Object |
JsonType.doConvertToTiDBType(Object value) |
protected Object |
EnumType.doConvertToTiDBType(Object value) |
protected Object |
BitType.doConvertToTiDBType(Object value) |
protected Object |
TimestampType.doConvertToTiDBType(Object value) |
protected Object |
BytesType.doConvertToTiDBType(Object value) |
static Long |
Converter.safeConvertToSigned(Object value,
Long lowerBound,
Long upperBound) |
static Long |
Converter.safeConvertToUnsigned(Object value,
Long upperBound) |
Copyright © 2024 PingCAP. All rights reserved.