Class GetDataSourceCapabilitiesResponse
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationResponse
-
- com.amazonaws.athena.connector.lambda.metadata.MetadataResponse
-
- com.amazonaws.athena.connector.lambda.metadata.GetDataSourceCapabilitiesResponse
-
- All Implemented Interfaces:
AutoCloseable
public class GetDataSourceCapabilitiesResponse extends MetadataResponse
-
-
Constructor Summary
Constructors Constructor Description GetDataSourceCapabilitiesResponse(String catalogName, Map<String,List<OptimizationSubType>> capabilities)
Constructs a new MetadataResponse object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
equals(Object o)
Map<String,List<OptimizationSubType>>
getCapabilities()
int
hashCode()
String
toString()
-
Methods inherited from class com.amazonaws.athena.connector.lambda.metadata.MetadataResponse
getCatalogName, getRequestType
-
-
-
-
Constructor Detail
-
GetDataSourceCapabilitiesResponse
public GetDataSourceCapabilitiesResponse(String catalogName, Map<String,List<OptimizationSubType>> capabilities)
Constructs a new MetadataResponse object.- Parameters:
catalogName
- The catalog name that the metadata is for.capabilities
- The map of capabilities supported by the data source.
-
-
Method Detail
-
getCapabilities
public Map<String,List<OptimizationSubType>> getCapabilities()
-
-