com.basho.riak.client.query
Class ReducePhase
java.lang.Object
com.basho.riak.client.query.MapPhase
com.basho.riak.client.query.ReducePhase
- All Implemented Interfaces:
- MapReducePhase
public class ReducePhase
- extends MapPhase
A reduce phase of a MapReduce job spec. Just a tag class.
- Author:
- russell
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReducePhase
public ReducePhase(Function phaseFunction,
Object arg,
boolean keepResult)
- Create a Reduce Phase
- Parameters:
phaseFunction
- arg
- keepResult
-
ReducePhase
public ReducePhase(Function phaseFunction,
Object arg)
- Parameters:
phaseFunction
- arg
-
ReducePhase
public ReducePhase(Function phaseFunction,
boolean keep)
- Parameters:
phaseFunction
- keep
-
ReducePhase
public ReducePhase(Function phaseFunction)
- Parameters:
phaseFunction
-
getType
public MapReducePhase.PhaseType getType()
- Description copied from interface:
MapReducePhase
- The PhaseType of this
MapReducePhase
implementation.
- Specified by:
getType
in interface MapReducePhase
- Overrides:
getType
in class MapPhase
- Returns:
- a PhaseType.
Copyright © 2012. All Rights Reserved.