public class OutputStrategies extends Object
| Constructor and Description |
|---|
OutputStrategies() |
| Modifier and Type | Method and Description |
|---|---|
static AppendOutputStrategy |
append(EventProperty... appendProperties)
Creates a
AppendOutputStrategy. |
static AppendOutputStrategy |
append(List<EventProperty> appendProperties) |
static CustomOutputStrategy |
custom()
Creates a
CustomOutputStrategy. |
static CustomOutputStrategy |
custom(boolean outputBoth)
Creates a
CustomOutputStrategy. |
static CustomTransformOutputStrategy |
customTransformation() |
static FixedOutputStrategy |
fixed(EventProperty... fixedProperties)
Creates a
FixedOutputStrategy. |
static FixedOutputStrategy |
fixed(List<EventProperty> appendProperties) |
static KeepOutputStrategy |
keep()
Creates a
KeepOutputStrategy. |
static KeepOutputStrategy |
keep(boolean mergeInputStreams) |
static ListOutputStrategy |
list(String propertyRuntimeName) |
static TransformOutputStrategy |
transform(TransformOperation... transformOperations) |
public static CustomOutputStrategy custom()
CustomOutputStrategy. Custom output strategies let pipeline
developers decide which events are produced by the corresponding pipeline element.public static CustomOutputStrategy custom(boolean outputBoth)
CustomOutputStrategy.outputBoth - If two input streams are expected by a pipeline element, you can use outputBoth to indicate
whether the properties of both input streams should be available to the pipeline developer for
selection.public static AppendOutputStrategy append(EventProperty... appendProperties)
AppendOutputStrategy. Append output strategies add additional
properties to an input event stream.appendProperties - An arbitrary number of event properties that are appended to any input stream.public static AppendOutputStrategy append(List<EventProperty> appendProperties)
public static FixedOutputStrategy fixed(EventProperty... fixedProperties)
FixedOutputStrategy. Fixed output strategies always output the
schema defined by the pipeline element itself.fixedProperties - An arbitrary number of event properties that form the output event schemapublic static FixedOutputStrategy fixed(List<EventProperty> appendProperties)
public static KeepOutputStrategy keep()
KeepOutputStrategy. Keep output strategies do not change the
schema of an input event, i.e., the output schema matches the input schema.public static KeepOutputStrategy keep(boolean mergeInputStreams)
public static ListOutputStrategy list(String propertyRuntimeName)
public static TransformOutputStrategy transform(TransformOperation... transformOperations)
public static CustomTransformOutputStrategy customTransformation()
Copyright © 2018. All rights reserved.