Class RecordResponse
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationResponse
-
- com.amazonaws.athena.connector.lambda.records.RecordResponse
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
ReadRecordsResponse,RemoteReadRecordsResponse
public abstract class RecordResponse extends FederationResponse
Parent class representing the generic output of allRecordoperations.
-
-
Constructor Summary
Constructors Constructor Description RecordResponse(RecordRequestType requestType, String catalogName)Constructs a new RecordResponse object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCatalogName()Returns the catalog name that the data is for.RecordRequestTypegetRequestType()Returns the type of request this response corresponds to.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Constructor Detail
-
RecordResponse
public RecordResponse(RecordRequestType requestType, String catalogName)
Constructs a new RecordResponse object.- Parameters:
requestType- The type of request this response corresponds to.catalogName- The catalog name that the data is for.
-
-
Method Detail
-
getRequestType
public RecordRequestType getRequestType()
Returns the type of request this response corresponds to.- Returns:
- The type of request this response corresponds to.
-
getCatalogName
public String getCatalogName()
Returns the catalog name that the data is for.- Returns:
- The catalog name that the data is for.
-
-