public class StreamParameter extends LongDataParameterHolder
mySQLServerCharset| Constructor and Description |
|---|
StreamParameter(InputStream is,
boolean noBackSlashEscapes) |
StreamParameter(InputStream is,
long length,
boolean noBackslashEscapes) |
| Modifier and Type | Method and Description |
|---|---|
MySQLType |
getMySQLType() |
void |
setText(boolean b) |
String |
toString() |
void |
writeBinary(PacketOutputStream os) |
void |
writeTo(OutputStream os)
Write parameter value
|
isLongData, setMySQLServerCharsetwriteBufferTypepublic StreamParameter(InputStream is, long length, boolean noBackslashEscapes)
public StreamParameter(InputStream is, boolean noBackSlashEscapes)
public void setText(boolean b)
public void writeTo(OutputStream os) throws IOException
ParameterHolderwriteTo in class ParameterHolderos - the stream to write toIOException - when something goes wrongpublic void writeBinary(PacketOutputStream os) throws IOException
writeBinary in class LongDataParameterHolderIOExceptionpublic String toString()
toString in class ParameterHolderpublic MySQLType getMySQLType()
getMySQLType in class ParameterHolderCopyright © 2015. All rights reserved.