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, writeTimepublic byte[] getBytes(BindValue binding)
getBytes in interface ValueEncodergetBytes in class AbstractValueEncoderpublic java.lang.String getString(BindValue binding)
public void encodeAsText(Message msg, BindValue binding)
encodeAsText in interface ValueEncoderencodeAsText in class AbstractValueEncoderprotected byte[] streamToBytes(java.io.InputStream in,
long length,
NativePacketPayload packet)