Package org.apache.parquet.format.event
Class TypedConsumer.ListConsumer
java.lang.Object
org.apache.parquet.format.event.TypedConsumer
org.apache.parquet.format.event.TypedConsumer.ListConsumer
- 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 voidconsumeElement(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, byte elemType) can either delegate to the reader or read the element from the protocolvoidconsumeList(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, org.apache.thrift.protocol.TList tList) Methods inherited from class org.apache.parquet.format.event.TypedConsumer
read
-
Constructor Details
-
ListConsumer
protected ListConsumer()
-
-
Method Details
-
consumeList
public void consumeList(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, org.apache.thrift.protocol.TList tList) throws org.apache.thrift.TException - Throws:
org.apache.thrift.TException
-
consumeElement
public abstract void consumeElement(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader reader, byte elemType) throws org.apache.thrift.TException can either delegate to the reader or read the element from the protocol- Parameters:
protocol- the underlying protocolreader- the reader to delegate toelemType- the type of the element- Throws:
org.apache.thrift.TException- if any thrift related error occurs during the reading
-