Interface ForeachFunction<T>

All Superinterfaces:
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 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.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    call(T t)