Top Fields Constructors Methods
com.mysql.cj.protocol.x

public Class XProtocolDecoder

extends Object
implements ValueDecoder
Class Inheritance
All Implemented Interfaces
com.mysql.cj.protocol.ValueDecoder
Imports
java.io.IOException, java.math.BigDecimal, .BigInteger, java.nio.ByteBuffer, .CharBuffer, com.google.protobuf.CodedInputStream, com.mysql.cj.exceptions.AssertionFailedException, .DataReadException, com.mysql.cj.protocol.InternalDate, .InternalTime, .InternalTimestamp, .ValueDecoder, com.mysql.cj.result.Field, .ValueFactory

Field Summary

Modifier and TypeField and Description
public static XProtocolDecoder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public <T> T
decodeBit(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeBit.

public <T> T
decodeByteArray(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeByteArray.

public <T> T
decodeDate(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDate.

public <T> T
decodeDatetime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDatetime.

public <T> T
decodeDecimal(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDecimal.

public <T> T
decodeDouble(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDouble.

public <T> T
decodeFloat(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeFloat.

public <T> T
decodeInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt1.

public <T> T
decodeInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt2.

public <T> T
decodeInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt4.

public <T> T
decodeInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt8.

public <T> T
decodeSet(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeSet.

public <T> T
decodeTime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeTime.

public <T> T
decodeTimestamp(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeTimestamp.

public <T> T
decodeUInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt1.

public <T> T
decodeUInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt2.

public <T> T
decodeUInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt4.

public <T> T
decodeUInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt8.

public <T> T
decodeYear(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeYear.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
public static XProtocolDecoder instance

Constructor Detail

XProtocolDecoderback to summary
public XProtocolDecoder()

Method Detail

decodeBitback to summary
public <T> T decodeBit(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeBit.

Annotations
@Override
decodeByteArrayback to summary
public <T> T decodeByteArray(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeByteArray.

Annotations
@Override
decodeDateback to summary
public <T> T decodeDate(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDate.

Annotations
@Override
decodeDatetimeback to summary
public <T> T decodeDatetime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDatetime.

Annotations
@Override
decodeDecimalback to summary
public <T> T decodeDecimal(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDecimal.

Annotations
@Override
decodeDoubleback to summary
public <T> T decodeDouble(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeDouble.

Annotations
@Override
decodeFloatback to summary
public <T> T decodeFloat(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeFloat.

Annotations
@Override
decodeInt1back to summary
public <T> T decodeInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt1.

Annotations
@Override
decodeInt2back to summary
public <T> T decodeInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt2.

Annotations
@Override
decodeInt4back to summary
public <T> T decodeInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt4.

Annotations
@Override
decodeInt8back to summary
public <T> T decodeInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeInt8.

Annotations
@Override
decodeSetback to summary
public <T> T decodeSet(byte[] bytes, int offset, int length, Field f, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeSet.

Annotations
@Override
decodeTimeback to summary
public <T> T decodeTime(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeTime.

Annotations
@Override
decodeTimestampback to summary
public <T> T decodeTimestamp(byte[] bytes, int offset, int length, int scale, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeTimestamp.

Annotations
@Override
decodeUInt1back to summary
public <T> T decodeUInt1(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt1.

Annotations
@Override
decodeUInt2back to summary
public <T> T decodeUInt2(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt2.

Annotations
@Override
decodeUInt4back to summary
public <T> T decodeUInt4(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt4.

Annotations
@Override
decodeUInt8back to summary
public <T> T decodeUInt8(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeUInt8.

Annotations
@Override
decodeYearback to summary
public <T> T decodeYear(byte[] bytes, int offset, int length, ValueFactory<T> vf)

Implements com.mysql.cj.protocol.ValueDecoder.decodeYear.

Annotations
@Override