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