@Override
  public void accept(AttributesBuilder builder) {
    if (hFileContext.getHFileName() != null) {
      builder.put(HFILE_NAME_KEY, hFileContext.getHFileName());
    }
    if (hFileContext.getCompression() != null) {
      builder.put(COMPRESSION_ALGORITHM_KEY, hFileContext.getCompression().getName());
    }
    if (hFileContext.getDataBlockEncoding() != null) {
      builder.put(DATA_BLOCK_ENCODING_KEY, hFileContext.getDataBlockEncoding().name());
    }
    if (
      hFileContext.getEncryptionContext() != null
        && hFileContext.getEncryptionContext().getCipher() != null
    ) {
      builder.put(ENCRYPTION_CIPHER_KEY, hFileContext.getEncryptionContext().getCipher().getName());
    }
    if (!skipChecksum && hFileContext.getChecksumType() != null) {
      builder.put(CHECKSUM_KEY, hFileContext.getChecksumType().getName());
    }
    if (readType != null) {
      builder.put(READ_TYPE_KEY, readType.name());
    }
  }
Specify the {@link ReadType} involced in this IO operation.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/trace/HFileContextAttributesBuilderConsumer.java