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.StructConsumertype| Modifier | Constructor and Description |
|---|---|
protected |
TypedConsumer.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) |
readpublic void consumeMap(org.apache.thrift.protocol.TProtocol protocol,
EventBasedThriftReader reader,
org.apache.thrift.protocol.TMap tMap)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic 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.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.