Uses of Interface
org.voltdb.stream.api.Consumer
Package
Description
-
Uses of Consumer in org.voltdb.stream.api.extension
Modifier and TypeMethodDescriptiondefault void
StreamFunction.initialize
(Consumer<Object> consumer) void
StreamFunction.process
(Object input, Consumer<Object> consumer, ExecutionContext context) void
StreamSource.process
(long batchId, Consumer<Object> consumer, ExecutionContext context) -
Uses of Consumer in org.voltdb.stream.api.pipeline
Modifier and TypeInterfaceDescriptioninterface
This class encapsulates any integration logic with a downstream system.Modifier and TypeMethodDescriptiondefault void
VoltFunction.initialize
(Consumer<O> consumer) the callback is invoked when the function is created and a consumer is assigned but the function is not yet scheduled to handle any incoming events.void
VoltFunction.process
(I input, Consumer<O> consumer, ExecutionContext context) processes input and emits output messages to a consumervoid
VoltStreamSource.process
(long batchId, Consumer<T> consumer, ExecutionContext context) Whenever a scheduler has an idle worker it will bind a worker to the source allowing the source to starts processing data. -
Uses of Consumer in org.voltdb.stream.function
Modifier and TypeMethodDescriptionvoid
BatchAccumulator.initialize
(Consumer<O> consumer) void
BatchAccumulator.process
(I input, Consumer<O> consumer, ExecutionContext context) void
CancelingFunction.process
(I input, Consumer<I> consumer, ExecutionContext context) -
Uses of Consumer in org.voltdb.stream.sink
Modifier and TypeClassDescriptionclass
FileSink<T>
A sink that writes streamed data items to a file within a specified directory.class
IterableSink<T>
Captures all stream items into a list.class
StdoutSink<T>
A sink that writes streamed data items to the standard output (console). -
Uses of Consumer in org.voltdb.stream.source
Modifier and TypeMethodDescriptionvoid
GeneratorSource.process
(long batchId, Consumer<T> consumer, ExecutionContext context)