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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(MapReduce.NullObject object) booleaninthashCode()static MapReduce.NullObjectinstance()toString()
-
Constructor Details
-
NullObject
public NullObject()
-
-
Method Details
-
instance
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<MapReduce.NullObject>
-
toString
-