Class RecursiveFlag

Object
org.apache.spark.ml.image.RecursiveFlag

public class RecursiveFlag extends Object
  • Constructor Details

    • RecursiveFlag

      public RecursiveFlag()
  • Method Details

    • withRecursiveFlag

      public static <T> T withRecursiveFlag(boolean value, SparkSession spark, scala.Function0<T> f)
      Sets the spark recursive flag and then restores it.

      Parameters:
      value - Value to set
      spark - Existing spark session
      f - The function to evaluate after setting the flag
      Returns:
      Returns the evaluation result T of the function