public abstract class ParameterHolder extends Object implements Cloneable
Constructor and Description |
---|
ParameterHolder() |
Modifier and Type | Method and Description |
---|---|
abstract long |
getApproximateTextProtocolLength() |
abstract MariaDbType |
getMariaDbType() |
abstract boolean |
isLongData() |
String |
toString()
Nice formatting of prepared statements using PreparedStatement.toString().
|
void |
writeBufferType(PacketOutputStream buffer) |
abstract void |
writeTo(OutputStream os)
Write parameter value.
|
public abstract void writeTo(OutputStream os) throws IOException
os
- the stream to write toIOException
- when something goes wrongpublic abstract long getApproximateTextProtocolLength() throws IOException
IOException
public String toString()
public abstract boolean isLongData()
public abstract MariaDbType getMariaDbType()
public void writeBufferType(PacketOutputStream buffer)
Copyright © 2016. All rights reserved.