public class ByteArrayValueEncoder extends AbstractValueEncoder
Modifier and Type | Field and Description |
---|---|
protected RuntimeProperty<java.lang.Integer> |
maxByteArrayAsHex |
charEncoding, exceptionInterceptor, preserveInstants, propertySet, sendFractionalSeconds, sendFractionalSecondsForTime, serverSession
Constructor and Description |
---|
ByteArrayValueEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsBinary(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, encodeAsQueryAttribute, encodeAsText, escapeBytesIfNeeded, getBinaryLength, getScaled, getTextLength, writeDate, writeDateTime, writeDateTimeWithOffset, writeTime
protected RuntimeProperty<java.lang.Integer> maxByteArrayAsHex
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)