public class Ob20PacketOutputStream extends AbstractPacketOutputStream
buf, charset, cmdLength, enableNetworkStatistics, maxAllowedPacket, maxPacketLength, maxQuerySizeToLog, mysqlSeqNo, permitTrace, pos, serverThreadLog, threadId, timestampBeforeFlush, traceCacheout| Constructor and Description |
|---|
Ob20PacketOutputStream(OutputStream out,
int maxQuerySizeToLog,
String encoding,
long threadId,
OceanBaseProtocolV20 ob20) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushBuffer(boolean commandEnd) |
int |
initialPacketPos() |
void |
setMaxAllowedPacket(int maxAllowedPacket) |
void |
startPacket(int compressSeqNo) |
void |
writeEmptyPacket() |
bufferIsDataAfterMark, checkMaxAllowedLength, checkRemainingSize, clearNetworkStatistics, enableNetworkStatistics, exceedMaxLength, flush, flushBufferStopAtMark, getCharset, getMaxAllowedPacket, getMaxPacketLength, getOutputStream, getPosition, getTimestampBeforeFlush, getTimeZone, isMarked, mark, permitTrace, resetMark, setPosition, setServerThreadId, setTimeZone, setTraceCache, write, write, write, write, write, write, write, write, write, writeBytes, writeBytesEscaped, writeBytesEscapedQuote, writeEmptyPacket, writeEscapeQuote, writeEscapeQuote, writeFieldLength, writeFloatV1, writeHex, writeHex, writeInt, writeIntV1, writeLong, writeLongV1, writeShortcloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic Ob20PacketOutputStream(OutputStream out, int maxQuerySizeToLog, String encoding, long threadId, OceanBaseProtocolV20 ob20)
public int initialPacketPos()
public void startPacket(int compressSeqNo)
startPacket in interface PacketOutputStreamstartPacket in class AbstractPacketOutputStreamprotected void flushBuffer(boolean commandEnd)
throws IOException
flushBuffer in class AbstractPacketOutputStreamIOExceptionpublic void writeEmptyPacket()
throws IOException
writeEmptyPacket in interface PacketOutputStreamwriteEmptyPacket in class AbstractPacketOutputStreamIOExceptionpublic void setMaxAllowedPacket(int maxAllowedPacket)
setMaxAllowedPacket in interface PacketOutputStreamsetMaxAllowedPacket in class AbstractPacketOutputStreamCopyright © 2022 oceanbase.com. All rights reserved.