Package org.apache.iceberg.spark
Class JobGroupUtils
java.lang.Object
org.apache.iceberg.spark.JobGroupUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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, Supplier<T> supplier) static <T> T
withJobGroupInfo
(org.apache.spark.SparkContext sparkContext, JobGroupInfo info, Supplier<T> supplier)
-
Method Details
-
getJobGroupInfo
-
setJobGroupInfo
-
withJobGroupInfo
public static <T> T withJobGroupInfo(org.apache.spark.api.java.JavaSparkContext sparkContext, JobGroupInfo info, Supplier<T> supplier) -
withJobGroupInfo
public static <T> T withJobGroupInfo(org.apache.spark.SparkContext sparkContext, JobGroupInfo info, Supplier<T> supplier)
-