Class DestinationResolutionDispatcher
java.lang.Object
io.github.flink.gcp.connector.bigquery.sink.DestinationResolutionDispatcher
Dispatches destination-resolution results to the writer that owns the record.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceHandles every destination-resolution result supported by the connector. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> voiddispatch(DestinationResolution resolution, T element, org.apache.flink.api.connector.sink2.SinkWriter.Context context, DestinationResolutionDispatcher.Visitor<T> visitor) Dispatches a result without allocating a per-record callback.
-
Method Details
-
dispatch
public static <T> void dispatch(DestinationResolution resolution, T element, org.apache.flink.api.connector.sink2.SinkWriter.Context context, DestinationResolutionDispatcher.Visitor<T> visitor) throws IOException Dispatches a result without allocating a per-record callback.- Throws:
IOException
-