public enum SparkMethod extends Enum<SparkMethod>
BuiltInMethod| 枚举常量和说明 |
|---|
ARRAY_TO_RDD |
AS_ENUMERABLE |
CREATE_RDD |
FLAT_MAP_FUNCTION_CALL |
GET_SPARK_CONTEXT |
RDD_FLAT_MAP |
| 限定符和类型 | 方法和说明 |
|---|---|
static SparkMethod |
lookup(Method method) |
static SparkMethod |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SparkMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static SparkMethod lookup(Method method)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.