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