public class StringValueEncoder extends AbstractValueEncoder
charEncoding, exceptionInterceptor, preserveInstants, propertySet, sendFractionalSeconds, sendFractionalSecondsForTime, serverSession
Constructor and Description |
---|
StringValueEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsBinary(Message msg,
BindValue binding) |
void |
encodeAsQueryAttribute(Message msg,
BindValue binding) |
byte[] |
getBytes(BindValue binding) |
java.lang.String |
getString(BindValue binding) |
void |
init(PropertySet pset,
ServerSession serverSess,
ExceptionInterceptor excInterceptor) |
adjustDuration, adjustLocalDateTime, adjustLocalTime, adjustTime, adjustTimestamp, encodeAsText, escapeBytesIfNeeded, getBinaryLength, getScaled, getTextLength, writeDate, writeDateTime, writeDateTimeWithOffset, writeTime
public void init(PropertySet pset, ServerSession serverSess, ExceptionInterceptor excInterceptor)
init
in interface ValueEncoder
init
in class AbstractValueEncoder
public byte[] getBytes(BindValue binding)
getBytes
in interface ValueEncoder
getBytes
in class AbstractValueEncoder
public java.lang.String getString(BindValue binding)
public void encodeAsQueryAttribute(Message msg, BindValue binding)
encodeAsQueryAttribute
in interface ValueEncoder
encodeAsQueryAttribute
in class AbstractValueEncoder