public class NullParameter extends ParameterHolder
| Constructor and Description |
|---|
NullParameter() |
NullParameter(MariaDbType type) |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
boolean |
isLongData() |
String |
toString()
Nice formatting of prepared statements using PreparedStatement.toString().
|
void |
writeTo(OutputStream os)
Write parameter value.
|
writeBufferTypepublic NullParameter()
public NullParameter(MariaDbType type)
public void writeTo(OutputStream os) throws IOException
ParameterHolderwriteTo in class ParameterHolderos - the stream to write toIOException - when something goes wrongpublic long getApproximateTextProtocolLength()
getApproximateTextProtocolLength in class ParameterHolderpublic boolean isLongData()
isLongData in class ParameterHolderpublic MariaDbType getMariaDbType()
getMariaDbType in class ParameterHolderpublic String toString()
ParameterHoldertoString in class ParameterHolderCopyright © 2016. All rights reserved.