src/main/java/org/apache/hadoop/hdfs/server/namenode/AbstractQueryEngine.java
@Override // QueryEngine
  public Map<String, Long> fileReplicaHistogram(
      Stream<INode> inodes,
      String sum,
      String find,
      Map<String, Function<INode, Long>> transformMap) {
    return new HistogramInvoker(this, "fileReplica", sum, find, inodes).invoke().getHistogram();
  }
/**
   * Creates a histogram representation of INodes where the X-axis represents replication factors.
   *
   * @param inodes the filtered inodes to operate with
   * @param sum the Y-axis type
   * @param find optional; a find operation to perform; overrides sum
   * @return a map representing bins as Strings and the sum/finds as Longs
   */
Creates a histogram representation of INodes where the X-axis represents replication factors.
@param inodes the filtered inodes to operate with
@param sum the Y-axis type
@param find optional; a find operation to perform; overrides sum
@return a map representing bins as Strings and the sum/finds as Longs
Creates a histogram representation of INodes where the X - axis represents replication factors . @param inodes the filtered inodes to operate with @param sum the Y - axis type @param find optional ; a find operation to perform ; overrides sum @return a map representing bins as Strings and the sum / finds as Longs
@Override 
  public Map<String, Long> fileReplicaHistogram(
      Stream<INode> inodes,
      String sum,
      String find,
      Map<String, Function<INode, Long>> transformMap) {
    return new HistogramInvoker(this, "fileReplica", sum, find, inodes).invoke().getHistogram();
  }
@ Override public Map < String , Long > fileReplicaHistogram ( Stream < INode > inodes , String sum , String find , Map < String , Function < INode , Long > > transformMap ) { return new HistogramInvoker ( this , "fileReplica" , sum , find , inodes ) . invoke ( ) . getHistogram ( ) ; }
Creates a histogram representation of INodes where the X-axis represents replication factors.
Creates a histogram representation of INodes where the X - axis represents replication factors .
// QueryEngine