Class Consumers.DelegatingFieldConsumer

    • Method Detail

      • consumeField

        public void consumeField​(org.apache.thrift.protocol.TProtocol protocol,
                                 EventBasedThriftReader reader,
                                 short id,
                                 byte type)
                          throws org.apache.thrift.TException
        Description copied from interface: FieldConsumer
        called by the EventBasedThriftReader when reading a field from a Struct
        Specified by:
        consumeField in interface FieldConsumer
        Parameters:
        protocol - the underlying protocol
        reader - the reader to delegate to further calls.
        id - the id of the field
        type - the type of the field
        Throws:
        org.apache.thrift.TException - if any thrift related error occurs during the reading