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.StructConsumer
type
Modifier | Constructor and Description |
---|---|
protected |
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);
|
read
public 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.TException
Copyright © 2024 The Apache Software Foundation. All rights reserved.