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

public Class ReaderValueEncoder

extends AbstractValueEncoder
Class Inheritance
Known Direct Subclasses
com.mysql.cj.protocol.a.ClobValueEncoder
Imports
java.io.IOException, .Reader, .UnsupportedEncodingException, com.mysql.cj.BindValue, com.mysql.cj.conf.PropertyKey, com.mysql.cj.exceptions.CJOperationNotSupportedException, .ExceptionFactory, .WrongArgumentException, com.mysql.cj.protocol.Message, com.mysql.cj.util.StringUtils, .Util

Field Summary

Inherited from com.mysql.cj.protocol.a.AbstractValueEncoder:
charEncodingexceptionInterceptorpreserveInstantspropertySetsendFractionalSecondssendFractionalSecondsForTimeserverSession

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public byte[]
public String
protected byte[]
readBytes(Reader reader, BindValue binding)

Inherited from com.mysql.cj.protocol.a.AbstractValueEncoder:
adjustDurationadjustLocalDateTimeadjustLocalTimeadjustTimeadjustTimestampencodeAsQueryAttributeencodeAsTextescapeBytesIfNeededgetBinaryLengthgetScaledgetTextLengthinitwriteDatewriteDateTimewriteDateTimeWithOffsetwriteTime

Constructor Detail

ReaderValueEncoderback to summary
public ReaderValueEncoder()

Method Detail

encodeAsBinaryback to summary
public void encodeAsBinary(Message msg, BindValue binding)

Implements com.mysql.cj.protocol.ValueEncoder.encodeAsBinary.

Annotations
@Override
getBytesback to summary
public byte[] getBytes(BindValue binding)

Overrides com.mysql.cj.protocol.a.AbstractValueEncoder.getBytes.

Implements com.mysql.cj.protocol.ValueEncoder.getBytes.

Annotations
@Override
getStringback to summary
public String getString(BindValue binding)

Implements com.mysql.cj.protocol.ValueEncoder.getString.

Annotations
@Override
readBytesback to summary
protected byte[] readBytes(Reader reader, BindValue binding)