Uses of Class
com.hazelcast.jet.pipeline.SinkBuilder
Package
Description
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
-
Uses of SinkBuilder in com.hazelcast.jet.pipeline
Modifier and TypeMethodDescriptionSinkBuilder.destroyFn
(ConsumerEx<? super C> destroyFn) Sets the function that will destroy the context object and perform any cleanup.SinkBuilder.flushFn
(ConsumerEx<? super C> flushFn) Sets the function that implements the sink's flushing behavior.SinkBuilder.permission
(Permission permission) Sets the permission required to use this sink when the security is enabled.SinkBuilder.preferredLocalParallelism
(int preferredLocalParallelism) Sets the local parallelism of the sink.<T_NEW> SinkBuilder<C,
T_NEW> SinkBuilder.receiveFn
(BiConsumerEx<? super C, ? super T_NEW> receiveFn) Sets the function Jet will call upon receiving an item.static <C> SinkBuilder<C,
Void> SinkBuilder.sinkBuilder
(String name, FunctionEx<Processor.Context, ? extends C> createFn) Returns a builder object that offers a step-by-step fluent API to build a customSink
for the Pipeline API.