Class PingResponse
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationResponse
-
- com.amazonaws.athena.connector.lambda.request.PingResponse
-
- All Implemented Interfaces:
AutoCloseable
public class PingResponse extends FederationResponse
Represents the output of aPing
operation.
-
-
Constructor Summary
Constructors Constructor Description PingResponse(String catalogName, String queryId, String sourceType, int capabilities, int serDeVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
equals(Object o)
int
getCapabilities()
Returns the ID indicating the capabilities of the pinged endpoint.String
getCatalogName()
Returns the name of the catalog that was pinged.String
getQueryId()
Returns the ID of the query that pinged.int
getSerDeVersion()
Returns the version of serialization used by the pinged endpoint.String
getSourceType()
Returns the source type ID of the pinged endpoint.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
PingResponse
public PingResponse(String catalogName, String queryId, String sourceType, int capabilities, int serDeVersion)
- Parameters:
catalogName
- The name of the catalog that was pinged.queryId
- The ID of the query that pinged.sourceType
- The source type ID of the pinged endpoint.capabilities
- The ID indicating the capabilities of the pinged endpoint.
-
-
Method Detail
-
getCatalogName
public String getCatalogName()
Returns the name of the catalog that was pinged.- Returns:
- The name of the catalog that was pinged.
-
getQueryId
public String getQueryId()
Returns the ID of the query that pinged.- Returns:
- The ID of the query that pinged.
-
getSourceType
public String getSourceType()
Returns the source type ID of the pinged endpoint.- Returns:
- The source type ID of the pinged endpoint.
-
getCapabilities
public int getCapabilities()
Returns the ID indicating the capabilities of the pinged endpoint.- Returns:
- The ID indicating the capabilities of the pinged endpoint.
-
getSerDeVersion
public int getSerDeVersion()
Returns the version of serialization used by the pinged endpoint.- Returns:
- The version of serialization used by the pinged endpoint.
-
-