Package org.apache.wayang.java.compiler
Class FunctionCompiler
java.lang.Object
org.apache.wayang.java.compiler.FunctionCompiler
A compiler translates Wayang functions into executable Java functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(FlatMapDescriptor<I, O> descriptor) Compile a transformation.compile(MapPartitionsDescriptor<I, O> descriptor) Compile a partition transformation.<Type> Predicate<Type>compile(PredicateDescriptor<Type> predicateDescriptor) <Type> BinaryOperator<Type>compile(ReduceDescriptor<Type> descriptor) Compile a reduction.<I,O> Function<I, O> compile(TransformationDescriptor<I, O> descriptor) Compile a transformation.
-
Constructor Details
-
FunctionCompiler
-
-
Method Details
-
compile
Compile a transformation.- Type Parameters:
I- input type of the transformationO- output type of the transformation- Parameters:
descriptor- describes the transformation- Returns:
- a compiled function
-
compile
Compile a partition transformation.- Type Parameters:
I- input type of the transformationO- output type of the transformation- Parameters:
descriptor- describes the transformation- Returns:
- a compiled function
-
compile
Compile a transformation.- Type Parameters:
I- input type of the transformationO- output type of the transformation- Parameters:
descriptor- describes the transformation- Returns:
- a compiled function
-
compile
Compile a reduction.- Type Parameters:
Type- input/output type of the transformation- Parameters:
descriptor- describes the transformation- Returns:
- a compiled function
-
compile
-
getConfiguration
-