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()
Returns the unique identifier of the egress.
|
EgressType |
type()
Returns the type of the egress.
|
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()
EgressSpec
id
in interface EgressSpec<T>
public final EgressType type()
EgressSpec
type
in interface EgressSpec<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.