public class InterningProtocol
extends org.apache.thrift.protocol.TProtocol
org.apache.thrift.protocol.TProtocol.ReadCallback<T,R>, org.apache.thrift.protocol.TProtocol.ReadCollectionCallback<R>, org.apache.thrift.protocol.TProtocol.ReadMapEntryCallback<K,V>, org.apache.thrift.protocol.TProtocol.WriteCallback<T>| Constructor and Description |
|---|
InterningProtocol(org.apache.thrift.protocol.TProtocol delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getMinSerializedSize(byte type) |
org.apache.thrift.transport.TTransport |
getTransport() |
int |
hashCode() |
ByteBuffer |
readBinary() |
boolean |
readBool() |
byte |
readByte() |
double |
readDouble() |
org.apache.thrift.protocol.TField |
readFieldBegin() |
void |
readFieldEnd() |
short |
readI16() |
int |
readI32() |
long |
readI64() |
org.apache.thrift.protocol.TList |
readListBegin() |
void |
readListEnd() |
org.apache.thrift.protocol.TMap |
readMapBegin() |
void |
readMapEnd() |
org.apache.thrift.protocol.TMessage |
readMessageBegin() |
void |
readMessageEnd() |
org.apache.thrift.protocol.TSet |
readSetBegin() |
void |
readSetEnd() |
String |
readString() |
org.apache.thrift.protocol.TStruct |
readStructBegin() |
void |
readStructEnd() |
UUID |
readUuid() |
void |
reset() |
String |
toString() |
void |
writeBinary(ByteBuffer buf) |
void |
writeBool(boolean b) |
void |
writeByte(byte b) |
void |
writeDouble(double dub) |
void |
writeFieldBegin(org.apache.thrift.protocol.TField field) |
void |
writeFieldEnd() |
void |
writeFieldStop() |
void |
writeI16(short i16) |
void |
writeI32(int i32) |
void |
writeI64(long i64) |
void |
writeListBegin(org.apache.thrift.protocol.TList list) |
void |
writeListEnd() |
void |
writeMapBegin(org.apache.thrift.protocol.TMap map) |
void |
writeMapEnd() |
void |
writeMessageBegin(org.apache.thrift.protocol.TMessage message) |
void |
writeMessageEnd() |
void |
writeSetBegin(org.apache.thrift.protocol.TSet set) |
void |
writeSetEnd() |
void |
writeString(String str) |
void |
writeStructBegin(org.apache.thrift.protocol.TStruct struct) |
void |
writeStructEnd() |
void |
writeUuid(UUID uuid) |
checkReadBytesAvailable, checkReadBytesAvailable, checkReadBytesAvailable, getScheme, readField, readFieldBeginData, readList, readList, readList, readMap, readMap, readMap, readMessage, readSet, readSet, readSet, readStruct, skip, skip, skipBinary, skipBool, skipByte, skipBytes, skipDouble, skipI16, skipI32, skipI64, writeField, writeList, writeMap, writeMessage, writeSet, writeStructpublic InterningProtocol(org.apache.thrift.protocol.TProtocol delegate)
public org.apache.thrift.transport.TTransport getTransport()
getTransport in class org.apache.thrift.protocol.TProtocolpublic void writeMessageBegin(org.apache.thrift.protocol.TMessage message)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeMessageEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeStructBegin(org.apache.thrift.protocol.TStruct struct)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeStructEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeFieldBegin(org.apache.thrift.protocol.TField field)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeFieldEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeFieldStop()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeMapBegin(org.apache.thrift.protocol.TMap map)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeMapEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeListBegin(org.apache.thrift.protocol.TList list)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeListEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeSetBegin(org.apache.thrift.protocol.TSet set)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeSetEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeBool(boolean b)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeByte(byte b)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeI16(short i16)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeI32(int i32)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeI64(long i64)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeUuid(UUID uuid) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeDouble(double dub)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeString(String str) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void writeBinary(ByteBuffer buf) throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TMessage readMessageBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readMessageEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TStruct readStructBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readStructEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TField readFieldBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readFieldEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TMap readMapBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readMapEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TList readListBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readListEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic org.apache.thrift.protocol.TSet readSetBegin()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void readSetEnd()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic boolean readBool()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic byte readByte()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic short readI16()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic int readI32()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic long readI64()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic UUID readUuid() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic double readDouble()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic String readString() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic ByteBuffer readBinary() throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void reset()
reset in class org.apache.thrift.protocol.TProtocolpublic int getMinSerializedSize(byte type)
throws org.apache.thrift.TException
getMinSerializedSize in class org.apache.thrift.protocol.TProtocolorg.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.