T - The input type output by the sink.public final class SinkFunctionSpec<T> extends java.lang.Object implements EgressSpec<T>, java.io.Serializable
EgressSpec that can run any Apache Flink SinkFunction.| Constructor and Description |
|---|
SinkFunctionSpec(EgressIdentifier<T> id,
org.apache.flink.streaming.api.functions.sink.SinkFunction<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
EgressIdentifier<T> |
id() |
EgressType |
type() |
public SinkFunctionSpec(EgressIdentifier<T> id, org.apache.flink.streaming.api.functions.sink.SinkFunction<T> delegate)
id - A unique egress identifier.delegate - The underlying sink that the egress will delegate to at runtime.public final EgressIdentifier<T> id()
id in interface EgressSpec<T>public final EgressType type()
type in interface EgressSpec<T>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.