All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.catboost.spark.impl.RowEncoderConstructor.scala Maven / Gradle / Ivy

package ai.catboost.spark.impl

import org.apache.spark.sql.Row
import org.apache.spark.sql.catalyst.encoders.{ExpressionEncoder,RowEncoder}
import org.apache.spark.sql.types.StructType

object RowEncoderConstructor {
    def construct(schema: StructType) : ExpressionEncoder[Row] = {
        RowEncoder(schema)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy