Package com.mysql.cj.protocol.a
Class MysqlBinaryValueDecoder
java.lang.Object
com.mysql.cj.protocol.a.MysqlBinaryValueDecoder
- All Implemented Interfaces:
ValueDecoder
public class MysqlBinaryValueDecoder extends java.lang.Object implements ValueDecoder
A
ValueDecoder for the MySQL binary (prepared statement) protocol.-
Constructor Summary
Constructors Constructor Description MysqlBinaryValueDecoder() -
Method Summary
Modifier and Type Method Description <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)
-
Constructor Details
-
MysqlBinaryValueDecoder
public MysqlBinaryValueDecoder()
-
-
Method Details
-
decodeTimestamp
- Specified by:
decodeTimestampin interfaceValueDecoder
-
decodeDatetime
- Specified by:
decodeDatetimein interfaceValueDecoder
-
decodeTime
- Specified by:
decodeTimein interfaceValueDecoder
-
decodeDate
- Specified by:
decodeDatein interfaceValueDecoder
-
decodeUInt1
- Specified by:
decodeUInt1in interfaceValueDecoder
-
decodeInt1
- Specified by:
decodeInt1in interfaceValueDecoder
-
decodeUInt2
- Specified by:
decodeUInt2in interfaceValueDecoder
-
decodeInt2
- Specified by:
decodeInt2in interfaceValueDecoder
-
decodeUInt4
- Specified by:
decodeUInt4in interfaceValueDecoder
-
decodeInt4
- Specified by:
decodeInt4in interfaceValueDecoder
-
decodeInt8
- Specified by:
decodeInt8in interfaceValueDecoder
-
decodeUInt8
- Specified by:
decodeUInt8in interfaceValueDecoder
-
decodeFloat
- Specified by:
decodeFloatin interfaceValueDecoder
-
decodeDouble
- Specified by:
decodeDoublein interfaceValueDecoder
-
decodeDecimal
- Specified by:
decodeDecimalin interfaceValueDecoder
-
decodeByteArray
- Specified by:
decodeByteArrayin interfaceValueDecoder
-
decodeBit
- Specified by:
decodeBitin interfaceValueDecoder
-
decodeSet
- Specified by:
decodeSetin interfaceValueDecoder
-
decodeYear
- Specified by:
decodeYearin interfaceValueDecoder
-