Package org.apache.spark.ml.image
Class RecursiveFlag
Object
org.apache.spark.ml.image.RecursiveFlag
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TwithRecursiveFlag(boolean value, SparkSession spark, scala.Function0<T> f) Sets the spark recursive flag and then restores it.
- 
Constructor Details- 
RecursiveFlagpublic RecursiveFlag()
 
- 
- 
Method Details- 
withRecursiveFlagSets 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
 
 
-