Interface ResolvedCatalogModel

    • Method Detail

      • getOrigin

        CatalogModel getOrigin()
        Returns the original, unresolved metadata object from the Catalog.

        This method might be useful if catalog-specific object instances should be directly forwarded from the catalog to a factory.

      • toProperties

        default Map<String,​String> toProperties()
        Serializes this instance into a map of string-based properties.

        Compared to the pure table options in CatalogModel.getOptions(), the map includes input schema, output schema, comment and options.

      • toProperties

        Map<String,​String> toProperties​(SqlFactory sqlFactory)
        Serializes this instance into a map of string-based properties.

        Compared to the pure table options in CatalogModel.getOptions(), the map includes input schema, output schema, comment and options.

      • of

        static ResolvedCatalogModel of​(CatalogModel origin,
                                       ResolvedSchema resolvedInputSchema,
                                       ResolvedSchema resolvedOutputSchema)
        Creates a basic implementation of this interface.
        Parameters:
        origin - origin unresolved catalog model
        resolvedInputSchema - resolved input schema
        resolvedOutputSchema - resolved output schema