Package | Description |
---|---|
org.tikv.common.codec | |
org.tikv.common.columnar.datatypes | |
org.tikv.common.operation.iterator | |
org.tikv.common.row | |
org.tikv.common.types | |
org.tikv.common.util |
Modifier and Type | Class and Description |
---|---|
class |
CodecDataInputLittleEndian |
Modifier and Type | Method and Description |
---|---|
static byte[] |
Codec.BytesCodec.readBytes(CodecDataInput cdi) |
static byte[] |
Codec.BytesCodec.readCompactBytes(CodecDataInput cdi) |
static BigDecimal |
Codec.DecimalCodec.readDecimal(CodecDataInput cdi)
read a decimal value from CodecDataInput
|
static double |
Codec.RealCodec.readDouble(CodecDataInput cdi)
Decode as float
|
static org.joda.time.LocalDate |
Codec.DateCodec.readFromUInt(CodecDataInput cdi)
Read date from packed Long as unsigned fixed-len integer
|
static ExtendedDateTime |
Codec.DateTimeCodec.readFromUInt(CodecDataInput cdi,
org.joda.time.DateTimeZone tz)
Read datetime from packed Long as unsigned fixed-len integer
|
static org.joda.time.LocalDate |
Codec.DateCodec.readFromUVarInt(CodecDataInput cdi)
Read date from packed Long encoded as unsigned var-len integer converting into specified
timezone
|
static ExtendedDateTime |
Codec.DateTimeCodec.readFromUVarInt(CodecDataInput cdi,
org.joda.time.DateTimeZone tz)
Read datetime from packed Long encoded as unsigned var-len integer converting into specified
timezone
|
static long |
Codec.IntegerCodec.readLong(CodecDataInput cdi)
Decode as signed long, assuming encoder flips signed bit for memory comparable
|
static long |
Codec.IntegerCodec.readULong(CodecDataInput cdi)
Decode as unsigned long without any binary manipulation
|
static long |
Codec.IntegerCodec.readUVarLong(CodecDataInput cdi)
Decode as var-length unsigned long, the same as go's binary.Uvarint
|
static long |
Codec.IntegerCodec.readVarLong(CodecDataInput cdi)
Decode as var-length long, the same as go's binary.Varint
|
Modifier and Type | Method and Description |
---|---|
TiBlockColumnVector |
CHTypeString.decode(CodecDataInput cdi,
int size) |
TiBlockColumnVector |
CHType.decode(CodecDataInput cdi,
int size) |
protected ByteBuffer |
CHType.decodeNullMap(CodecDataInput cdi,
int size) |
void |
AutoGrowByteBuffer.put(CodecDataInput cdi,
int len) |
Modifier and Type | Field and Description |
---|---|
protected CodecDataInput |
CoprocessorIterator.dataInput |
Modifier and Type | Method and Description |
---|---|
static DefaultRowReader |
DefaultRowReader.create(CodecDataInput cdi) |
static RowReader |
RowReaderFactory.createRowReader(CodecDataInput cdi) |
Modifier and Type | Method and Description |
---|---|
Object |
DataType.decode(CodecDataInput cdi)
decode value from row which is nothing.
|
TiChunkColumnVector |
DataType.decodeChunkColumn(CodecDataInput cdi) |
Object |
DataType.decodeForBatchWrite(CodecDataInput cdi) |
protected Object |
StringType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Long |
DateTimeType.decodeNotNull(int flag,
CodecDataInput cdi)
Decode timestamp from packed long value In TiDB / MySQL, timestamp type is converted to UTC and
stored
|
protected Object |
SetType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
IntegerType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
RealType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
UninitializedType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
TimeType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected abstract Object |
DataType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Long |
DateType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
DecimalType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
JsonType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
EnumType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Object |
BitType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Long |
TimestampType.decodeNotNull(int flag,
CodecDataInput cdi)
Decode timestamp from packed long value In TiDB / MySQL, timestamp type is converted to UTC and
stored
|
protected Object |
BytesType.decodeNotNull(int flag,
CodecDataInput cdi) |
protected Timestamp |
DateTimeType.decodeNotNullForBatchWrite(int flag,
CodecDataInput cdi) |
protected Object |
DataType.decodeNotNullForBatchWrite(int flag,
CodecDataInput cdi) |
protected Date |
DateType.decodeNotNullForBatchWrite(int flag,
CodecDataInput cdi) |
protected Timestamp |
TimestampType.decodeNotNullForBatchWrite(int flag,
CodecDataInput cdi) |
boolean |
DataType.isNextNull(CodecDataInput cdi) |
Modifier and Type | Method and Description |
---|---|
static void |
MemoryUtil.readFully(ByteBuffer dst,
CodecDataInput cdi,
int length) |
Copyright © 2024 PingCAP. All rights reserved.