IN
- The type of elements received by the sink.@PublicEvolving public class DiscardingSink<IN> extends Object implements Sink<IN>, SupportsConcurrentExecutionAttempts
Sink.InitContext, Sink.InitContextWrapper
Constructor and Description |
---|
DiscardingSink() |
Modifier and Type | Method and Description |
---|---|
SinkWriter<IN> |
createWriter(Sink.InitContext context)
Creates a
SinkWriter . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createWriter
public SinkWriter<IN> createWriter(Sink.InitContext context) throws IOException
Sink
SinkWriter
.createWriter
in interface Sink<IN>
context
- the runtime context.IOException
- for any failure during creation.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.