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