static FrameObject |
MLContextConversionUtil.binaryBlocksToFrameObject(org.apache.spark.api.java.JavaPairRDD<Long,FrameBlock> binaryBlocks,
FrameMetadata frameMetadata) |
Convert a JavaPairRDD<Long, FrameBlock> to a FrameObject .
|
static org.apache.spark.api.java.JavaPairRDD<Long,FrameBlock> |
MLContextConversionUtil.dataFrameToFrameBinaryBlocks(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame,
FrameMetadata frameMetadata) |
Convert a DataFrame to a JavaPairRDD<Long, FrameBlock>
binary-block frame.
|
static FrameObject |
MLContextConversionUtil.dataFrameToFrameObject(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame,
FrameMetadata frameMetadata) |
Convert a DataFrame to a FrameObject .
|
static void |
MLContextConversionUtil.determineFrameFormatIfNeeded(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame,
FrameMetadata frameMetadata) |
If the FrameFormat of the DataFrame has not been explicitly specified,
attempt to determine the proper FrameFormat.
|
static FrameObject |
MLContextConversionUtil.frameBlockToFrameObject(String variableName,
FrameBlock frameBlock,
FrameMetadata frameMetadata) |
Convert a FrameBlock to a FrameObject .
|
static boolean |
MLContextConversionUtil.isDataFrameWithIDColumn(FrameMetadata frameMetadata) |
Return whether or not the DataFrame has an ID column.
|
static FrameObject |
MLContextConversionUtil.javaRDDStringCSVToFrameObject(org.apache.spark.api.java.JavaRDD<String> javaRDD,
FrameMetadata frameMetadata) |
Convert a JavaRDD<String> in CSV format to a FrameObject
|
static FrameObject |
MLContextConversionUtil.javaRDDStringIJVToFrameObject(org.apache.spark.api.java.JavaRDD<String> javaRDD,
FrameMetadata frameMetadata) |
Convert a JavaRDD<String> in IJV format to a FrameObject
.
|
static FrameObject |
MLContextConversionUtil.rddStringCSVToFrameObject(org.apache.spark.rdd.RDD<String> rdd,
FrameMetadata frameMetadata) |
Convert a RDD<String> in CSV format to a FrameObject
|
static FrameObject |
MLContextConversionUtil.rddStringIJVToFrameObject(org.apache.spark.rdd.RDD<String> rdd,
FrameMetadata frameMetadata) |
Convert a RDD<String> in IJV format to a FrameObject .
|