public class OBStreamParameter extends Object implements Cloneable, LongDataParameterHolder
BLOB_STREAM_READ_BUF_SIZEBINARY_INTRODUCER, QUOTE| 构造器和说明 |
|---|
OBStreamParameter(Blob blob,
boolean noBackslashEscapes) |
OBStreamParameter(byte[] lobLocatorBinary,
boolean noBackslashEscapes) |
OBStreamParameter(InputStream is,
boolean noBackSlashEscapes) |
OBStreamParameter(InputStream is,
long length,
boolean noBackslashEscapes)
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getApproximateTextProtocolLength()
Return approximated data calculated length.
|
ColumnType |
getColumnType() |
boolean |
isLongData() |
boolean |
isNullData() |
String |
toString() |
void |
writeBinary(PacketOutputStream pos)
Write data to socket in binary format.
|
boolean |
writeLongData(PacketOutputStream pos,
Options options,
int statementId,
short paramIndex)
Never used
|
boolean |
writePieceData(PacketOutputStream writer,
boolean first,
Options options) |
void |
writeTo(PacketOutputStream pos)
Write stream in text format.
|
public OBStreamParameter(InputStream is, long length, boolean noBackslashEscapes)
is - stream to writelength - max length to write (if null the whole stream will be send)noBackslashEscapes - must backslash be escapepublic OBStreamParameter(InputStream is, boolean noBackSlashEscapes)
public OBStreamParameter(byte[] lobLocatorBinary,
boolean noBackslashEscapes)
public OBStreamParameter(Blob blob, boolean noBackslashEscapes)
public void writeTo(PacketOutputStream pos) throws IOException
writeTo 在接口中 ParameterHolderpos - database outputStreamIOException - if any error occur when reader streampublic int getApproximateTextProtocolLength()
getApproximateTextProtocolLength 在接口中 ParameterHolderpublic void writeBinary(PacketOutputStream pos) throws IOException
writeBinary 在接口中 ParameterHolderpos - socket output streamIOException - if socket error occurpublic String toString()
toString 在接口中 ParameterHoldertoString 在类中 Objectpublic ColumnType getColumnType()
getColumnType 在接口中 ParameterHolderpublic boolean isNullData()
isNullData 在接口中 ParameterHolderpublic boolean isLongData()
isLongData 在接口中 ParameterHolderpublic boolean writePieceData(PacketOutputStream writer, boolean first, Options options) throws IOException
writePieceData 在接口中 LongDataParameterHolderIOExceptionpublic boolean writeLongData(PacketOutputStream pos, Options options, int statementId, short paramIndex) throws IOException
writeLongData 在接口中 LongDataParameterHolderpos - options - statementId - paramIndex - IOExceptionCopyright © 2024 oceanbase.com. All rights reserved.