Class SparkStateInternals<K>
java.lang.Object
org.apache.beam.runners.spark.stateful.SparkStateInternals<K>
- All Implemented Interfaces:
- org.apache.beam.runners.core.StateInternals
public class SparkStateInternals<K>
extends Object
implements org.apache.beam.runners.core.StateInternals
An implementation of 
StateInternals for the SparkRunner.- 
Method SummaryModifier and TypeMethodDescriptionstatic <K> SparkStateInternals<K> forKey(K key) static <K> SparkStateInternals<K> forKeyAndState(K key, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Table<String, String, byte[]> stateTable) getKey()getState()<T extends State>
 Tstate(org.apache.beam.runners.core.StateNamespace namespace, org.apache.beam.runners.core.StateTag<T> address, StateContext<?> c) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.runners.core.StateInternalsstate
- 
Method Details- 
forKey
- 
forKeyAndStatepublic static <K> SparkStateInternals<K> forKeyAndState(K key, org.apache.beam.vendor.guava.v32_1_2_jre.com.google.common.collect.Table<String, String, byte[]> stateTable) 
- 
getState
- 
getKey- Specified by:
- getKeyin interface- org.apache.beam.runners.core.StateInternals
 
- 
statepublic <T extends State> T state(org.apache.beam.runners.core.StateNamespace namespace, org.apache.beam.runners.core.StateTag<T> address, StateContext<?> c) - Specified by:
- statein interface- org.apache.beam.runners.core.StateInternals
 
 
-