public class RecursiveFlag
extends Object
| Constructor and Description | 
|---|
| RecursiveFlag() | 
| Modifier and Type | Method and Description | 
|---|---|
| static <T> T | withRecursiveFlag(boolean value,
                 SparkSession spark,
                 scala.Function0<T> f)Sets the spark recursive flag and then restores it. | 
public static <T> T withRecursiveFlag(boolean value,
                                      SparkSession spark,
                                      scala.Function0<T> f)
value - Value to setspark - Existing spark sessionf - The function to evaluate after setting the flag