public abstract class ConsumerProducerFunction extends ConsumerFunction
ConsumerProducerFunction is a Function that consumes input records and
produces output records. Implementations should be annotated with the Inputs
annotation specifying the input record structure that the function accepts and the
Outputs annotation specifying the output record structure that the function
produces.| Constructor and Description |
|---|
ConsumerProducerFunction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Class<?>[] |
getOutputClasses() |
int |
hashCode() |
abstract ConsumerProducerFunction |
statelessClone()
Create a deep copy of this
Function, including any configuration values. |
String |
toString() |
getInputClassespublic abstract ConsumerProducerFunction statelessClone()
FunctionFunction, including any configuration values. Stateful functions should
have their state initialised.statelessClone in interface FunctionstatelessClone in class ConsumerFunctionFunction.public Class<?>[] getOutputClasses()
ConsumerProducerFunction.public boolean equals(Object o)
equals in class ConsumerFunctionpublic int hashCode()
hashCode in class ConsumerFunctionpublic String toString()
toString in class ConsumerFunctionCopyright © 2017. All rights reserved.