接口 KeyFunction<I>
-
- 类型参数:
I- the type of the input values
public interface KeyFunction<I> extends Function<List<I>,Object>
A function that converts data frame rows to index or group keys.Implementors define
Function.apply(Object)to accept a data frame row as input and return a key value, most commonly used by DataFrame.groupBy(KeyFunction).