com.intel.hadoop.graphbuilder.preprocess.functional
Interface Functional<T1,T2 extends org.apache.hadoop.io.Writable>
- Type Parameters:
T1
- T2
-
- All Known Implementing Classes:
- CountFunc, EdgeTransformJobTest.Divide, EdgeTransformJobTest.Sum, TransformToTFIDF.Dividefunc, TransformToTFIDF.FloatCountFunc, TransformToTFIDF.IDFfunc, TransformToTFIDF.Sumfunc
public interface Functional<T1,T2 extends org.apache.hadoop.io.Writable>
Represents a function of type: T2 -> T1 -> T2. Provides interface for getting
parameter from Hadoop JobConf
.
configure
void configure(org.apache.hadoop.mapred.JobConf job)
throws java.lang.Exception
- Throws:
java.lang.Exception
reduce
T2 reduce(T1 a,
T2 b)
getInType
java.lang.Class<T1> getInType()
getOutType
java.lang.Class<T2> getOutType()
base
T2 base()