public class StrListAppenderBlock extends PipelineBlock<String[],Object>
The list is set using output(List) method.
| Constructor and Description |
|---|
StrListAppenderBlock()
Creates the block.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(String[] elements,
boolean isLastPortion)
Accepts a portion of input.
|
void |
output(List<List<Object>> output)
Sets the output list.
|
appendpublic StrListAppenderBlock()
output(List) method.public void output(List<List<Object>> output)
output - The output list.public void accept(String[] elements, boolean isLastPortion)
isLastPortion parameter should be set if this is a last portion
of the input. The method must not be called after the end of input: the call with isLastPortion == true
is the last one.accept in class PipelineBlock<String[],Object>elements - Portion of input.isLastPortion - Is this the last portion.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018