Package org.apache.nemo.common
Interface KeyExtractor
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
PairKeyExtractor
,SparkKeyExtractor
public interface KeyExtractor extends java.io.Serializable
Extracts a key from an element. Keys are used for partitioning.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
extractKey(java.lang.Object element)
Extracts key.
-