parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java
public void readStructContent(FieldConsumer c) throws TException {
    TField field;
    while (true) {
      field = protocol.readFieldBegin();
      if (field.type == TType.STOP) {
        break;
      }
      c.consumeField(protocol, this, field.id, field.type);
    }
  }
public void readStructContent(FieldConsumer c) throws TException {
    TField field;
    while (true) {
      field = protocol.readFieldBegin();
      if (field.type == TType.STOP) {
        break;
      }
      c.consumeField(protocol, this, field.id, field.type);
    }
  }
public void readStructContent ( FieldConsumer c ) throws TException { TField field ; while ( true ) { field = protocol . readFieldBegin ( ) ; if ( field . type == TType . STOP ) { break ; } c . consumeField ( protocol , this , field . id , field . type ) ; } }
reads the content of a struct (fields) from the underlying protocol and passes the events to c
@param c the field consumer
@throws TException if any thrift related error occurs during the reading
reads the content of a struct ( fields ) from the underlying protocol and passes the events to c