类 InputStreamValueEncoder
- java.lang.Object
-
- com.mysql.cj.protocol.a.AbstractValueEncoder
-
- com.mysql.cj.protocol.a.InputStreamValueEncoder
-
- 所有已实现的接口:
ValueEncoder
- 直接已知子类:
BlobValueEncoder
public class InputStreamValueEncoder extends AbstractValueEncoder
-
-
字段概要
-
从类继承的字段 com.mysql.cj.protocol.a.AbstractValueEncoder
charEncoding, exceptionInterceptor, preserveInstants, propertySet, sendFractionalSeconds, sendFractionalSecondsForTime, serverSession
-
-
构造器概要
构造器 构造器 说明 InputStreamValueEncoder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidencodeAsBinary(Message msg, BindValue binding)voidencodeAsText(Message msg, BindValue binding)byte[]getBytes(BindValue binding)StringgetString(BindValue binding)protected byte[]streamToBytes(InputStream in, long length, NativePacketPayload packet)-
从类继承的方法 com.mysql.cj.protocol.a.AbstractValueEncoder
adjustDuration, adjustLocalDateTime, adjustLocalTime, adjustTime, adjustTimestamp, encodeAsQueryAttribute, escapeBytesIfNeeded, getBinaryLength, getScaled, getTextLength, init, writeDate, writeDateTime, writeDateTimeWithOffset, writeTime
-
-
-
-
方法详细资料
-
getBytes
public byte[] getBytes(BindValue binding)
- 指定者:
getBytes在接口中ValueEncoder- 覆盖:
getBytes在类中AbstractValueEncoder
-
encodeAsText
public void encodeAsText(Message msg, BindValue binding)
- 指定者:
encodeAsText在接口中ValueEncoder- 覆盖:
encodeAsText在类中AbstractValueEncoder
-
streamToBytes
protected byte[] streamToBytes(InputStream in, long length, NativePacketPayload packet)
-
-