public class TimeParameter extends NotLongDataParameter implements Cloneable
| Constructor and Description |
|---|
TimeParameter(Time time,
Calendar cal,
boolean fractionalSeconds)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateTextProtocolLength() |
MariaDbType |
getMariaDbType() |
String |
toString() |
void |
writeBinary(PacketOutputStream writeBuffer)
Write time in binary format.
|
void |
writeTo(PacketOutputStream os)
Write Time parameter to outputStream.
|
void |
writeUnsafeTo(PacketOutputStream os)
Write time parameter to outputStream without checking buffer size.
|
isLongData, isNullDatapublic void writeTo(PacketOutputStream os)
writeTo in interface ParameterHolderos - the stream to write topublic void writeUnsafeTo(PacketOutputStream os)
writeUnsafeTo in interface ParameterHolderos - the stream to write topublic long getApproximateTextProtocolLength()
throws IOException
getApproximateTextProtocolLength in interface ParameterHolderIOExceptionpublic void writeBinary(PacketOutputStream writeBuffer)
writeBinary in class NotLongDataParameterwriteBuffer - write bufferpublic MariaDbType getMariaDbType()
getMariaDbType in interface ParameterHolderpublic String toString()
toString in interface ParameterHoldertoString in class ObjectCopyright © 2017. All rights reserved.