Class RandomDataHistogram.Counts

java.lang.Object
org.apache.solr.bench.generators.RandomDataHistogram.Counts
Enclosing class:
RandomDataHistogram

public static class RandomDataHistogram.Counts extends Object
The type Counts.
  • Field Details

  • Constructor Details

    • Counts

      public Counts(String label, boolean bucketed)
      Instantiates a new Counts.
      Parameters:
      label - the label
      bucketed - the bucketed
  • Method Details

    • collect

      public RandomDataHistogram.Counts collect(Object... values)
      Collect counts.
      Parameters:
      values - the values
      Returns:
      the counts
    • print

      public String print()
      Print a string representation of the random data histogram. @return the string
    • print

      public String print(int bucketed)
      Print a string representation of the random data histogram.
      Parameters:
      bucketed - -1 for no bucketing or the number of buckets
      Returns:
      the string
    • print

      public String print(boolean sortByLabel, int bucketed)
      Print string.
      Parameters:
      sortByLabel - the sort by label
      bucketed - the bucketed
      Returns:
      the string