@Experimental
@Evolving
public interface MapGroupsWithStateFunction<K,V,S,R>
extends java.io.Serializable
KeyValueGroupedDataset.mapGroupsWithState(
MapGroupsWithStateFunction, org.apache.spark.sql.Encoder, org.apache.spark.sql.Encoder)
Modifier and Type | Method and Description |
---|---|
R |
call(K key,
java.util.Iterator<V> values,
GroupState<S> state) |
R call(K key, java.util.Iterator<V> values, GroupState<S> state) throws Exception
Exception