Package com.linkedin.venice.spark.utils
Class SparkScalaUtils
- java.lang.Object
-
- com.linkedin.venice.spark.utils.SparkScalaUtils
-
public final class SparkScalaUtils extends java.lang.Object
Utility methods for restricting Scala-ism in Spark code in a single class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getFieldIndex(org.apache.spark.sql.types.StructType dataSchema, java.lang.String fieldName)
Get the index of a field in a StructType.
-