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;
}
Aggregations