public abstract static class TypedConsumer.SetConsumer extends TypedConsumer
TypedConsumer.BoolConsumer, TypedConsumer.ByteConsumer, TypedConsumer.DoubleConsumer, TypedConsumer.I16Consumer, TypedConsumer.I32Consumer, TypedConsumer.I64Consumer, TypedConsumer.ListConsumer, TypedConsumer.MapConsumer, TypedConsumer.SetConsumer, TypedConsumer.StringConsumer, TypedConsumer.StructConsumertype| Modifier | Constructor and Description |
|---|---|
protected |
SetConsumer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
consumeElement(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
byte elemType)
can either delegate to the reader or read the set from the protocol
|
void |
consumeSet(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TSet tSet) |
readpublic void consumeSet(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TSet tSet)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic abstract void consumeElement(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
byte elemType)
throws org.apache.thrift.TException
protocol - the underlying protocolreader - the reader to delegate toelemType - the type of the elementorg.apache.thrift.TException - if any thrift related error occurs during the readingCopyright © 2020 The Apache Software Foundation. All rights reserved.