All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.fhir.persistence.jdbc.connection.FHIRDbFlavor Maven / Gradle / Ivy

There is a newer version: 4.11.1
Show newest version
/*
 * (C) Copyright IBM Corp. 2020
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package com.ibm.fhir.persistence.jdbc.connection;

import com.ibm.fhir.database.utils.model.DbType;

/**
 * Capabilities supported by the different flavors of database we connect to.
 * The flavor is a combination of the database type (e.g. DB2/Derby etc) and
 * the capabilities of the installed schema
 */
public interface FHIRDbFlavor {

    /**
     * Does the database support multi-tenancy?
     * @return
     */
    public boolean isMultitenant();

    /**
     * What type of database is this?
     * @return
     */
    public DbType getType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy