private List<LlapDaemonProtocolProtos.CacheEntry> encodeAndConvertHotBuffers(List<LlapCacheableBuffer> buffers) {
    Map<Object, LlapDaemonProtocolProtos.CacheEntry.Builder> entries = encodeAndSortHotBuffersByFileKey(buffers);
    return entries.values().stream().map(v -> v.build()).collect(Collectors.toList());
  }
Internal helper class for extracting the metadata of the cache content and loading data into the cache
based on the provided metadata.
llap-server/src/java/org/apache/hadoop/hive/llap/io/api/impl/LlapCacheMetadataSerializer.java