parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java
public void readMapContent(MapConsumer eventConsumer, TMap tMap)
      throws TException {
    for (int i = 0; i < tMap.size; i++) {
      eventConsumer.consumeEntry(protocol, this, tMap.keyType, tMap.valueType);
    }
  }
public void readMapContent(MapConsumer eventConsumer, TMap tMap)
      throws TException {
    for (int i = 0; i < tMap.size; i++) {
      eventConsumer.consumeEntry(protocol, this, tMap.keyType, tMap.valueType);
    }
  }
reads the map content (key values) from the underlying protocol and passes the events to the map event consumer
@param eventConsumer the consumer
@param tMap the map descriptor
@throws TException if any thrift related error occurs during the reading