public class LinkPhase extends Object implements MapReducePhase
MapReducePhase
implementation that models a Link PhaseMapReduce
,
MapPhase
,
ReducePhase
MapReducePhase.PhaseType
Constructor and Description |
---|
LinkPhase(String bucket,
String tag)
Create a Link Phase that points to
bucket / tag
keep will be false |
LinkPhase(String bucket,
String tag,
boolean keep)
Create a Link Phase that points to
bucket / tag
. |
Modifier and Type | Method and Description |
---|---|
String |
getBucket()
The bucket for this link phase
|
String |
getTag()
The tag for this link phase
|
MapReducePhase.PhaseType |
getType()
The PhaseType of this
MapReducePhase implementation. |
Boolean |
isKeep()
Keep the result or just use as input to the next phase?
|
public LinkPhase(String bucket, String tag, boolean keep)
bucket
/ tag
.bucket
- the bucket at the end of the link (or "_" or "" for wildcard)tag
- the tag (or ("_", or "" for wildcard)keep
- to keep the result of this phase and return it at the end of
the operationpublic String getBucket()
public String getTag()
public Boolean isKeep()
isKeep
in interface MapReducePhase
public MapReducePhase.PhaseType getType()
MapReducePhase
MapReducePhase
implementation.getType
in interface MapReducePhase
Copyright © 2013. All Rights Reserved.