- All Superinterfaces:
- java.io.Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ForeachFunction<T>
extends java.io.Serializable
Base interface for a function used in Dataset's foreach function.
Spark will invoke the call function on each element in the input Dataset.