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 aListSchemas
operation.
-
-
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 void
close()
boolean
equals(Object o)
Collection<String>
getSchemas()
Returns the list of schema names.int
hashCode()
String
toString()
-
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.
-
-