public abstract static class TypedConsumer.MapConsumer 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 |
MapConsumer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
consumeEntry(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
byte keyType,
byte valueType)
can either delegate to the reader or read the map entry from the protocol
|
void |
consumeMap(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TMap tMap) |
read
public void consumeMap(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, org.apache.thrift.protocol.TMap tMap) throws org.apache.thrift.TException
org.apache.thrift.TException
public abstract void consumeEntry(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, byte keyType, byte valueType) throws org.apache.thrift.TException
protocol
- the underlying protocolreader
- the reader to delegate toorg.apache.thrift.TException
Copyright © 2021 The Apache Software Foundation. All rights reserved.