Enum SubstraitOperator

  • All Implemented Interfaces:
    Serializable, Comparable<SubstraitOperator>

    public enum SubstraitOperator
    extends Enum<SubstraitOperator>
    Represents a subset of Substrait-supported operators for query federation. This enum contains only the commonly used operators that are supported by the Athena Query Federation framework. The full Substrait specification includes many more operators, We will extend more operators as we need.
    • Method Detail

      • values

        public static SubstraitOperator[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SubstraitOperator c : SubstraitOperator.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SubstraitOperator 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
      • getSymbol

        public String getSymbol()