public interface StreamOperator
ServiceLoader mechanism is used to load an implementation at runtime
for the StreamOperator interface.| Modifier and Type | Interface and Description |
|---|---|
static class |
StreamOperator.ConsoleLog |
| Modifier and Type | Method and Description |
|---|---|
default <S,T> FilterWrapper<T> |
filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,Boolean> filter,
Wrapper<T> source,
Method accessor,
boolean cast) |
default <T> FilterWrapper<T> |
filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,Boolean> filter,
Wrapper<T> source,
boolean cast) |
default <T,S extends T> |
forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<S> consumer,
Wrapper<T> source,
String consumerId)
Supply the wrapper to a consumer when the wrapper is on the execution
path
|
default <T,R> Wrapper<R> |
map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
boolean cast) |
default <T,R> Wrapper<R> |
map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper,
Wrapper<T> source,
Method accessor,
boolean cast) |
default <T> T |
nodeId(T node,
String name)
name a StreamOperator node in the generated SEP.
|
default <T> Wrapper<T> |
notiferMerge(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node and
merges notifications from stream and the added notifier.When the notifier
updates all the child nodes of this stream node will be on the execution
path and invoked following normal SEP rules.The existing execution path
will be unaltered if either the parent wrapped node or the eventNotifier
updates then the execution path will progress.
|
default <T> Wrapper<T> |
notifierOverride(Wrapper<T> source,
Object notifier)
Attaches an event notification instance to the current stream node,
overriding the execution path of the current stream.Only when the
notifier updates will the child nodes of this stream node be on the
execution path.
|
default <T,R> void |
push(Wrapper<T> source,
Method accessor,
com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<R> consumer)
push data from the wrapper to the consumer
|
static StreamOperator |
service() |
static <I> void |
standardOut(I out) |
default <S,T> FilterWrapper<T> filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<S,Boolean> filter, Wrapper<T> source, Method accessor, boolean cast)
default <T> FilterWrapper<T> filter(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,Boolean> filter, Wrapper<T> source, boolean cast)
default <T,R> Wrapper<R> map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper, Wrapper<T> source, boolean cast)
default <T,R> Wrapper<R> map(com.fluxtion.api.partition.LambdaReflection.SerializableFunction<T,R> mapper, Wrapper<T> source, Method accessor, boolean cast)
default <T,R> void push(Wrapper<T> source, Method accessor, com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<R> consumer)
T - R - source - accessor - consumer - default <T,S extends T> Wrapper<T> forEach(com.fluxtion.api.partition.LambdaReflection.SerializableConsumer<S> consumer, Wrapper<T> source, String consumerId)
T - S - consumer - source - consumerId - - id for node in SEP, can be null for autonamingdefault <T> Wrapper<T> notiferMerge(Wrapper<T> source, Object notifier)
T - source - notifier - default <T> Wrapper<T> notifierOverride(Wrapper<T> source, Object notifier)
T - source - notifier - external event notifierdefault <T> T nodeId(T node,
String name)
T - node - name - static StreamOperator service()
static <I> void standardOut(I out)
Copyright © 2019. All rights reserved.