Class QueryVersionPartitionsAsyncFunction
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.streaming.api.functions.async.RichAsyncFunction<QueryNotification,com.here.platform.data.client.scaladsl.Partition>
com.here.platform.data.client.flink.impl.QueryVersionPartitionsAsyncFunction
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.RichFunction,org.apache.flink.streaming.api.functions.async.AsyncFunction<QueryNotification,com.here.platform.data.client.scaladsl.Partition>
public class QueryVersionPartitionsAsyncFunction
extends org.apache.flink.streaming.api.functions.async.RichAsyncFunction<QueryNotification,com.here.platform.data.client.scaladsl.Partition>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionQueryVersionPartitionsAsyncFunction(HRN hrn, String layerId, Settings settings, DataClientFlinkContextFactory contextFactory, QueryApiFactory queryApiFactory) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pekko.actor.ActorSystemvoidasyncInvoke(QueryNotification in, org.apache.flink.streaming.api.functions.async.ResultFuture<com.here.platform.data.client.scaladsl.Partition> resultFuture) voidclose()scala.concurrent.ExecutionContextexecutor()Methods inherited from class org.apache.flink.streaming.api.functions.async.RichAsyncFunction
setRuntimeContextMethods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
getIterationRuntimeContext, getRuntimeContext, openMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.functions.async.AsyncFunction
timeout
-
Constructor Details
-
QueryVersionPartitionsAsyncFunction
public QueryVersionPartitionsAsyncFunction(HRN hrn, String layerId, Settings settings, DataClientFlinkContextFactory contextFactory, QueryApiFactory queryApiFactory)
-
-
Method Details
-
executor
public scala.concurrent.ExecutionContext executor() -
actorSystem
public org.apache.pekko.actor.ActorSystem actorSystem() -
asyncInvoke
public void asyncInvoke(QueryNotification in, org.apache.flink.streaming.api.functions.async.ResultFuture<com.here.platform.data.client.scaladsl.Partition> resultFuture) - Specified by:
asyncInvokein interfaceorg.apache.flink.streaming.api.functions.async.AsyncFunction<QueryNotification,com.here.platform.data.client.scaladsl.Partition> - Specified by:
asyncInvokein classorg.apache.flink.streaming.api.functions.async.RichAsyncFunction<QueryNotification,com.here.platform.data.client.scaladsl.Partition>
-
close
public void close()- Specified by:
closein interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
closein classorg.apache.flink.api.common.functions.AbstractRichFunction
-