public static enum MLContext.ExecutionType extends Enum<MLContext.ExecutionType>
DRIVER_AND_SPARK. DRIVER refers
 to all operations occurring in the local driver JVM. SPARK refers
 to all operations occurring on Spark. HADOOP refers to all
 operations occurring on Hadoop. DRIVER_AND_SPARK refers to
 operations occurring in the local driver JVM and on Spark when
 appropriate. DRIVER_AND_HADOOP refers to operations occurring in
 the local driver JVM and on Hadoop when appropriate.| Enum Constant and Description | 
|---|
| DRIVER | 
| DRIVER_AND_HADOOP | 
| DRIVER_AND_SPARK | 
| HADOOP | 
| SPARK | 
| Modifier and Type | Method and Description | 
|---|---|
| Types.ExecMode | getExecMode() | 
| static MLContext.ExecutionType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static MLContext.ExecutionType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final MLContext.ExecutionType DRIVER
public static final MLContext.ExecutionType SPARK
public static final MLContext.ExecutionType HADOOP
public static final MLContext.ExecutionType DRIVER_AND_SPARK
public static final MLContext.ExecutionType DRIVER_AND_HADOOP
public static MLContext.ExecutionType[] values()
for (MLContext.ExecutionType c : MLContext.ExecutionType.values()) System.out.println(c);
public static MLContext.ExecutionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic Types.ExecMode getExecMode()
Copyright © 2021 The Apache Software Foundation. All rights reserved.