public class InputStreamValueEncoder extends AbstractValueEncoder
charEncoding, exceptionInterceptor, preserveInstants, propertySet, sendFractionalSeconds, sendFractionalSecondsForTime, serverSession
Constructor and Description |
---|
InputStreamValueEncoder() |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsBinary(Message msg,
BindValue binding) |
void |
encodeAsText(Message msg,
BindValue binding) |
byte[] |
getBytes(BindValue binding) |
java.lang.String |
getString(BindValue binding) |
protected byte[] |
streamToBytes(java.io.InputStream in,
long length,
NativePacketPayload packet) |
adjustDuration, adjustLocalDateTime, adjustLocalTime, adjustTime, adjustTimestamp, encodeAsQueryAttribute, escapeBytesIfNeeded, getBinaryLength, getScaled, getTextLength, init, writeDate, writeDateTime, writeDateTimeWithOffset, writeTime
public byte[] getBytes(BindValue binding)
getBytes
in interface ValueEncoder
getBytes
in class AbstractValueEncoder
public java.lang.String getString(BindValue binding)
public void encodeAsText(Message msg, BindValue binding)
encodeAsText
in interface ValueEncoder
encodeAsText
in class AbstractValueEncoder
protected byte[] streamToBytes(java.io.InputStream in, long length, NativePacketPayload packet)