All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.basho.riak.client.api.commands.mapreduce.MapReduceSpec Maven / Gradle / Ivy

The newest version!
package com.basho.riak.client.api.commands.mapreduce;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

/**
 * MapReduce Job Model / Specification
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
class MapReduceSpec
{
    private final MapReduceInput inputs;
    @JsonProperty(value = "query")
    private final List phases;
    private final Long timeout;

    MapReduceSpec(MapReduceInput inputs, List phases, Long timeout)
    {
        this.inputs = inputs;
        this.phases = phases;
        this.timeout = timeout;
    }

    public List getPhases()
    {
        return phases;
    }

    public Long getTimeout()
    {
        return timeout;
    }

    public MapReduceInput getInputs()
    {
        return inputs;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy