com.basho.riak.client.api.commands.mapreduce.MapReduceSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of riak-client Show documentation
Show all versions of riak-client Show documentation
HttpClient-based client for Riak
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