Class BaseMetastoreCatalog

    • Constructor Detail

      • BaseMetastoreCatalog

        public BaseMetastoreCatalog()
    • Method Detail

      • loadTable

        public Table loadTable​(TableIdentifier identifier)
        Description copied from interface: Catalog
        Load a table.
        Specified by:
        loadTable in interface Catalog
        Parameters:
        identifier - a table identifier
        Returns:
        instance of Table implementation referred by tableIdentifier
      • buildTable

        public Catalog.TableBuilder buildTable​(TableIdentifier identifier,
                                               Schema schema)
        Description copied from interface: Catalog
        /** Instantiate a builder to either create a table or start a create/replace transaction.
        Specified by:
        buildTable in interface Catalog
        Parameters:
        identifier - a table identifier
        schema - a schema
        Returns:
        the builder to create a table or start a create/replace transaction
      • isValidIdentifier

        protected boolean isValidIdentifier​(TableIdentifier tableIdentifier)
      • properties

        protected java.util.Map<java.lang.String,​java.lang.String> properties()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • defaultWarehouseLocation

        protected abstract java.lang.String defaultWarehouseLocation​(TableIdentifier tableIdentifier)
      • fullTableName

        protected static java.lang.String fullTableName​(java.lang.String catalogName,
                                                        TableIdentifier identifier)