Class GetTableRequest
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationRequest
-
- com.amazonaws.athena.connector.lambda.metadata.MetadataRequest
-
- com.amazonaws.athena.connector.lambda.metadata.GetTableRequest
-
- All Implemented Interfaces:
AutoCloseable
public class GetTableRequest extends MetadataRequest
Represents the input of aGetTable
operation.
-
-
Constructor Summary
Constructors Constructor Description GetTableRequest(FederatedIdentity identity, String queryId, String catalogName, TableName tableName, Map<String,String> queryPassthroughArguments)
Constructs a new GetTableRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
equals(Object o)
Map<String,String>
getQueryPassthroughArguments()
TableName
getTableName()
Returns the name of the table metadata is being requested for.int
hashCode()
boolean
isQueryPassthrough()
String
toString()
-
Methods inherited from class com.amazonaws.athena.connector.lambda.metadata.MetadataRequest
getCatalogName, getContext, getQueryId, getRequestType, setContext
-
Methods inherited from class com.amazonaws.athena.connector.lambda.request.FederationRequest
getIdentity
-
-
-
-
Constructor Detail
-
GetTableRequest
public GetTableRequest(FederatedIdentity identity, String queryId, String catalogName, TableName tableName, Map<String,String> queryPassthroughArguments)
Constructs a new GetTableRequest object.- Parameters:
identity
- The identity of the caller.queryId
- The ID of the query requesting metadata.catalogName
- The catalog name that the table belongs to.tableName
- The name of the table metadata is being requested for.queryPassthroughArguments
-
-
-
Method Detail
-
getTableName
public TableName getTableName()
Returns the name of the table metadata is being requested for.- Returns:
- The name of the table metadata is being requested for.
-
isQueryPassthrough
public boolean isQueryPassthrough()
-
-