接口 ValueDecoder
-
public interface ValueDecoderA value decoder is responsible for interpreting a byte array as a value. The type of the value is encoded in the method call. After decoding, the value decoder passes an intermediate representation of the value to aValueFactoryfor result value creation.- 从以下版本开始:
- 6.0
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 <T> TdecodeBit(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeByteArray(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)<T> TdecodeDate(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeDatetime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)<T> TdecodeDecimal(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeDouble(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeFloat(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeSet(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)<T> TdecodeTime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)<T> TdecodeTimestamp(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)<T> TdecodeUInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeUInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeUInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeUInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)<T> TdecodeYear(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
-
-
方法详细资料
-
decodeDate
<T> T decodeDate(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeTime
<T> T decodeTime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
-
decodeTimestamp
<T> T decodeTimestamp(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
-
decodeDatetime
<T> T decodeDatetime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
-
decodeInt1
<T> T decodeInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeUInt1
<T> T decodeUInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeInt2
<T> T decodeInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeUInt2
<T> T decodeUInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeInt4
<T> T decodeInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeUInt4
<T> T decodeUInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeInt8
<T> T decodeInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeUInt8
<T> T decodeUInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeFloat
<T> T decodeFloat(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeDouble
<T> T decodeDouble(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeDecimal
<T> T decodeDecimal(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeByteArray
<T> T decodeByteArray(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)
-
decodeBit
<T> T decodeBit(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
decodeSet
<T> T decodeSet(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)
-
decodeYear
<T> T decodeYear(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
-