Class AsyncMLInferenceFunction<T,​R>

  • Type Parameters:
    T - Input event type
    R - Output enriched event type
    All Implemented Interfaces:
    Serializable, org.apache.flink.api.common.functions.Function, org.apache.flink.streaming.api.functions.async.AsyncFunction<T,​R>

    public class AsyncMLInferenceFunction<T,​R>
    extends Object
    implements org.apache.flink.streaming.api.functions.async.AsyncFunction<T,​R>
    Asynchronous ML inference function for Flink streams.
    Since:
    1.0.0
    Author:
    Nestor Martourez, Sr Software and Data Streaming Engineer @ CodedStreams
    See Also:
    Serialized Form
    • Method Detail

      • asyncInvoke

        public void asyncInvoke​(T input,
                                org.apache.flink.streaming.api.functions.async.ResultFuture<R> resultFuture)
        Specified by:
        asyncInvoke in interface org.apache.flink.streaming.api.functions.async.AsyncFunction<T,​R>