Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)