public class ByteArrayParameter extends NotLongDataParameter implements Cloneable
| Constructor and Description |
|---|
ByteArrayParameter(byte[] bytes,
boolean noBackslashEscapes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
String |
toString() |
void |
writeBinary(PacketOutputStream writeBuffer) |
void |
writeTo(PacketOutputStream os)
Write parameter value.
|
void |
writeUnsafeTo(PacketOutputStream os) |
isLongData, isNullDatapublic ByteArrayParameter(byte[] bytes,
boolean noBackslashEscapes)
public void writeTo(PacketOutputStream os) throws IOException
ParameterHolderwriteTo in interface ParameterHolderos - the stream to write toIOException - when something goes wrongpublic void writeUnsafeTo(PacketOutputStream os) throws IOException
writeUnsafeTo in interface ParameterHolderIOExceptionpublic long getApproximateTextProtocolLength()
getApproximateTextProtocolLength in interface ParameterHolderpublic void writeBinary(PacketOutputStream writeBuffer)
writeBinary in class NotLongDataParameterpublic MariaDbType getMariaDbType()
getMariaDbType in interface ParameterHolderpublic String toString()
toString in interface ParameterHoldertoString in class ObjectCopyright © 2017. All rights reserved.