Class ListSchemasResponse
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.request.FederationResponse
-
- com.amazonaws.athena.connector.lambda.metadata.MetadataResponse
-
- com.amazonaws.athena.connector.lambda.metadata.ListSchemasResponse
-
- All Implemented Interfaces:
AutoCloseable
public class ListSchemasResponse extends MetadataResponse
Represents the output of aListSchemasoperation.
-
-
Constructor Summary
Constructors Constructor Description ListSchemasResponse(String catalogName, Collection<String> schemas)Constructs a new ListSchemasResponse object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanequals(Object o)Collection<String>getSchemas()Returns the list of schema names.inthashCode()StringtoString()-
Methods inherited from class com.amazonaws.athena.connector.lambda.metadata.MetadataResponse
getCatalogName, getRequestType
-
-
-
-
Constructor Detail
-
ListSchemasResponse
public ListSchemasResponse(String catalogName, Collection<String> schemas)
Constructs a new ListSchemasResponse object.- Parameters:
catalogName- The catalog name that schemas were listed for.schemas- The list of schema names (they all must be lowercase).
-
-
Method Detail
-
getSchemas
public Collection<String> getSchemas()
Returns the list of schema names.- Returns:
- The list of schema names.
-
-