Skip navigation links

Back to Flink Website

Package org.apache.flink.runtime.query

This package contains all KvState query related classes.

See: Description

Package org.apache.flink.runtime.query Description

This package contains all KvState query related classes.

TaskManager and JobManager

State backends register queryable state instances at the KvStateRegistry. There is one registry per TaskManager. Registered KvState instances are reported to the JobManager, where they are aggregated at the KvStateLocationRegistry.

Instances of KvStateLocation contain all information needed for a client to query a KvState instance.

See also:

Client

The QueryableStateClient is used to query KvState instances. The client takes care of KvStateLocation lookup and caching. Queries are then dispatched via the network client.

JobManager Communication

The JobManager is queried for KvStateLocation instances via the KvStateLocationLookupService. The client caches resolved locations and dispatches queries directly to the TaskManager.

TaskManager Communication

After the location has been resolved, the TaskManager is queried via the KvStateClient.

Skip navigation links

Back to Flink Website

Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.