Class MapsDSL


  • public class MapsDSL
    extends Object
    A Class for creating Map Sources that will produce Map objects of either fixed or bounded size.
    • Constructor Detail

      • MapsDSL

        public MapsDSL()
    • 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 generate
        V - value type to generate
        Parameters:
        keys - Gen of keys
        values - Gen of values
        Returns:
        a MapGeneratorBuilder of type K,V