Class TypedConsumer.SetConsumer

    • Constructor Detail

      • SetConsumer

        protected SetConsumer()
    • Method Detail

      • consumeSet

        public void consumeSet​(org.apache.thrift.protocol.TProtocol protocol,
                               EventBasedThriftReader reader,
                               org.apache.thrift.protocol.TSet tSet)
                        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 set 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