com.basho.riak.client.query
Interface MapReducePhase

All Known Implementing Classes:
LinkPhase, MapPhase, ReducePhase

public interface MapReducePhase

Shared common interface for Map/Reduce phase definitions.

Author:
russell
See Also:
MapReduce.addMapPhase(com.basho.riak.client.query.functions.Function), MapReduce.addLinkPhase(String, String), MapReduce.addReducePhase(com.basho.riak.client.query.functions.Function)

Nested Class Summary
static class MapReducePhase.PhaseType
          Possible phase typess.
 
Method Summary
 MapReducePhase.PhaseType getType()
          The PhaseType of this MapReducePhase implementation.
 Boolean isKeep()
          Is this phase's output to be returned or only passed as input to the next phase.
 

Method Detail

isKeep

Boolean isKeep()
Is this phase's output to be returned or only passed as input to the next phase.

Returns:
true if the results are returned, false otherwise.

getType

MapReducePhase.PhaseType getType()
The PhaseType of this MapReducePhase implementation.

Returns:
a PhaseType.


Copyright © 2012. All Rights Reserved.