A B C D F G I L P S T V W 
All Classes All Packages

A

athenaDataCatalogBuilder(String) - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
Builds the Athena data catalog stack resource.

B

build() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack.Builder
 
build() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack.Builder
 
builder() - Static method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
 
builder() - Static method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
 
Builder() - Constructor for class com.amazonaws.athena.connector.integ.stacks.ConnectorStack.Builder
 
Builder() - Constructor for class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack.Builder
 
buildWithAttributes(ConnectorStackAttributes) - Static method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
 
buildWithAttributes(ConnectorStackAttributes) - Static method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
 

C

calculateThroughput(String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
cleanUp() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Deletes a CloudFormation stack, and the lambda function registered with Athena.
CloudFormationClient - Class in com.amazonaws.athena.connector.integ.clients
Responsible for creating the CloudFormation stack needed to test the connector, and unwinding it once testing is done.
CloudFormationClient(Pair<App, Stack>) - Constructor for class com.amazonaws.athena.connector.integ.clients.CloudFormationClient
 
CloudFormationClient(App, Stack) - Constructor for class com.amazonaws.athena.connector.integ.clients.CloudFormationClient
 
com.amazonaws.athena.connector.integ - package com.amazonaws.athena.connector.integ
 
com.amazonaws.athena.connector.integ.clients - package com.amazonaws.athena.connector.integ.clients
 
com.amazonaws.athena.connector.integ.data - package com.amazonaws.athena.connector.integ.data
 
com.amazonaws.athena.connector.integ.providers - package com.amazonaws.athena.connector.integ.providers
 
com.amazonaws.athena.connector.integ.stacks - package com.amazonaws.athena.connector.integ.stacks
 
ConnectorEnvironmentVarsProvider - Class in com.amazonaws.athena.connector.integ.providers
Responsible for providing the Connector's Environment vars added to the Connector's stack attributes and used in the creation of the Lambda.
ConnectorPackagingAttributes - Class in com.amazonaws.athena.connector.integ.data
The Lambda's executable is packaged in an S3 bucket ready to be deployed by the CloudFormation stack (a result of running `sam package` - see README).
ConnectorPackagingAttributes(String, String, String) - Constructor for class com.amazonaws.athena.connector.integ.data.ConnectorPackagingAttributes
 
ConnectorPackagingAttributesProvider - Class in com.amazonaws.athena.connector.integ.providers
Responsible for providing the Connector's packaging attributes used in creating the Connector's stack attributes.
ConnectorStack - Class in com.amazonaws.athena.connector.integ.stacks
Sets up the CloudFormation stack necessary for a Lambda Connector.
ConnectorStack(ConnectorStack.Builder) - Constructor for class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
 
ConnectorStack.Builder - Class in com.amazonaws.athena.connector.integ.stacks
 
ConnectorStackAttributes - Class in com.amazonaws.athena.connector.integ.data
Contains the attributes needed to create the connector's CloudFormation stack template.
ConnectorStackAttributes(Construct, String, String, Optional<PolicyDocument>, Map<String, String>, ConnectorPackagingAttributes, Optional<ConnectorVpcAttributes>) - Constructor for class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
 
ConnectorStackAttributesProvider - Class in com.amazonaws.athena.connector.integ
Responsible for providing the Connector's stack attributes used in creating the Connector's stack (Lambda function, Athena catalog, etc...)
ConnectorStackAttributesProvider(Construct, String, String, TestConfig, Optional<PolicyDocument>, Map<String, String>) - Constructor for class com.amazonaws.athena.connector.integ.ConnectorStackAttributesProvider
 
ConnectorStackFactory - Class in com.amazonaws.athena.connector.integ
Responsible for creating different types of Connector CloudFormation stacks depending on whether the connector supports a VPC config or not.
ConnectorStackFactory(ConnectorStackAttributes) - Constructor for class com.amazonaws.athena.connector.integ.ConnectorStackFactory
 
ConnectorStackProvider - Class in com.amazonaws.athena.connector.integ
Responsible for providing a CloudFormation stack for the connector being tested.
ConnectorStackProvider(String, TestConfig) - Constructor for class com.amazonaws.athena.connector.integ.ConnectorStackProvider
 
ConnectorVpcAttributes - Class in com.amazonaws.athena.connector.integ.data
Contains the attributes for the connector's VPC configuration.
ConnectorVpcAttributes(String, String, ConnectorVpcSubnetAttributes) - Constructor for class com.amazonaws.athena.connector.integ.data.ConnectorVpcAttributes
 
ConnectorVpcAttributesProvider - Class in com.amazonaws.athena.connector.integ.providers
Responsible for providing the Connector's VPC attributes added to the Connector's stack attributes and used in the creation of the Lambda.
ConnectorVpcSubnetAttributes - Class in com.amazonaws.athena.connector.integ.data
Contains the attributes for the connector's VPC Subnet configuration.
ConnectorVpcSubnetAttributes(List<String>, List<String>) - Constructor for class com.amazonaws.athena.connector.integ.data.ConnectorVpcSubnetAttributes
 
ConnectorWithVpcStack - Class in com.amazonaws.athena.connector.integ.stacks
Sets up the CloudFormation stack necessary for a Lambda Connector with a VPC configuration.
ConnectorWithVpcStack(ConnectorWithVpcStack.Builder) - Constructor for class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
 
ConnectorWithVpcStack.Builder - Class in com.amazonaws.athena.connector.integ.stacks
 
createStack() - Method in class com.amazonaws.athena.connector.integ.clients.CloudFormationClient
Creates a CloudFormation stack to build the infrastructure needed to run the integration tests (e.g., Database instance, Lambda function, etc...).
createStack() - Method in class com.amazonaws.athena.connector.integ.ConnectorStackFactory
Creates the Connector's CloudFormation stack.

D

deleteStack() - Method in class com.amazonaws.athena.connector.integ.clients.CloudFormationClient
Deletes a CloudFormation stack, and the lambda function registered with Athena.
describeTable(String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Uses the startQueryExecution Athena API to process a "describe table" query utilizing the lambda function.

F

fetchDataDistinct(String, String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataGroupBy(String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataGroupByHavingClause(String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataJoin(String, String, String, String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataSelect(String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataSelectCountAll(String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataUnion(String, String, String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataWhereClause(String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
fetchDataWhereClauseLIKE(String, String, String, String, String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 

G

getAccessPolicy() - Method in class com.amazonaws.athena.connector.integ.ConnectorStackProvider
Must be overridden to facilitate getting the lambda function's IAM access policy.
getArn() - Method in class com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
Public accessor to the arn associated with the secret retrieved from SecretsManager.
getAttributes() - Method in class com.amazonaws.athena.connector.integ.ConnectorStackAttributesProvider
Provides the Connector's attributes needed to create the connector's CloudFormation stack template.
getAttributes() - Static method in class com.amazonaws.athena.connector.integ.providers.ConnectorPackagingAttributesProvider
Extracts the packaging attributes needed in the creation of the CF Stack from packaged.yaml (S3 Bucket, S3 Key, and lambdaFunctionHandler).
getAttributes(TestConfig) - Static method in class com.amazonaws.athena.connector.integ.providers.ConnectorVpcAttributesProvider
Gets the VPC attributes used for configuring the Lambda function.
getAvailabilityZones() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcAttributes
Public accessor for the VPC Subnets' availability zones (e.g.
getAvailabilityZones() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcSubnetAttributes
Public accessor for the VPC Subnets' availability zones (e.g.
getConnectorAccessPolicy() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Connector-specific access policy.
getConnectorAccessPolicy() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Must be overridden in the extending class to get the lambda function's IAM access policy.
getConnectorPackagingAttributes() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Connector's packaging attributes: 1) S3 Bucket, 2) S3 Key, 3) Connector's Handler.
getConnectorVpcAttributes() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Connector's VPC attributes: 1) VPC Id (e.g.
getCredentials(TestConfig) - Static method in class com.amazonaws.athena.connector.integ.providers.SecretsManagerCredentialsProvider
Gets the SecretManager credentials obtained using a secret name stored in the test-config.json file.
getEnvironmentVariables() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Connector's environment variables.
getId() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Stack's Id/name.
getItem(String) - Method in class com.amazonaws.athena.connector.integ.data.TestConfig
Gets a single item from the config file.
getLambdaFunctionHandler() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorPackagingAttributes
Public accessor for the Connector's handler.
getLambdaFunctionName() - Method in class com.amazonaws.athena.connector.integ.ConnectorStackProvider
Gets the name of the lambda function generated by the Integration-Test module.
getLambdaFunctionName() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Lambda function's name.
getLambdaFunctionName() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Public accessor for the framework generate lambda function name used in generating the lambda function.
getMap(String) - Method in class com.amazonaws.athena.connector.integ.data.TestConfig
Gets a map item from the config file.
getPassword() - Method in class com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
Public accessor to the password retrieved from SecretsManager.
getPrivateSubnetIds() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcAttributes
Public accessor for the Subnet Ids (e.g.
getPrivateSubnetIds() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcSubnetAttributes
Public accessor for the Subnet Ids (e.g.
getS3Bucket() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorPackagingAttributes
Public accessor for the Connector's S3 bucket.
getS3Key() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorPackagingAttributes
Public accessor for the location of the connector's artifact in the spill bucket (S3).
getScope() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorStackAttributes
Public accessor for the Stack's context scope.
getSecretCredentials() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Public accessor for the SecretsManager credentials obtained using the secrets_manager_secret attribute entered in the config file.
getSecretName() - Method in class com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
Public accessor to the secret name used to retrieve the credentials from SecretsManager.
getSecurityGroupId() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcAttributes
Public accessor for the VPC Security Group Id (e.g.
getStack() - Method in class com.amazonaws.athena.connector.integ.ConnectorStackProvider
Gets the CloudFormation stack programmatically using AWS CDK.
getStringItem(String) - Method in class com.amazonaws.athena.connector.integ.data.TestConfig
Gets a String item from the config file.
getStringMap(String) - Method in class com.amazonaws.athena.connector.integ.data.TestConfig
Gets a string map item from the config file.
getUsername() - Method in class com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
Public accessor to the username retrieved from SecretsManager.
getUserSettings() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Public accessor for the user_settings attribute (stored in the test-config.json file) that are customizable to any user-specific purpose.
getVars(TestConfig) - Static method in class com.amazonaws.athena.connector.integ.providers.ConnectorEnvironmentVarsProvider
Gets the environment variables used for configuring the Lambda function (e.g.
getVpcAttributes() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Public accessor for the VPC attributes used in generating the lambda function.
getVpcId() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcAttributes
Public accessor for the VPC's Id.

I

iamRoleBuilder() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
Builds the IAM role stack resource.
initialize() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
Initialize the stack by building the Lambda function and Athena data catalog.
INTEG_TEST_DATABASE_NAME - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
IntegrationTestBase - Class in com.amazonaws.athena.connector.integ
The Integration-Tests base class from which all connector-specific integration test modules should subclass.
IntegrationTestBase() - Constructor for class com.amazonaws.athena.connector.integ.IntegrationTestBase
 

L

lambdaFunctionBuilder() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
Builds the Lambda function stack resource.
lambdaFunctionBuilder() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
Builds the Lambda function stack resource injecting the VPC configuration.
listDatabases() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Uses the listDatabases Athena API to list databases for the data source utilizing the lambda function.
listTables(String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Uses the startQueryExecution Athena API to process a "show tables" query utilizing the lambda function.

P

processQuery(String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 

S

SecretsManagerCredentials - Class in com.amazonaws.athena.connector.integ.data
Holds the credentials retrieved from SecretsManager.
SecretsManagerCredentials(String, String, String, String) - Constructor for class com.amazonaws.athena.connector.integ.data.SecretsManagerCredentials
 
SecretsManagerCredentialsProvider - Class in com.amazonaws.athena.connector.integ.providers
Responsible for providing user credentials from SecretsManager.
selectBigintTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectBooleanTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectByteArrayTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectDateTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectEmptyTableTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectFloat4TypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectFloat8TypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectIntegerTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectNullValueTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectSmallintTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectTimestampTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectVarcharListTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
selectVarcharTypeTest() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
setAccessPolicies(Map<String, PolicyDocument>) - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack
Sets the access policies used by the Lambda function.
setAccessPolicies(Map<String, PolicyDocument>) - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
Sets the access policies used by the Lambda function.
setConnectorEnvironmentVars(Map<String, String>) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Must be overridden in the extending class (can be a no-op) to set the lambda function's environment variables key-value pairs (e.g.
setEnvironmentVars(Map) - Method in class com.amazonaws.athena.connector.integ.ConnectorStackProvider
Must be overridden to facilitate the setting of the lambda function's environment variables key-value pairs (e.g.
setSpecificResource(Stack) - Method in class com.amazonaws.athena.connector.integ.ConnectorStackProvider
Must be overridden (can be a no-op) to facilitate the creation of a connector-specific CloudFormation stack resource (e.g.
setUp() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Creates a CloudFormation stack to build the infrastructure needed to run the integration tests (e.g., Database instance, Lambda function, etc...).
setUpStackData(Stack) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Must be overridden in the extending class (can be a no-op) to create a connector-specific CloudFormation stack resource (e.g.
setUpTableData() - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Must be overridden in the extending class to setup the DB table (i.e.
skipColumnHeaderRow(List<Row>) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
startQueryExecution(String) - Method in class com.amazonaws.athena.connector.integ.IntegrationTestBase
Sends a DB query via Athena and returns the query results.

T

TEST_DATATYPES_BOOLEAN_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_BYTE_ARRAY_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_DATE_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_DOUBLE_PRECISION_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_INT_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_LONG_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_SHORT_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_SINGLE_PRECISION_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_TABLE_NAME - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_TIMESTAMP_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_VARCHAR_ARRAY_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_DATATYPES_VARCHAR_VALUE - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_EMPTY_TABLE_NAME - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TEST_NULL_TABLE_NAME - Static variable in class com.amazonaws.athena.connector.integ.IntegrationTestBase
 
TestConfig - Class in com.amazonaws.athena.connector.integ.data
This class is responsible for extracting the attributes from the test config file (test-config.json), and provides simple extractors for the attributes within.
TestConfig() - Constructor for class com.amazonaws.athena.connector.integ.data.TestConfig
The constructor loads the test configuration attributes from a file into a config Map.
toString() - Method in class com.amazonaws.athena.connector.integ.data.ConnectorVpcSubnetAttributes
 

V

vpcAttributesBuilder() - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack
Builds the VPC Attributes.

W

withAttributes(ConnectorStackAttributes) - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorStack.Builder
 
withAttributes(ConnectorStackAttributes) - Method in class com.amazonaws.athena.connector.integ.stacks.ConnectorWithVpcStack.Builder
 
A B C D F G I L P S T V W 
All Classes All Packages