Package com.mysql.cj.protocol.x
Class XProtocolDecoder
java.lang.Object
com.mysql.cj.protocol.x.XProtocolDecoder
- All Implemented Interfaces:
ValueDecoder
public class XProtocolDecoder extends java.lang.Object implements ValueDecoder
-
Field Summary
Fields Modifier and Type Field Description static XProtocolDecoder
instance
-
Constructor Summary
Constructors Constructor Description XProtocolDecoder()
-
Method Summary
Modifier and Type Method Description <T> T
decodeBit(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeByteArray(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)
<T> T
decodeDate(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeDatetime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
<T> T
decodeDecimal(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeDouble(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeFloat(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeSet(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)
<T> T
decodeTime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
<T> T
decodeTimestamp(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)
<T> T
decodeUInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeUInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeUInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeUInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)
<T> T
decodeYear(byte[] bytes, int offset, int length, ValueFactory<T> vf)
-
Field Details
-
Constructor Details
-
XProtocolDecoder
public XProtocolDecoder()
-
-
Method Details
-
decodeDate
- Specified by:
decodeDate
in interfaceValueDecoder
-
decodeTime
- Specified by:
decodeTime
in interfaceValueDecoder
-
decodeTimestamp
- Specified by:
decodeTimestamp
in interfaceValueDecoder
-
decodeDatetime
- Specified by:
decodeDatetime
in interfaceValueDecoder
-
decodeInt1
- Specified by:
decodeInt1
in interfaceValueDecoder
-
decodeUInt1
- Specified by:
decodeUInt1
in interfaceValueDecoder
-
decodeInt2
- Specified by:
decodeInt2
in interfaceValueDecoder
-
decodeUInt2
- Specified by:
decodeUInt2
in interfaceValueDecoder
-
decodeInt4
- Specified by:
decodeInt4
in interfaceValueDecoder
-
decodeUInt4
- Specified by:
decodeUInt4
in interfaceValueDecoder
-
decodeInt8
- Specified by:
decodeInt8
in interfaceValueDecoder
-
decodeUInt8
- Specified by:
decodeUInt8
in interfaceValueDecoder
-
decodeFloat
- Specified by:
decodeFloat
in interfaceValueDecoder
-
decodeDouble
- Specified by:
decodeDouble
in interfaceValueDecoder
-
decodeDecimal
- Specified by:
decodeDecimal
in interfaceValueDecoder
-
decodeByteArray
- Specified by:
decodeByteArray
in interfaceValueDecoder
-
decodeBit
- Specified by:
decodeBit
in interfaceValueDecoder
-
decodeSet
- Specified by:
decodeSet
in interfaceValueDecoder
-
decodeYear
- Specified by:
decodeYear
in interfaceValueDecoder
-