Package org.apache.parquet.format.event
Interface FieldConsumer
-
- All Known Implementing Classes:
Consumers.DelegatingFieldConsumer
public interface FieldConsumerTo receive Thrift field events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconsumeField(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader eventBasedThriftReader, short id, byte type)called by the EventBasedThriftReader when reading a field from a Struct
-
-
-
Method Detail
-
consumeField
void consumeField(org.apache.thrift.protocol.TProtocol protocol, EventBasedThriftReader eventBasedThriftReader, short id, byte type) throws org.apache.thrift.TExceptioncalled by the EventBasedThriftReader when reading a field from a Struct- Parameters:
protocol- the underlying protocoleventBasedThriftReader- the reader to delegate to further calls.id- the id of the fieldtype- the type of the field- Throws:
org.apache.thrift.TException- if any thrift related error occurs during the reading
-
-