Search in sources :

Example 1 with MapReduce

use of com.cloudant.client.api.model.DesignDocument.MapReduce in project sw360 by eclipse.

the class DatabaseRepositoryCloudantClient method createMapReduce.

public MapReduce createMapReduce(String map, String reduce) {
    MapReduce mr = new MapReduce();
    mr.setMap(map);
    if (reduce != null) {
        mr.setReduce(reduce);
    }
    return mr;
}
Also used : MapReduce(com.cloudant.client.api.model.DesignDocument.MapReduce)

Aggregations

MapReduce (com.cloudant.client.api.model.DesignDocument.MapReduce)1