public class SerializableParameter extends LongDataParameterHolder
| Constructor and Description |
|---|
SerializableParameter(Object object,
boolean noBackslashEscapes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength()
Return approximated data calculated length.
|
MariaDbType |
getMariaDbType() |
String |
toString()
Nice formatting of prepared statements using PreparedStatement.toString().
|
void |
writeBinary(PacketOutputStream os)
Write data in binary format to buffer.
|
void |
writeTo(OutputStream os)
Write object to buffer for text protocol.
|
isLongDatawriteBufferTypepublic SerializableParameter(Object object, boolean noBackslashEscapes) throws IOException
IOExceptionpublic void writeTo(OutputStream os) throws IOException
writeTo in class ParameterHolderos - the stream to write toIOException - if error reading streampublic long getApproximateTextProtocolLength()
throws IOException
getApproximateTextProtocolLength in class ParameterHolderIOException - if error reading streampublic void writeBinary(PacketOutputStream os) throws IOException
writeBinary in class LongDataParameterHolderos - bufferIOException - exceptionpublic String toString()
ParameterHoldertoString in class ParameterHolderpublic MariaDbType getMariaDbType()
getMariaDbType in class ParameterHolderCopyright © 2016. All rights reserved.