Package org.apache.solr.bench.generators
Class MapsDSL
- java.lang.Object
-
- org.apache.solr.bench.generators.MapsDSL
-
public class MapsDSL extends Object
A Class for creating Map Sources that will produce Map objects of either fixed or bounded size.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MapsDSL.MapGeneratorBuilder<K,V>
MapGeneratorBuilder enables the creation of Sources for Maps of fixed and bounded size, where no Collector is specified.
-
Constructor Summary
Constructors Constructor Description MapsDSL()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
MapsDSL.MapGeneratorBuilder<K,V>of(SolrGen<K> keys, SolrGen<V> values)
Creates a ListGeneratorBuilder.
-
-
-
Method Detail
-
of
public <K,V> MapsDSL.MapGeneratorBuilder<K,V> of(SolrGen<K> keys, SolrGen<V> values)
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
-
-