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