public class NullParameter extends ParameterHolder
Constructor and Description |
---|
NullParameter() |
NullParameter(MariaDbType type) |
Modifier and Type | Method and Description |
---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
boolean |
isLongData() |
void |
writeTo(OutputStream os)
Write parameter value.
|
toString, writeBufferType
public NullParameter()
public NullParameter(MariaDbType type)
public void writeTo(OutputStream os) throws IOException
ParameterHolder
writeTo
in class ParameterHolder
os
- the stream to write toIOException
- when something goes wrongpublic long getApproximateTextProtocolLength()
getApproximateTextProtocolLength
in class ParameterHolder
public boolean isLongData()
isLongData
in class ParameterHolder
public MariaDbType getMariaDbType()
getMariaDbType
in class ParameterHolder
Copyright © 2016. All rights reserved.