Uses of Interface
com.ibm.fhir.database.utils.api.IDatabaseTranslator
-
-
Uses of IDatabaseTranslator in com.ibm.fhir.bucket.persistence
Methods in com.ibm.fhir.bucket.persistence with parameters of type IDatabaseTranslator Modifier and Type Method Description Long
AddBucketPath. run(IDatabaseTranslator translator, Connection c)
ResourceBundleData
AddResourceBundle. run(IDatabaseTranslator translator, Connection c)
void
AddResourceBundleErrors. run(IDatabaseTranslator translator, Connection c)
void
AllocateJobs. run(IDatabaseTranslator translator, Connection c)
void
ClearStaleAllocations. run(IDatabaseTranslator translator, Connection c)
Integer
GetLastProcessedLineNumber. run(IDatabaseTranslator translator, Connection c)
void
GetLogicalIds. run(IDatabaseTranslator translator, Connection c)
List<ResourceRef>
GetResourceRefsForBundleLine. run(IDatabaseTranslator translator, Connection c)
void
LoaderInstanceHeartbeat. run(IDatabaseTranslator translator, Connection c)
void
MarkBundleDone. run(IDatabaseTranslator translator, Connection c)
void
MergeResources. run(IDatabaseTranslator translator, Connection c)
void
MergeResourceTypes. run(IDatabaseTranslator translator, Connection c)
void
MergeResourceTypesPostgres. run(IDatabaseTranslator translator, Connection c)
void
RecordLogicalId. run(IDatabaseTranslator translator, Connection c)
void
RecordLogicalIdList. run(IDatabaseTranslator translator, Connection c)
Long
RegisterLoaderInstance. run(IDatabaseTranslator translator, Connection c)
List<ResourceTypeRec>
ResourceTypesReader. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.api
Methods in com.ibm.fhir.database.utils.api that return IDatabaseTranslator Modifier and Type Method Description IDatabaseTranslator
IConnectionProvider. getTranslator()
Get the translator associated with this connection provider.IDatabaseTranslator
IDatabaseAdapter. getTranslator()
Get theIDatabaseTranslator
associated with this adapterMethods in com.ibm.fhir.database.utils.api with parameters of type IDatabaseTranslator Modifier and Type Method Description void
IDatabaseStatement. run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection.T
IDatabaseSupplier. run(IDatabaseTranslator translator, Connection c)
Execute the statement using the connection and return the valuevoid
IDatabaseTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
Run the statement using the resources (e.g.<T> T
IDatabaseTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
Run a statement returning a value of type T.void
IDatabaseTarget. runStatement(IDatabaseTranslator translator, String ddl)
Run the given DDL statement against the connection managed by the implementation of this interfacevoid
IDatabaseTarget. runStatementWithInt(IDatabaseTranslator translator, String sql, int value)
Convenience method for running a SQL statement requiring a single int parameter -
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.common
Methods in com.ibm.fhir.database.utils.common that return IDatabaseTranslator Modifier and Type Method Description IDatabaseTranslator
CommonDatabaseAdapter. getTranslator()
IDatabaseTranslator
JdbcConnectionProvider. getTranslator()
Methods in com.ibm.fhir.database.utils.common with parameters of type IDatabaseTranslator Modifier and Type Method Description void
AddColumn. run(IDatabaseTranslator translator, Connection c)
void
AddForeignKeyConstraint. run(IDatabaseTranslator translator, Connection c)
void
CreateIndexStatement. run(IDatabaseTranslator translator, Connection c)
void
DropColumn. run(IDatabaseTranslator translator, Connection c)
void
DropForeignKeyConstraint. run(IDatabaseTranslator translator, Connection c)
void
DropIndex. run(IDatabaseTranslator translator, Connection c)
void
DropTable. run(IDatabaseTranslator translator, Connection c)
Long
GetSequenceNextValueDAO. run(IDatabaseTranslator translator, Connection c)
Execute the encapsulated query against the database and stream the result data to the configured targetvoid
ConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
<T> T
ConnectionProviderTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
void
ConnectionProviderTarget. runStatement(IDatabaseTranslator translator, String ddl)
void
JdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
<T> T
JdbcTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
void
JdbcTarget. runStatement(IDatabaseTranslator translator, String ddl)
void
NopTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
<T> T
NopTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
void
NopTarget. runStatement(IDatabaseTranslator translator, String ddl)
void
PrintTarget. runStatement(IDatabaseTranslator translator, IDatabaseStatement statement)
<T> T
PrintTarget. runStatement(IDatabaseTranslator translator, IDatabaseSupplier<T> supplier)
void
PrintTarget. runStatement(IDatabaseTranslator translator, String ddl)
void
ConnectionProviderTarget. runStatementWithInt(IDatabaseTranslator translator, String sql, int value)
void
JdbcTarget. runStatementWithInt(IDatabaseTranslator translator, String sql, int value)
void
NopTarget. runStatementWithInt(IDatabaseTranslator translator, String sql, int value)
void
PrintTarget. runStatementWithInt(IDatabaseTranslator translator, String sql, int value)
Constructors in com.ibm.fhir.database.utils.common with parameters of type IDatabaseTranslator Constructor Description CommonDatabaseAdapter(IConnectionProvider cp, IDatabaseTranslator dt)
Public constructor for when we're using a connection providerCommonDatabaseAdapter(IDatabaseTarget tgt, IDatabaseTranslator dt)
Protected constructorJdbcConnectionProvider(IDatabaseTranslator translator, JdbcPropertyAdapter properties)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.db2
Classes in com.ibm.fhir.database.utils.db2 that implement IDatabaseTranslator Modifier and Type Class Description class
Db2Translator
Handles translation of statements/fragments etc specific to DB2Methods in com.ibm.fhir.database.utils.db2 with parameters of type IDatabaseTranslator Modifier and Type Method Description void
Db2AddTablePartition. run(IDatabaseTranslator translator, Connection c)
void
Db2AddTableToStaging. run(IDatabaseTranslator translator, Connection c)
void
Db2AdminCommand. run(IDatabaseTranslator translator, Connection c)
void
Db2CheckCompatibility. run(IDatabaseTranslator translator, Connection c)
void
Db2CreateTablespace. run(IDatabaseTranslator translator, Connection c)
void
Db2DetachTablePartition. run(IDatabaseTranslator translator, Connection c)
void
Db2DropTablespace. run(IDatabaseTranslator translator, Connection c)
void
Db2GetPartitionInfo. run(IDatabaseTranslator translator, Connection c)
Db2TableInfo
Db2GetTableInfo. run(IDatabaseTranslator translator, Connection c)
Integer
Db2GetTenantVariable. run(IDatabaseTranslator translator, Connection c)
void
Db2Reorg. run(IDatabaseTranslator translator, Connection c)
void
Db2SetTenantVariable. run(IDatabaseTranslator translator, Connection c)
protected boolean
Db2CreateTablespace. tablespaceExists(IDatabaseTranslator translator, Connection c)
Check if the given tablespace existsprotected boolean
Db2DropTablespace. tablespaceExists(IDatabaseTranslator translator, Connection c)
Check if the given tablespace existsConstructors in com.ibm.fhir.database.utils.db2 with parameters of type IDatabaseTranslator Constructor Description Db2CatalogDAO(IDatabaseTranslator w)
Db2CatalogDAO(IDatabaseTranslator w, String catalogSchema)
So that we can test in Derby -
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.derby
Classes in com.ibm.fhir.database.utils.derby that implement IDatabaseTranslator Modifier and Type Class Description class
DerbyNetworkTranslator
translates database access to Derby supported access.class
DerbyTranslator
translates database access to Derby supported access.Methods in com.ibm.fhir.database.utils.derby that return IDatabaseTranslator Modifier and Type Method Description IDatabaseTranslator
DerbyConnectionProvider. getTranslator()
IDatabaseTranslator
DerbyMaster. getTranslator()
Get the statement translator we use for DerbyMethods in com.ibm.fhir.database.utils.derby with parameters of type IDatabaseTranslator Modifier and Type Method Description Boolean
DerbyDoesTableExist. run(IDatabaseTranslator translator, Connection c)
List<LockInfo>
DerbyLockDiag. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.pool
Methods in com.ibm.fhir.database.utils.pool that return IDatabaseTranslator Modifier and Type Method Description IDatabaseTranslator
PoolConnectionProvider. getTranslator()
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.postgres
Classes in com.ibm.fhir.database.utils.postgres that implement IDatabaseTranslator Modifier and Type Class Description class
PostgresTranslator
translates database access to Postgres supported access.Methods in com.ibm.fhir.database.utils.postgres with parameters of type IDatabaseTranslator Modifier and Type Method Description Boolean
PostgresDoesTableExist. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.tenant
Methods in com.ibm.fhir.database.utils.tenant with parameters of type IDatabaseTranslator Modifier and Type Method Description protected void
DeleteTenantDAO. deleteFromTenantKeys(IDatabaseTranslator translator, Connection c)
protected void
DeleteTenantDAO. deleteFromTenants(IDatabaseTranslator translator, Connection c)
void
AddTenantDAO. run(IDatabaseTranslator translator, Connection c)
void
AddTenantKeyDAO. run(IDatabaseTranslator translator, Connection c)
void
CreateOrReplaceViewDAO. run(IDatabaseTranslator translator, Connection c)
void
DeleteTenantDAO. run(IDatabaseTranslator translator, Connection c)
void
DropViewDAO. run(IDatabaseTranslator translator, Connection c)
Integer
FindTenantIdDAO. run(IDatabaseTranslator translator, Connection c)
Tenant
GetTenantDAO. run(IDatabaseTranslator translator, Connection c)
Integer
MaxTenantIdDAO. run(IDatabaseTranslator translator, Connection c)
Execute the encapsulated query against the database and stream the result data to the configured targetvoid
UpdateTenantStatusDAO. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.version
Methods in com.ibm.fhir.database.utils.version with parameters of type IDatabaseTranslator Modifier and Type Method Description void
AddVersionDAO. run(IDatabaseTranslator translator, Connection c)
Map<String,Integer>
GetLatestVersionDAO. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc
Methods in com.ibm.fhir.persistence.jdbc that return IDatabaseTranslator Modifier and Type Method Description static IDatabaseTranslator
FHIRResourceDAOFactory. getTranslatorForFlavor(FHIRDbFlavor flavor)
Get theIDatabaseTranslator
implementation specific to the givenFHIRDbFlavor
-
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc.dao
Methods in com.ibm.fhir.persistence.jdbc.dao that return IDatabaseTranslator Modifier and Type Method Description protected IDatabaseTranslator
ReindexResourceDAO. getTranslator()
Getter for the translator currently held by this DAOConstructors in com.ibm.fhir.persistence.jdbc.dao with parameters of type IDatabaseTranslator Constructor Description ReindexResourceDAO(Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, IResourceReferenceDAO rrd)
Public constructorReindexResourceDAO(Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, String schemaName, FHIRDbFlavor flavor, TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, IResourceReferenceDAO rrd, ParameterTransactionDataImpl ptdi)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc.dao.impl
Methods in com.ibm.fhir.persistence.jdbc.dao.impl that return IDatabaseTranslator Modifier and Type Method Description protected IDatabaseTranslator
ResourceReferenceDAO. getTranslator()
Getter for theIDatabaseTranslator
held by this DAOConstructors in com.ibm.fhir.persistence.jdbc.dao.impl with parameters of type IDatabaseTranslator Constructor Description FetchResourcePayloadsDAO(IDatabaseTranslator translator, String schemaName, String resourceType, Instant fromLastUpdated, Instant toLastUpdated, Function<ResourcePayload,Boolean> processor)
ReferencesSequenceDAO(Connection c, String schemaName, IDatabaseTranslator tx)
ResourceReferenceDAO(IDatabaseTranslator t, Connection c, String schemaName, ICommonTokenValuesCache cache)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc.db2
Constructors in com.ibm.fhir.persistence.jdbc.db2 with parameters of type IDatabaseTranslator Constructor Description Db2ResourceReferenceDAO(IDatabaseTranslator t, Connection c, String schemaName, ICommonTokenValuesCache cache, String adminSchemaName)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc.derby
Methods in com.ibm.fhir.persistence.jdbc.derby with parameters of type IDatabaseTranslator Modifier and Type Method Description void
CreateCodeSystemsTmp. run(IDatabaseTranslator translator, Connection c)
void
CreateCommonTokenValuesTmp. run(IDatabaseTranslator translator, Connection c)
Constructors in com.ibm.fhir.persistence.jdbc.derby with parameters of type IDatabaseTranslator Constructor Description DerbyResourceReferenceDAO(IDatabaseTranslator t, Connection c, String schemaName, ICommonTokenValuesCache cache)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.persistence.jdbc.postgres
Constructors in com.ibm.fhir.persistence.jdbc.postgres with parameters of type IDatabaseTranslator Constructor Description PostgresReindexResourceDAO(Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, IResourceReferenceDAO rrd)
Public constructorPostgresReindexResourceDAO(Connection connection, IDatabaseTranslator translator, ParameterDAO parameterDao, String schemaName, FHIRDbFlavor flavor, TransactionSynchronizationRegistry trxSynchRegistry, FHIRPersistenceJDBCCache cache, IResourceReferenceDAO rrd, ParameterTransactionDataImpl ptdi)
Public constructor for use in a JEE contextPostgresResourceReferenceDAO(IDatabaseTranslator t, Connection c, String schemaName, ICommonTokenValuesCache cache)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.schema.app.util
Methods in com.ibm.fhir.schema.app.util with parameters of type IDatabaseTranslator Modifier and Type Method Description static void
CommonUtil. loadDriver(IDatabaseTranslator translator)
Load the driver class -
Uses of IDatabaseTranslator in com.ibm.fhir.schema.control
Methods in com.ibm.fhir.schema.control with parameters of type IDatabaseTranslator Modifier and Type Method Description void
AddResourceType. run(IDatabaseTranslator translator, Connection c)
List<ResourceType>
GetResourceTypeList. run(IDatabaseTranslator translator, Connection c)
void
GetResourceTypes. run(IDatabaseTranslator translator, Connection c)
TenantInfo
GetTenantInfo. run(IDatabaseTranslator translator, Connection c)
List<TenantInfo>
GetTenantList. run(IDatabaseTranslator translator, Connection c)
void
PopulateParameterNames. run(IDatabaseTranslator translator, Connection c)
void
PopulateResourceTypes. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.schema.derby
Methods in com.ibm.fhir.schema.derby that return IDatabaseTranslator Modifier and Type Method Description IDatabaseTranslator
DerbyFhirDatabase. getTranslator()
-