public interface PacketOutputStream
| Modifier and Type | Method and Description |
|---|---|
boolean |
bufferIsDataAfterMark() |
void |
checkMaxAllowedLength(int length) |
boolean |
checkRemainingSize(int len) |
void |
clearNetworkStatistics() |
void |
close() |
void |
enableNetworkStatistics(boolean flag) |
boolean |
exceedMaxLength() |
void |
flush() |
void |
flushBufferStopAtMark() |
Charset |
getCharset() |
int |
getMaxAllowedPacket() |
OutputStream |
getOutputStream() |
int |
getPosition() |
long |
getTimestampBeforeFlush() |
TimeZone |
getTimeZone() |
int |
initialPacketPos() |
boolean |
isMarked() |
void |
mark() |
void |
permitTrace(boolean permitTrace) |
byte[] |
resetMark() |
void |
setMaxAllowedPacket(int maxAllowedPacket) |
void |
setPosition(int val) |
void |
setServerThreadId(long serverThreadId,
Boolean isMaster) |
void |
setTimeZone(TimeZone timeZone) |
void |
setTraceCache(LruTraceCache traceCache) |
void |
startPacket(int seqNo) |
void |
write(byte[] arr) |
void |
write(byte[] arr,
int off,
int len) |
void |
write(InputStream is,
boolean escape,
boolean noBackslashEscapes) |
void |
write(InputStream is,
long length,
boolean escape,
boolean noBackslashEscapes) |
void |
write(int arr) |
void |
write(Reader reader,
boolean escape,
boolean noBackslashEscapes) |
void |
write(Reader reader,
long length,
boolean escape,
boolean noBackslashEscapes) |
void |
write(String str) |
void |
write(String str,
boolean escape,
boolean noBackslashEscapes) |
void |
writeBytes(byte value,
int len) |
void |
writeBytesEscaped(byte[] bytes,
int len,
boolean noBackslashEscapes) |
void |
writeBytesEscapedQuote(byte[] bytes,
int len,
boolean noBackslashEscapes) |
void |
writeEmptyPacket() |
void |
writeEmptyPacket(int seqNo) |
void |
writeEscapeQuote(Reader reader,
boolean noBackslashEscapes) |
void |
writeEscapeQuote(Reader reader,
long length,
boolean noBackslashEscapes) |
void |
writeFieldLength(long length) |
void |
writeFloatV1(float f) |
void |
writeHex(InputStream is,
boolean escape,
boolean noBackslashEscapes) |
void |
writeHex(InputStream is,
long length,
boolean escape,
boolean noBackslashEscapes) |
void |
writeInt(int value) |
void |
writeIntV1(int year) |
void |
writeLong(long value) |
void |
writeLongV1(long i) |
void |
writeShort(short value) |
void startPacket(int seqNo)
void writeEmptyPacket(int seqNo)
throws IOException
IOExceptionvoid writeEmptyPacket()
throws IOException
IOExceptionvoid write(int arr)
throws IOException
IOExceptionvoid write(byte[] arr)
throws IOException
IOExceptionvoid write(byte[] arr,
int off,
int len)
throws IOException
IOExceptionvoid write(String str) throws IOException
IOExceptionvoid write(String str, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(InputStream is, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(InputStream is, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeHex(InputStream is, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeHex(InputStream is, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(Reader reader, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid write(Reader reader, long length, boolean escape, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeEscapeQuote(Reader reader, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeEscapeQuote(Reader reader, long length, boolean noBackslashEscapes) throws IOException
IOExceptionvoid writeBytesEscaped(byte[] bytes,
int len,
boolean noBackslashEscapes)
throws IOException
IOExceptionvoid writeBytesEscapedQuote(byte[] bytes,
int len,
boolean noBackslashEscapes)
throws IOException
IOExceptionvoid flush()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionboolean checkRemainingSize(int len)
boolean exceedMaxLength()
OutputStream getOutputStream()
void writeShort(short value)
throws IOException
IOExceptionvoid writeInt(int value)
throws IOException
IOExceptionvoid writeLong(long value)
throws IOException
IOExceptionvoid writeBytes(byte value,
int len)
throws IOException
IOExceptionvoid writeFieldLength(long length)
throws IOException
IOExceptionint getMaxAllowedPacket()
void setMaxAllowedPacket(int maxAllowedPacket)
void permitTrace(boolean permitTrace)
void setServerThreadId(long serverThreadId,
Boolean isMaster)
void setTraceCache(LruTraceCache traceCache)
void mark() throws MaxAllowedPacketException
MaxAllowedPacketExceptionboolean isMarked()
void flushBufferStopAtMark()
throws IOException
IOExceptionboolean bufferIsDataAfterMark()
byte[] resetMark()
int initialPacketPos()
void checkMaxAllowedLength(int length)
throws MaxAllowedPacketException
MaxAllowedPacketExceptionvoid setPosition(int val)
int getPosition()
void setTimeZone(TimeZone timeZone)
TimeZone getTimeZone()
void writeIntV1(int year)
throws IOException
IOExceptionvoid writeLongV1(long i)
throws IOException
IOExceptionvoid writeFloatV1(float f)
throws IOException
IOExceptionvoid enableNetworkStatistics(boolean flag)
long getTimestampBeforeFlush()
void clearNetworkStatistics()
Charset getCharset()
Copyright © 2022 oceanbase.com. All rights reserved.