parquet-format-structures/src/main/java/org/apache/parquet/format/event/EventBasedThriftReader.java
public void readMapEntry(byte keyType, TypedConsumer keyConsumer, byte valueType, TypedConsumer valueConsumer)
      throws TException {
    keyConsumer.read(protocol, this, keyType);
    valueConsumer.read(protocol, this, valueType);
  }
public void readMapEntry(byte keyType, TypedConsumer keyConsumer, byte valueType, TypedConsumer valueConsumer)
      throws TException {
    keyConsumer.read(protocol, this, keyType);
    valueConsumer.read(protocol, this, valueType);
  }
reads a key-value pair
@param keyType the type of the key
@param keyConsumer the consumer for the key
@param valueType the type of the value
@param valueConsumer the consumer for the value
@throws TException if any thrift related error occurs during the reading