Class Athena2ClientFactory
- java.lang.Object
-
- org.apache.camel.component.aws2.athena.client.Athena2ClientFactory
-
public final class Athena2ClientFactory extends Object
Factory class to return the correct type of AWS Athena client.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Athena2InternalClient
getAWSAthenaClient(Athena2Configuration configuration)
Return the correct AWS Athena client (based on remote vs local).
-
-
-
Method Detail
-
getAWSAthenaClient
public static Athena2InternalClient getAWSAthenaClient(Athena2Configuration configuration)
Return the correct AWS Athena client (based on remote vs local).- Parameters:
configuration
- configuration- Returns:
- AthenaClient
-
-