Class DataCatalogueFactory


  • @NullMarked
    public class DataCatalogueFactory
    extends java.lang.Object
    Simple catalogue factory to get a catalogue instance
    Since:
    0.1
    • Method Detail

      • initialize

        public static DataCatalogueFactory initialize​(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
      • catalogue

        public <T extends DataCatalogue> T catalogue​(java.lang.Class<T> clazz)
        Get Catalogue of required type
        Type Parameters:
        T - The catalogue type
        Parameters:
        clazz - The catalogues class
        Returns:
        The catalogue if it exists
      • hasCatalogue

        public boolean hasCatalogue​(java.lang.Class<? extends DataCatalogue> clazz)
        Checks if a catalogue of this type is available
        Parameters:
        clazz - The catalogues class
        Returns:
        true if it is available