public class XProtocolDecoder extends java.lang.Object implements ValueDecoder
| Modifier and Type | Field and Description |
|---|---|
static XProtocolDecoder |
instance |
| Constructor and Description |
|---|
XProtocolDecoder() |
| Modifier and Type | Method and 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) |
public static XProtocolDecoder instance
public <T> T decodeDate(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeDate in interface ValueDecoderpublic <T> T decodeTime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf)
decodeTime in interface ValueDecoderpublic <T> T decodeTimestamp(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf)
decodeTimestamp in interface ValueDecoderpublic <T> T decodeDatetime(byte[] bytes,
int offset,
int length,
int scale,
ValueFactory<T> vf)
decodeDatetime in interface ValueDecoderpublic <T> T decodeInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeInt1 in interface ValueDecoderpublic <T> T decodeUInt1(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeUInt1 in interface ValueDecoderpublic <T> T decodeInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeInt2 in interface ValueDecoderpublic <T> T decodeUInt2(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeUInt2 in interface ValueDecoderpublic <T> T decodeInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeInt4 in interface ValueDecoderpublic <T> T decodeUInt4(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeUInt4 in interface ValueDecoderpublic <T> T decodeInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeInt8 in interface ValueDecoderpublic <T> T decodeUInt8(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeUInt8 in interface ValueDecoderpublic <T> T decodeFloat(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeFloat in interface ValueDecoderpublic <T> T decodeDouble(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeDouble in interface ValueDecoderpublic <T> T decodeDecimal(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeDecimal in interface ValueDecoderpublic <T> T decodeByteArray(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf)
decodeByteArray in interface ValueDecoderpublic <T> T decodeBit(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeBit in interface ValueDecoderpublic <T> T decodeSet(byte[] bytes,
int offset,
int length,
Field f,
ValueFactory<T> vf)
decodeSet in interface ValueDecoderpublic <T> T decodeYear(byte[] bytes,
int offset,
int length,
ValueFactory<T> vf)
decodeYear in interface ValueDecoder