接口 ValueEncoder
-
- 所有已知实现类:
AbstractValueEncoder,BlobValueEncoder,BooleanValueEncoder,ByteArrayValueEncoder,ClobValueEncoder,DurationValueEncoder,InputStreamValueEncoder,InstantValueEncoder,LocalDateTimeValueEncoder,LocalDateValueEncoder,LocalTimeValueEncoder,NumberValueEncoder,OffsetDateTimeValueEncoder,OffsetTimeValueEncoder,ReaderValueEncoder,SqlDateValueEncoder,SqlTimestampValueEncoder,SqlTimeValueEncoder,StringValueEncoder,UtilCalendarValueEncoder,UtilDateValueEncoder,ZonedDateTimeValueEncoder
public interface ValueEncoder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidencodeAsBinary(Message msg, BindValue binding)voidencodeAsQueryAttribute(Message msg, BindValue binding)voidencodeAsText(Message msg, BindValue binding)longgetBinaryLength(BindValue binding)byte[]getBytes(BindValue binding)StringgetString(BindValue binding)longgetTextLength(BindValue binding)voidinit(PropertySet pset, ServerSession serverSession, ExceptionInterceptor exceptionInterceptor)
-
-
-
方法详细资料
-
init
void init(PropertySet pset, ServerSession serverSession, ExceptionInterceptor exceptionInterceptor)
-
getBytes
byte[] getBytes(BindValue binding)
-
getTextLength
long getTextLength(BindValue binding)
-
getBinaryLength
long getBinaryLength(BindValue binding)
-
-