public enum SparkMethod extends Enum<SparkMethod>
BuiltInMethod| Enum Constant and Description |
|---|
ARRAY_TO_RDD |
AS_ENUMERABLE |
CREATE_RDD |
FLAT_MAP_FUNCTION_CALL |
GET_SPARK_CONTEXT |
RDD_FLAT_MAP |
| Modifier and Type | Method and Description |
|---|---|
static SparkMethod |
lookup(Method method) |
static SparkMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SparkMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparkMethod AS_ENUMERABLE
public static final SparkMethod ARRAY_TO_RDD
public static final SparkMethod CREATE_RDD
public static final SparkMethod GET_SPARK_CONTEXT
public static final SparkMethod RDD_FLAT_MAP
public static final SparkMethod FLAT_MAP_FUNCTION_CALL
public final Method method
public static SparkMethod[] values()
for (SparkMethod c : SparkMethod.values()) System.out.println(c);
public static SparkMethod 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 static SparkMethod lookup(Method method)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.