Package org.apache.solr.bench.generators
Class RandomDataHistogram.Counts
java.lang.Object
org.apache.solr.bench.generators.RandomDataHistogram.Counts
- Enclosing class:
RandomDataHistogram
The type Counts.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ITEMS_ONLY_PRINTING
The constant ITEMS_ONLY_PRINTING.- See Also:
-
THERE_ARE_OVER
The constant THERE_ARE_OVER.- See Also:
-
ELIPSE
The constant ELIPSE.- See Also:
-
-
Constructor Details
-
Counts
Instantiates a new Counts.- Parameters:
label- the labelbucketed- the bucketed
-
-
Method Details
-
collect
Collect counts.- Parameters:
values- the values- Returns:
- the counts
-
print
Print a string representation of the random data histogram. @return the string -
print
Print a string representation of the random data histogram.- Parameters:
bucketed- -1 for no bucketing or the number of buckets- Returns:
- the string
-
print
Print string.- Parameters:
sortByLabel- the sort by labelbucketed- the bucketed- Returns:
- the string
-