Class TypedConsumer.StructConsumer

    • Constructor Detail

      • StructConsumer

        protected StructConsumer()
    • Method Detail

      • consumeStruct

        public abstract void consumeStruct​(org.apache.thrift.protocol.TProtocol protocol,
                                           EventBasedThriftReader reader)
                                    throws org.apache.thrift.TException
        can either delegate to the reader or read the struct from the protocol reader.readStruct(fieldConsumer);
        Parameters:
        protocol - the underlying protocol
        reader - the reader to delegate to
        Throws:
        org.apache.thrift.TException