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 SchemaType
getSchemaType()
What type of schema is thisDbType
getType()
What type of database is this?boolean
isFamilyPostgreSQL()
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:FHIRDbFlavor
What type of database is this?- Specified by:
getType
in interfaceFHIRDbFlavor
- Returns:
-
isFamilyPostgreSQL
public boolean isFamilyPostgreSQL()
Description copied from interface:FHIRDbFlavor
Is the dbType from the PostgreSQL family?- Specified by:
isFamilyPostgreSQL
in interfaceFHIRDbFlavor
- Returns:
-
getSchemaType
public SchemaType getSchemaType()
Description copied from interface:FHIRDbFlavor
What type of schema is this- Specified by:
getSchemaType
in interfaceFHIRDbFlavor
- Returns:
-
-