Class MapReduce.NullObject
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.MapReduce.NullObject
-
- All Implemented Interfaces:
Serializable
,Comparable<MapReduce.NullObject>
public static class MapReduce.NullObject extends Object implements Comparable<MapReduce.NullObject>, Serializable
A convenience singleton when a single key is needed so that all emitted values converge to the same combiner/reducer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NullObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(MapReduce.NullObject object)
boolean
equals(Object object)
int
hashCode()
static MapReduce.NullObject
instance()
String
toString()
-
-
-
Method Detail
-
instance
public static MapReduce.NullObject instance()
-
compareTo
public int compareTo(MapReduce.NullObject object)
- Specified by:
compareTo
in interfaceComparable<MapReduce.NullObject>
-
-