I - type of input objectO - type of output objectE - type of error object@PublicEvolving public interface RecipePipeline<I,O,E> extends Serializable, AutoCloseable
RecipePipeline executes array of Executor in the order they are specified.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Destroys the pipeline.
|
List<E> |
errors()
Returns records that are errored out.
|
List<I> |
execute(List<I> input)
Executes the pipeline on the input.
|
List<O> |
execute(List<I> input,
io.cdap.cdap.api.data.schema.Schema schema)
Executes the pipeline on the input.
|
List<O> execute(List<I> input, io.cdap.cdap.api.data.schema.Schema schema) throws RecipeException
input - List of Input record of type I.schema - Schema to which the output should be mapped.RecipeExceptionList<I> execute(List<I> input) throws RecipeException
input - List of input record of type I.RecipeExceptionList<E> errors()
void close()
close in interface AutoCloseableCopyright © 2023 CDAP Licensed under the Apache License, Version 2.0.