Package org.apache.parquet.format.event
Class TypedConsumer.MapConsumer
java.lang.Object
org.apache.parquet.format.event.TypedConsumer
org.apache.parquet.format.event.TypedConsumer.MapConsumer
- Enclosing class:
- TypedConsumer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.parquet.format.event.TypedConsumer
TypedConsumer.BoolConsumer, TypedConsumer.ByteConsumer, TypedConsumer.DoubleConsumer, TypedConsumer.I16Consumer, TypedConsumer.I32Consumer, TypedConsumer.I64Consumer, TypedConsumer.ListConsumer, TypedConsumer.MapConsumer, TypedConsumer.SetConsumer, TypedConsumer.StringConsumer, TypedConsumer.StructConsumer -
Field Summary
Fields inherited from class org.apache.parquet.format.event.TypedConsumer
type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidconsumeEntry(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 protocolvoidconsumeMap(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, org.apache.thrift.protocol.TMap tMap) Methods inherited from class org.apache.parquet.format.event.TypedConsumer
read
-
Constructor Details
-
MapConsumer
protected MapConsumer()
-
-
Method Details
-
consumeMap
public void consumeMap(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, org.apache.thrift.protocol.TMap tMap) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
consumeEntry
public abstract void consumeEntry(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, byte keyType, byte valueType) throws org.apache.thrift.TException can either delegate to the reader or read the map entry from the protocol- Parameters:
protocol- the underlying protocolreader- the reader to delegate tokeyType- the type of the keyvalueType- the type of the value- Throws:
org.apache.thrift.TException- if any thrift related error occurs during the reading
-