public final class MLFunctions extends Object
Modifier and Type | Field and Description |
---|---|
static org.apache.spark.api.java.function.Function<String,String[]> |
PARSE_FN
Parses a CSV or JSON array to String[]
|
static org.apache.spark.api.java.function.Function<Iterable<Double>,Double> |
SUM_WITH_NAN |
static org.apache.spark.api.java.function.Function<String,Long> |
TO_TIMESTAMP_FN
Parses as if with PARSE_FN and returns fourth field as timestamp
|
public static final org.apache.spark.api.java.function.Function<String,String[]> PARSE_FN
public static final org.apache.spark.api.java.function.Function<String,Long> TO_TIMESTAMP_FN
Copyright © 2014–2018. All rights reserved.