Class TypedConsumer.ListConsumer

    • Constructor Detail

      • ListConsumer

        protected ListConsumer()
    • Method Detail

      • consumeList

        public void consumeList​(org.apache.thrift.protocol.TProtocol protocol,
                                EventBasedThriftReader reader,
                                org.apache.thrift.protocol.TList tList)
                         throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException
      • consumeElement

        public abstract void consumeElement​(org.apache.thrift.protocol.TProtocol protocol,
                                            EventBasedThriftReader reader,
                                            byte elemType)
                                     throws org.apache.thrift.TException
        can either delegate to the reader or read the element from the protocol
        Parameters:
        protocol - the underlying protocol
        reader - the reader to delegate to
        elemType - the type of the element
        Throws:
        org.apache.thrift.TException - if any thrift related error occurs during the reading