Class GlueRegistryReader


  • public class GlueRegistryReader
    extends Object
    • Constructor Detail

      • GlueRegistryReader

        public GlueRegistryReader()
    • 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
      • getGlueSchemaType

        public String getGlueSchemaType​(String glueRegistryName,
                                        String glueSchemaName)
      • getSchemaDef

        public String getSchemaDef​(String glueRegistryName,
                                   String glueSchemaName)