public class VariableParameter extends NotLongDataParameterHolder
| Constructor and Description |
|---|
VariableParameter(String string,
boolean noBackslashEscapes) |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
void |
writeBinary(PacketOutputStream writeBuffer) |
void |
writeTo(OutputStream os)
Write parameter value.
|
isLongDatatoString, writeBufferTypepublic VariableParameter(String string, boolean noBackslashEscapes)
public void writeTo(OutputStream os) throws IOException
ParameterHolderwriteTo in class ParameterHolderos - the stream to write toIOException - when something goes wrongpublic long getApproximateTextProtocolLength()
throws IOException
getApproximateTextProtocolLength in class ParameterHolderIOExceptionpublic void writeBinary(PacketOutputStream writeBuffer)
writeBinary in class NotLongDataParameterHolderpublic MariaDbType getMariaDbType()
getMariaDbType in class ParameterHolderCopyright © 2016. All rights reserved.