Package org.apache.spark.ml.image
Class RecursiveFlag
Object
org.apache.spark.ml.image.RecursiveFlag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
withRecursiveFlag
(boolean value, SparkSession spark, scala.Function0<T> f) Sets the spark recursive flag and then restores it.
-
Constructor Details
-
RecursiveFlag
public RecursiveFlag()
-
-
Method Details
-
withRecursiveFlag
Sets the spark recursive flag and then restores it.- Parameters:
value
- Value to setspark
- Existing spark sessionf
- The function to evaluate after setting the flag- Returns:
- Returns the evaluation result T of the function
-