Class InterningProtocol


  • @Deprecated
    public class InterningProtocol
    extends org.apache.thrift.protocol.TProtocol
    Deprecated.
    java code moved to the parquet-mr project: See org.apache.parquet:parquet-format-structures; Will be removed from here
    TProtocol that interns the strings.
    • Constructor Detail

      • InterningProtocol

        public InterningProtocol​(org.apache.thrift.protocol.TProtocol delegate)
        Deprecated.
    • Method Detail

      • getTransport

        public org.apache.thrift.transport.TTransport getTransport()
        Deprecated.
        Overrides:
        getTransport in class org.apache.thrift.protocol.TProtocol
      • writeMessageBegin

        public void writeMessageBegin​(org.apache.thrift.protocol.TMessage message)
                               throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeMessageBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeMessageEnd

        public void writeMessageEnd()
                             throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeMessageEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • writeStructBegin

        public void writeStructBegin​(org.apache.thrift.protocol.TStruct struct)
                              throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeStructBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeStructEnd

        public void writeStructEnd()
                            throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeStructEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeFieldBegin

        public void writeFieldBegin​(org.apache.thrift.protocol.TField field)
                             throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeFieldBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeFieldEnd

        public void writeFieldEnd()
                           throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeFieldEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeFieldStop

        public void writeFieldStop()
                            throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeFieldStop in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeMapBegin

        public void writeMapBegin​(org.apache.thrift.protocol.TMap map)
                           throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeMapBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeMapEnd

        public void writeMapEnd()
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeMapEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeListBegin

        public void writeListBegin​(org.apache.thrift.protocol.TList list)
                            throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeListBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeListEnd

        public void writeListEnd()
                          throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeListEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeSetBegin

        public void writeSetBegin​(org.apache.thrift.protocol.TSet set)
                           throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeSetBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeSetEnd

        public void writeSetEnd()
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeSetEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeBool

        public void writeBool​(boolean b)
                       throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeBool in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeByte

        public void writeByte​(byte b)
                       throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeByte in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeI16

        public void writeI16​(short i16)
                      throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeI16 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeI32

        public void writeI32​(int i32)
                      throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeI32 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeI64

        public void writeI64​(long i64)
                      throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeI64 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeDouble

        public void writeDouble​(double dub)
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeDouble in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeString

        public void writeString​(String str)
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeString in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • writeBinary

        public void writeBinary​(ByteBuffer buf)
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        writeBinary in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readMessageBegin

        public org.apache.thrift.protocol.TMessage readMessageBegin()
                                                             throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readMessageBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readMessageEnd

        public void readMessageEnd()
                            throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readMessageEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readStructBegin

        public org.apache.thrift.protocol.TStruct readStructBegin()
                                                           throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readStructBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readStructEnd

        public void readStructEnd()
                           throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readStructEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readFieldBegin

        public org.apache.thrift.protocol.TField readFieldBegin()
                                                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readFieldBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readFieldEnd

        public void readFieldEnd()
                          throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readFieldEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readMapBegin

        public org.apache.thrift.protocol.TMap readMapBegin()
                                                     throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readMapBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readMapEnd

        public void readMapEnd()
                        throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readMapEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readListBegin

        public org.apache.thrift.protocol.TList readListBegin()
                                                       throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readListBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readListEnd

        public void readListEnd()
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readListEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readSetBegin

        public org.apache.thrift.protocol.TSet readSetBegin()
                                                     throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readSetBegin in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readSetEnd

        public void readSetEnd()
                        throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readSetEnd in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object
      • readBool

        public boolean readBool()
                         throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readBool in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readByte

        public byte readByte()
                      throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readByte in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readI16

        public short readI16()
                      throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readI16 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readI32

        public int readI32()
                    throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readI32 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readI64

        public long readI64()
                     throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readI64 in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readDouble

        public double readDouble()
                          throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readDouble in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readString

        public String readString()
                          throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readString in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • readBinary

        public ByteBuffer readBinary()
                              throws org.apache.thrift.TException
        Deprecated.
        Specified by:
        readBinary in class org.apache.thrift.protocol.TProtocol
        Throws:
        org.apache.thrift.TException
      • reset

        public void reset()
        Deprecated.
        Overrides:
        reset in class org.apache.thrift.protocol.TProtocol