public List<String> getAllPartitionNames() {
    return partitionMap.values().stream().map(Partition::toPathString).collect(Collectors.toList());
  }
Gets Partition with specified byte-serialized ID.

@param stream byte-serialized partition ID
@return requested Partition else null.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/PartitionLayout.java