# Uses of Class
org.apache.sysds.api.mlcontext.FrameMetadata

Packages that use FrameMetadata
Package
Description
org.apache.sysds.api.mlcontext

## Uses of FrameMetadata in org.apache.sysds.api.mlcontext

Methods in org.apache.sysds.api.mlcontext that return FrameMetadata
Modifier and Type
Method
Description
`FrameMetadata`
Frame.`getFrameMetadata()`
Obtain the frame metadata
Methods in org.apache.sysds.api.mlcontext with parameters of type FrameMetadata
Modifier and Type
Method
Description
`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`.
Constructors in org.apache.sysds.api.mlcontext with parameters of type FrameMetadata
Modifier
Constructor
Description
``
`Frame(org.apache.spark.api.java.JavaPairRDD<Long,FrameBlock> binaryBlocks, FrameMetadata frameMetadata)`
Create a Frame, specifying the SystemDS binary-block frame and its metadata.
``
`Frame(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame, FrameMetadata frameMetadata)`
Convert a Spark DataFrame to a SystemDS binary-block representation.