Class FHIRDbFlavorImpl
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.connection.FHIRDbFlavorImpl
-
- All Implemented Interfaces:
FHIRDbFlavor
public class FHIRDbFlavorImpl extends java.lang.Object implements FHIRDbFlavor
Describes the capability of the underlying database and the schema it has been configured with.
-
-
Constructor Summary
Constructors Constructor Description FHIRDbFlavorImpl(DbType type, SchemaType schemaType)Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaTypegetSchemaType()What type of schema is thisDbTypegetType()What type of database is this?booleanisFamilyPostgreSQL()Is the dbType from the PostgreSQL family?
-
-
-
Constructor Detail
-
FHIRDbFlavorImpl
public FHIRDbFlavorImpl(DbType type, SchemaType schemaType)
Public constructor- Parameters:
type-schemaType-
-
-
Method Detail
-
getType
public DbType getType()
Description copied from interface:FHIRDbFlavorWhat type of database is this?- Specified by:
getTypein interfaceFHIRDbFlavor- Returns:
-
isFamilyPostgreSQL
public boolean isFamilyPostgreSQL()
Description copied from interface:FHIRDbFlavorIs the dbType from the PostgreSQL family?- Specified by:
isFamilyPostgreSQLin interfaceFHIRDbFlavor- Returns:
-
getSchemaType
public SchemaType getSchemaType()
Description copied from interface:FHIRDbFlavorWhat type of schema is this- Specified by:
getSchemaTypein interfaceFHIRDbFlavor- Returns:
-
-