Enum DataSourceOptimizations
- java.lang.Object
-
- java.lang.Enum<DataSourceOptimizations>
-
- com.amazonaws.athena.connector.lambda.metadata.optimizations.DataSourceOptimizations
-
- All Implemented Interfaces:
Serializable
,Comparable<DataSourceOptimizations>
public enum DataSourceOptimizations extends Enum<DataSourceOptimizations>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_SOURCE_HINTS
SUPPORTS_COMPLEX_EXPRESSION_PUSHDOWN
SUPPORTS_FILTER_PUSHDOWN
SUPPORTS_LIMIT_PUSHDOWN
SUPPORTS_TOP_N_PUSHDOWN
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getOptimization()
static DataSourceOptimizations
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataSourceOptimizations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.abstract Map.Entry<String,List<OptimizationSubType>>
withSupportedSubTypes(PushdownSubTypes... subTypesList)
-
-
-
Enum Constant Detail
-
SUPPORTS_LIMIT_PUSHDOWN
public static final DataSourceOptimizations SUPPORTS_LIMIT_PUSHDOWN
-
SUPPORTS_TOP_N_PUSHDOWN
public static final DataSourceOptimizations SUPPORTS_TOP_N_PUSHDOWN
-
SUPPORTS_FILTER_PUSHDOWN
public static final DataSourceOptimizations SUPPORTS_FILTER_PUSHDOWN
-
SUPPORTS_COMPLEX_EXPRESSION_PUSHDOWN
public static final DataSourceOptimizations SUPPORTS_COMPLEX_EXPRESSION_PUSHDOWN
-
DATA_SOURCE_HINTS
public static final DataSourceOptimizations DATA_SOURCE_HINTS
-
-
Method Detail
-
values
public static DataSourceOptimizations[] 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 (DataSourceOptimizations c : DataSourceOptimizations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSourceOptimizations 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
-
getOptimization
public String getOptimization()
-
withSupportedSubTypes
public abstract Map.Entry<String,List<OptimizationSubType>> withSupportedSubTypes(PushdownSubTypes... subTypesList)
-
-