Package com.exasol.adapter.sql
Enum SqlFunctionAggregateListagg.Behavior.TruncationType
- java.lang.Object
-
- java.lang.Enum<SqlFunctionAggregateListagg.Behavior.TruncationType>
-
- com.exasol.adapter.sql.SqlFunctionAggregateListagg.Behavior.TruncationType
-
- All Implemented Interfaces:
Serializable
,Comparable<SqlFunctionAggregateListagg.Behavior.TruncationType>
- Enclosing class:
- SqlFunctionAggregateListagg.Behavior
public static enum SqlFunctionAggregateListagg.Behavior.TruncationType extends Enum<SqlFunctionAggregateListagg.Behavior.TruncationType>
Expected truncation types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description WITH_COUNT
With count truncation type.WITHOUT_COUNT
Without count truncation type.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlFunctionAggregateListagg.Behavior.TruncationType
parseTruncationType(String value)
Parse truncation type.String
toString()
static SqlFunctionAggregateListagg.Behavior.TruncationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SqlFunctionAggregateListagg.Behavior.TruncationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WITH_COUNT
public static final SqlFunctionAggregateListagg.Behavior.TruncationType WITH_COUNT
With count truncation type.
-
WITHOUT_COUNT
public static final SqlFunctionAggregateListagg.Behavior.TruncationType WITHOUT_COUNT
Without count truncation type.
-
-
Method Detail
-
values
public static SqlFunctionAggregateListagg.Behavior.TruncationType[] 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 (SqlFunctionAggregateListagg.Behavior.TruncationType c : SqlFunctionAggregateListagg.Behavior.TruncationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlFunctionAggregateListagg.Behavior.TruncationType 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
-
parseTruncationType
public static SqlFunctionAggregateListagg.Behavior.TruncationType parseTruncationType(String value)
Parse truncation type.- Parameters:
value
- truncation type string- Returns:
- the truncation type
-
toString
public String toString()
- Overrides:
toString
in classEnum<SqlFunctionAggregateListagg.Behavior.TruncationType>
-
-