R - The type of reference used by tuples.C - The type of FunctionContext to use.public abstract class Processor<R,C extends FunctionContext<?>> extends Object implements Cloneable
Processor executes Functions against Tuples. It
uses FunctionContexts to bind functions to data in tuples.| Constructor and Description |
|---|
Processor()
Default constructor - used for serialisation.
|
Processor(Collection<C> functions)
Create a
Processor that executes the given FunctionContexts. |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(C functionContext)
Add a
FunctionContext to be executed by this Processor. |
void |
addFunctions(Collection<C> functionContext)
Add a collection of
FunctionContexts to be executed by this
Processor. |
abstract Processor<R,C> |
clone() |
boolean |
equals(Object o) |
List<C> |
getFunctions() |
int |
hashCode() |
String |
toString() |
public Processor()
public Processor(Collection<C> functions)
Processor that executes the given FunctionContexts.functions - FunctionContexts to execute.public void addFunction(C functionContext)
FunctionContext to be executed by this Processor.functionContext - FunctionContext to be executed.public void addFunctions(Collection<C> functionContext)
FunctionContexts to be executed by this
Processor.functionContext - FunctionContexts to be executed.public List<C> getFunctions()
FunctionContexts to be executed by this Processor.Copyright © 2017. All rights reserved.