Package org.apache.solr.bench.generators
Class MapsDSL
java.lang.Object
org.apache.solr.bench.generators.MapsDSL
A Class for creating Map Sources that will produce Map objects of either fixed or bounded size.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMapGeneratorBuilder enables the creation of Sources for Maps of fixed and bounded size, where no Collector is specified. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<K,V> MapsDSL.MapGeneratorBuilder <K, V> Creates a ListGeneratorBuilder.
-
Constructor Details
-
MapsDSL
public MapsDSL()
-
-
Method Details
-
of
Creates a ListGeneratorBuilder.- Type Parameters:
K- key type to generateV- value type to generate- Parameters:
keys- Gen of keysvalues- Gen of values- Returns:
- a MapGeneratorBuilder of type K,V
-