Class GlueRegistryReader
- java.lang.Object
-
- com.amazonaws.athena.connectors.msk.GlueRegistryReader
-
public class GlueRegistryReader extends Object
-
-
Constructor Summary
Constructors Constructor Description GlueRegistryReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getGlueSchema(String glueRegistryName, String glueSchemaName, Class<T> clazz)
fetch schema file content from glue schema.String
getGlueSchemaType(String glueRegistryName, String glueSchemaName)
String
getSchemaDef(String glueRegistryName, String glueSchemaName)
software.amazon.awssdk.services.glue.model.GetSchemaVersionResponse
getSchemaVersionResult(String glueRegistryName, String glueSchemaName)
Fetch glue schema content for latest version
-
-
-
Method Detail
-
getSchemaVersionResult
public software.amazon.awssdk.services.glue.model.GetSchemaVersionResponse getSchemaVersionResult(String glueRegistryName, String glueSchemaName)
Fetch glue schema content for latest version- Parameters:
glueRegistryName
-glueSchemaName
-- Returns:
-
getGlueSchema
public <T> T getGlueSchema(String glueRegistryName, String glueSchemaName, Class<T> clazz) throws Exception
fetch schema file content from glue schema.- Type Parameters:
T
-- Parameters:
glueRegistryName
-glueSchemaName
-clazz
-- Returns:
- Throws:
Exception
-
-