public abstract static class TypedConsumer.ListConsumer 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 |
TypedConsumer.ListConsumer() |
| 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 element from the protocol
|
void |
consumeList(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TList tList) |
readpublic void consumeList(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TList tList)
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 toorg.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.