Enum QueryPassthrough
- java.lang.Object
-
- java.lang.Enum<QueryPassthrough>
-
- com.amazonaws.athena.connector.lambda.metadata.optimizations.querypassthrough.QueryPassthrough
-
- All Implemented Interfaces:
Serializable
,Comparable<QueryPassthrough>
public enum QueryPassthrough extends Enum<QueryPassthrough>
This class describes Query Passthrough Signature; Schema; is where the function will reside in the catalog attaching this namespace Name; is the table function name of the QPT; Arguments; list of all arguments that this QPT is expecting to have
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUERY_PASSTHROUGH_ARGUMENTS
QUERY_PASSTHROUGH_NAME
QUERY_PASSTHROUGH_SCHEMA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
static QueryPassthrough
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueryPassthrough[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.OptimizationSubType
withArguments(List<String> arguments)
OptimizationSubType
withName(String name)
OptimizationSubType
withSchema(String schema)
-
-
-
Enum Constant Detail
-
QUERY_PASSTHROUGH_SCHEMA
public static final QueryPassthrough QUERY_PASSTHROUGH_SCHEMA
-
QUERY_PASSTHROUGH_NAME
public static final QueryPassthrough QUERY_PASSTHROUGH_NAME
-
QUERY_PASSTHROUGH_ARGUMENTS
public static final QueryPassthrough QUERY_PASSTHROUGH_ARGUMENTS
-
-
Method Detail
-
values
public static QueryPassthrough[] 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 (QueryPassthrough c : QueryPassthrough.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryPassthrough 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
-
getValue
public String getValue()
-
withSchema
public final OptimizationSubType withSchema(String schema)
-
withName
public final OptimizationSubType withName(String name)
-
withArguments
public final OptimizationSubType withArguments(List<String> arguments)
-
-