com.ibm.fhir.persistence.jdbc.connection.FHIRDbFlavor Maven / Gradle / Ivy
/*
* (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();
}