Interface Function<I,O>
-
- Type Parameters:
I- the type of the input valuesO- the type of the output values
- All Known Subinterfaces:
Aggregate<I,O>,KeyFunction<I>,Predicate<I>,TimeFunction<I,O>,Transforms.CumulativeFunction<I,O>
- All Known Implementing Classes:
Aggregation.Collapse,Aggregation.Count,Aggregation.Describe,Aggregation.Kurtosis,Aggregation.Max,Aggregation.Mean,Aggregation.Median,Aggregation.Min,Aggregation.Percentile,Aggregation.Product,Aggregation.Skew,Aggregation.StdDev,Aggregation.Sum,Aggregation.Unique,Aggregation.Variance,Selection.DropNaPredicate,TimeFunctions.DayOfWeek,TimeFunctions.HourOfDay,TimeFunctions.MonthOfYear,TimeFunctions.SeasonOfYear,Transforms.CumulativeMax,Transforms.CumulativeMin,Transforms.CumulativeProduct,Transforms.CumulativeSum,Views.FillNaFunction,WindowFunction
public interface Function<I,O>A function that is applied to objects (rows or values) in a data frame.Implementors define
apply(Object)to perform the desired calculation and return the result.- See Also:
DataFrame#apply(Function),DataFrame#aggregate(Aggregate)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Oapply(I value)Perform computation on the specified input value and return the result.
-