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()
static IDatabaseTranslator
DatabaseTranslatorFactory. getTranslator(DbType type)
Get the translator appropriate for the given database typeIDatabaseTranslator
JdbcConnectionProvider. getTranslator()
Methods in com.ibm.fhir.database.utils.common with parameters of type IDatabaseTranslator Modifier and Type Method Description boolean
DropColumn. postgresColumnExists(IDatabaseTranslator translator, Connection c, String columnName)
Special check that the column exists before we try to drop itvoid
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
DropPrimaryKey. 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
ReorgTable. run(IDatabaseTranslator translator, Connection c)
void
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)
List<SchemaInfoObject>
Db2ListSequencesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
Db2ListTablesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
Db2ListViewsForSchema. 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<SchemaInfoObject>
DerbyListSequencesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
DerbyListTablesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
DerbyListViewsForSchema. 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
PostgresDoesForeignKeyConstraintExist. run(IDatabaseTranslator translator, Connection c)
Boolean
PostgresDoesIndexExist. run(IDatabaseTranslator translator, Connection c)
Boolean
PostgresDoesTableExist. run(IDatabaseTranslator translator, Connection c)
Boolean
PostgresDoesViewExist. run(IDatabaseTranslator translator, Connection c)
void
PostgresFillfactorSettingDAO. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
PostgresListSequencesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
PostgresListTablesForSchema. run(IDatabaseTranslator translator, Connection c)
List<SchemaInfoObject>
PostgresListViewsForSchema. run(IDatabaseTranslator translator, Connection c)
void
PostgresVacuumSettingDAO. run(IDatabaseTranslator translator, Connection c)
-
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.query
Methods in com.ibm.fhir.database.utils.query with parameters of type IDatabaseTranslator Modifier and Type Method Description String
PaginationClause. getSqlString(IDatabaseTranslator translator)
static PreparedStatement
QueryUtil. prepareSelect(Connection connection, Select select, IDatabaseTranslator translator)
Prepares the given Select statement and sets any bind parameters.Constructors in com.ibm.fhir.database.utils.query with parameters of type IDatabaseTranslator Constructor Description BindVisitor(PreparedStatement ps, IDatabaseTranslator translator)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.database.utils.query.expression
Constructors in com.ibm.fhir.database.utils.query.expression with parameters of type IDatabaseTranslator Constructor Description StringExpNodeVisitor(IDatabaseTranslator translator, List<BindMarkerNode> collectBindMarkersInto, boolean pretty)
Collect the bind marker values into the given listStringStatementRenderer(IDatabaseTranslator translator, List<BindMarkerNode> collectBindMarkersInto, boolean pretty)
Public constructor -
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
DeleteTenantKeyDAO. 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)
void
ClearVersionHistoryDAO. 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 EraseResourceDAO(Connection conn, IDatabaseTranslator translator, String schemaName, FHIRDbFlavor flavor, FHIRPersistenceJDBCCache cache, IResourceReferenceDAO rrd)
Public constructorReindexResourceDAO(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
FHIRDbDAOImpl. getTranslator()
Get the translator appropriate for the flavor of database we are usingprotected 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 FetchResourceChangesDAO(IDatabaseTranslator tx, String schemaName, int resourceCount, String resourceTypeName, Instant fromTstamp, Long afterResourceId)
Public constructorFetchResourcePayloadsDAO(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, INameIdCache<Integer> parameterNameCache)
Public constructorRetrieveIndexDAO(IDatabaseTranslator tx, String schemaName, String resourceTypeName, int count, Instant notModifiedAfter, Long afterIndexId, FHIRPersistenceJDBCCache 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, INameIdCache<Integer> parameterNameCache)
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
CreateCanonicalValuesTmp. run(IDatabaseTranslator translator, Connection c)
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, INameIdCache<Integer> parameterNameCache)
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, INameIdCache<Integer> parameterNameCache)
Public constructor -
Uses of IDatabaseTranslator in com.ibm.fhir.schema.app
Constructors in com.ibm.fhir.schema.app with parameters of type IDatabaseTranslator Constructor Description LeaseManager(IDatabaseTranslator translator, IConnectionProvider connectionPool, ITransactionProvider transactionProvider, String adminSchema, String schemaName, ILeaseManagerConfig config)
Public constructorSchemaVersionsManager(IDatabaseTranslator translator, IConnectionProvider connectionPool, ITransactionProvider transactionProvider, String schemaName)
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 boolean
UnusedTableRemovalNeedsV0021Migration. checkDb2(IDatabaseTranslator translator, Connection c)
Checks the db2 syscatalog for the tables.boolean
UnusedTableRemovalNeedsV0021Migration. checkDerby(IDatabaseTranslator translator, Connection c)
Checks db2's sys catalogboolean
UnusedTableRemovalNeedsV0021Migration. checkPostgres(IDatabaseTranslator translator, Connection c)
Checks postgresql for the tables in the schemavoid
AddResourceType. run(IDatabaseTranslator translator, Connection c)
void
BackfillResourceChangeLog. run(IDatabaseTranslator translator, Connection c)
void
BackfillResourceChangeLogDb2. run(IDatabaseTranslator translator, Connection c)
Boolean
CancelLease. run(IDatabaseTranslator translator, Connection c)
Boolean
GetLease. run(IDatabaseTranslator translator, Connection c)
Boolean
GetLogicalResourceNeedsV0014Migration. run(IDatabaseTranslator translator, Connection c)
Boolean
GetResourceChangeLogEmpty. run(IDatabaseTranslator translator, Connection c)
List<ResourceType>
GetResourceTypeList. run(IDatabaseTranslator translator, Connection c)
void
GetResourceTypes. run(IDatabaseTranslator translator, Connection c)
Integer
GetSchemaVersion. run(IDatabaseTranslator translator, Connection c)
TenantInfo
GetTenantInfo. run(IDatabaseTranslator translator, Connection c)
List<TenantInfo>
GetTenantList. run(IDatabaseTranslator translator, Connection c)
Boolean
GetXXLogicalResourceNeedsMigration. run(IDatabaseTranslator translator, Connection c)
void
InitializeLogicalResourceDenorms. run(IDatabaseTranslator translator, Connection c)
void
MigrateV0014LogicalResourceIsDeletedLastUpdated. run(IDatabaseTranslator translator, Connection c)
void
MigrateV0021AbstractTypeRemoval. run(IDatabaseTranslator translator, Connection c)
void
PopulateParameterNames. run(IDatabaseTranslator translator, Connection c)
void
PopulateResourceTypes. run(IDatabaseTranslator translator, Connection c)
void
SetTenantIdDb2. run(IDatabaseTranslator translator, Connection c)
Boolean
UnusedTableRemovalNeedsV0021Migration. run(IDatabaseTranslator translator, Connection c)
void
UpdateSchemaVersion. run(IDatabaseTranslator translator, Connection c)
void
MigrateV0021AbstractTypeRemoval. runDropTableResourceGroup(IDatabaseTranslator translator, Connection c, String schemaName, String tablePrefix, List<String> valueTypes)
run drop table resource group -
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()
-