parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java
public void readStruct(FieldConsumer c) throws TException {
    protocol.readStructBegin();
    readStructContent(c);
    protocol.readStructEnd();
  }
public void readStruct(FieldConsumer c) throws TException {
    protocol.readStructBegin();
    readStructContent(c);
    protocol.readStructEnd();
  }
reads a Struct from the underlying protocol and passes the field events to the FieldConsumer
@param c the field consumer
@throws TException if any thrift related error occurs during the reading