public abstract static class TypedConsumer.StructConsumer 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.StructConsumer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
consumeStruct(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader)
can either delegate to the reader or read the struct from the protocol
reader.readStruct(fieldConsumer);
|
readpublic abstract void consumeStruct(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader)
throws org.apache.thrift.TException
protocol - the underlying protocolreader - the reader to delegate toorg.apache.thrift.TExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.