Class RedisQueryPassthrough
- java.lang.Object
-
- com.amazonaws.athena.connectors.redis.qpt.RedisQueryPassthrough
-
- All Implemented Interfaces:
QueryPassthroughSignature
public final class RedisQueryPassthrough extends Object implements QueryPassthroughSignature
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
ARGUMENTS
static String
ARGV
static String
KEYS
static String
NAME
static String
SCHEMA
static String
SCRIPT
-
Fields inherited from interface com.amazonaws.athena.connector.lambda.metadata.optimizations.querypassthrough.QueryPassthroughSignature
DEFAULT_ENABLE_QUERY_PASSTHROUGH_STATE, ENABLE_QUERY_PASSTHROUGH, SCHEMA_FUNCTION_NAME
-
-
Constructor Summary
Constructors Constructor Description RedisQueryPassthrough()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getFunctionArguments()
String
getFunctionName()
String
getFunctionSchema()
org.slf4j.Logger
getLogger()
note: due to needing to stay compatible with JDK8; we can't use JDK9 private method-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.athena.connector.lambda.metadata.optimizations.querypassthrough.QueryPassthroughSignature
addQueryPassthroughCapabilityIfEnabled, allowQueryPassthrough, customConnectorVerifications, getFunctionSignature, getQueryPassthroughCapabilities, verify, verifyFunctionSignature
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
SCHEMA
public static final String SCHEMA
- See Also:
- Constant Field Values
-
SCRIPT
public static final String SCRIPT
- See Also:
- Constant Field Values
-
KEYS
public static final String KEYS
- See Also:
- Constant Field Values
-
ARGV
public static final String ARGV
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFunctionSchema
public String getFunctionSchema()
- Specified by:
getFunctionSchema
in interfaceQueryPassthroughSignature
- Returns:
- QPT Function's Schema (also known as a domain or namepsace)
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in interfaceQueryPassthroughSignature
- Returns:
- QPT Function's name
-
getFunctionArguments
public List<String> getFunctionArguments()
- Specified by:
getFunctionArguments
in interfaceQueryPassthroughSignature
- Returns:
- Query Passthrough Function's Arguments
-
getLogger
public org.slf4j.Logger getLogger()
Description copied from interface:QueryPassthroughSignature
note: due to needing to stay compatible with JDK8; we can't use JDK9 private method- Specified by:
getLogger
in interfaceQueryPassthroughSignature
- Returns:
- a logger
-
-