## Uses of Class
com.hazelcast.jet.pipeline.SinkBuilder

- Packages that use SinkBuilder
  Package | Description
  --- | ---
  com.hazelcast.jet.pipeline | The Pipeline API is Jet's high-level API to build and execute distributed computation jobs.

- - ### Uses of SinkBuilder in com.hazelcast.jet.pipeline

    Methods in com.hazelcast.jet.pipeline that return SinkBuilder
    Modifier and Type | Method and Description
    --- | ---
    `SinkBuilder<W,T>` | SinkBuilder.`destroyFn(ConsumerEx<? super W> destroyFn)` Sets the function that will destroy the writer and perform any cleanup.
    `SinkBuilder<W,T>` | SinkBuilder.`flushFn(ConsumerEx<? super W> flushFn)` Sets the function that implements the sink's flushing behavior.
    `SinkBuilder<W,T>` | SinkBuilder.`preferredLocalParallelism(int preferredLocalParallelism)` Sets the local parallelism of the sink.
    `<T_NEW> SinkBuilder<W,T_NEW>` | SinkBuilder.`receiveFn(BiConsumerEx<? super W,? super T_NEW> receiveFn)` Sets the function Jet will call upon receiving an item.
    `static <W> SinkBuilder<W,Void>` | SinkBuilder.`sinkBuilder(String name, FunctionEx<Processor.Context,? extends W> createFn)` Returns a builder object that offers a step-by-step fluent API to build a custom `Sink` for the Pipeline API.

Copyright © 2019. All rights reserved.