Enum SparkMethod

java.lang.Object
java.lang.Enum<SparkMethod>
org.apache.calcite.adapter.spark.SparkMethod
All Implemented Interfaces:
Serializable, Comparable<SparkMethod>, Constable

public enum SparkMethod extends Enum<SparkMethod>
Built-in methods in the Spark adapter.
See Also:
  • Enum Constant Details

    • AS_ENUMERABLE

      public static final SparkMethod AS_ENUMERABLE
    • ARRAY_TO_RDD

      public static final SparkMethod ARRAY_TO_RDD
    • CREATE_RDD

      public static final SparkMethod CREATE_RDD
    • GET_SPARK_CONTEXT

      public static final SparkMethod GET_SPARK_CONTEXT
    • RDD_FLAT_MAP

      public static final SparkMethod RDD_FLAT_MAP
    • FLAT_MAP_FUNCTION_CALL

      public static final SparkMethod FLAT_MAP_FUNCTION_CALL
  • Field Details

    • method

      public final Method method
  • Method Details

    • values

      public static SparkMethod[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SparkMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • lookup

      public static SparkMethod lookup(Method method)