public interface StateDataViewStore
StateDataView
with a managed store.Modifier and Type | Method and Description |
---|---|
RuntimeContext |
getRuntimeContext()
Gets the context that contains information about the UDF's runtime, such as the
parallelism of the function, the subtask index of the function, or the name of
the of the task that executes the function.
|
<N,V> StateListView<N,V> |
getStateListView(String stateName,
ListViewTypeInfo<V> listViewTypeInfo)
Creates a state list view.
|
<N,UK,UV> StateMapView<N,UK,UV> |
getStateMapView(String stateName,
MapViewTypeInfo<UK,UV> mapViewTypeInfo)
Creates a state map view.
|
<N,UK,UV> StateMapView<N,UK,UV> getStateMapView(String stateName, MapViewTypeInfo<UK,UV> mapViewTypeInfo) throws Exception
N
- Type of the namespaceUK
- Type of the keys in the map stateUV
- Type of the values in the map statestateName
- The name of underlying state of the map viewmapViewTypeInfo
- The type of the map viewException
<N,V> StateListView<N,V> getStateListView(String stateName, ListViewTypeInfo<V> listViewTypeInfo) throws Exception
N
- Type of the namespaceV
- Type of the elements in the list statestateName
- The name of underlying state of the list viewlistViewTypeInfo
- The type of the list viewException
RuntimeContext getRuntimeContext()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.