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
public abstract static class TypedConsumer.MapConsumer extends 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 Modifier Constructor Description protectedMapConsumer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract 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
-
-
-
-
Method Detail
-
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.TExceptioncan 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
-
-