Package org.apache.iceberg.spark
Class JobGroupUtils
- java.lang.Object
-
- org.apache.iceberg.spark.JobGroupUtils
-
public class JobGroupUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JobGroupInfo
getJobGroupInfo(org.apache.spark.SparkContext sparkContext)
static void
setJobGroupInfo(org.apache.spark.SparkContext sparkContext, JobGroupInfo info)
static <T> T
withJobGroupInfo(org.apache.spark.api.java.JavaSparkContext sparkContext, JobGroupInfo info, java.util.function.Supplier<T> supplier)
static <T> T
withJobGroupInfo(org.apache.spark.SparkContext sparkContext, JobGroupInfo info, java.util.function.Supplier<T> supplier)
-
-
-
Method Detail
-
getJobGroupInfo
public static JobGroupInfo getJobGroupInfo(org.apache.spark.SparkContext sparkContext)
-
setJobGroupInfo
public static void setJobGroupInfo(org.apache.spark.SparkContext sparkContext, JobGroupInfo info)
-
withJobGroupInfo
public static <T> T withJobGroupInfo(org.apache.spark.api.java.JavaSparkContext sparkContext, JobGroupInfo info, java.util.function.Supplier<T> supplier)
-
withJobGroupInfo
public static <T> T withJobGroupInfo(org.apache.spark.SparkContext sparkContext, JobGroupInfo info, java.util.function.Supplier<T> supplier)
-
-