Enum ResultMode
- java.lang.Object
-
- java.lang.Enum<ResultMode>
-
- org.apache.flink.table.client.config.ResultMode
-
- All Implemented Interfaces:
Serializable,Comparable<ResultMode>,org.apache.flink.configuration.DescribedEnum
public enum ResultMode extends Enum<ResultMode> implements org.apache.flink.configuration.DescribedEnum
The mode when display the result of the query in the sql client.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElementgetDescription()static ResultModevalueOf(String name)Returns the enum constant of this type with the specified name.static ResultMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE
public static final ResultMode TABLE
-
CHANGELOG
public static final ResultMode CHANGELOG
-
TABLEAU
public static final ResultMode TABLEAU
-
-
Method Detail
-
values
public static ResultMode[] 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 (ResultMode c : ResultMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultMode 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 nameNullPointerException- if the argument is null
-
getDescription
public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-
-