Uses of Class
com.ibm.fhir.persistence.jdbc.exception.FHIRPersistenceDBConnectException
-
-
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.connection
Methods in com.ibm.fhir.persistence.jdbc.connection that return FHIRPersistenceDBConnectException Modifier and Type Method Description static FHIRPersistenceDBConnectException
FHIRDbHelper. buildFHIRPersistenceDBConnectException(String msg, IssueType issueType)
Methods in com.ibm.fhir.persistence.jdbc.connection that throw FHIRPersistenceDBConnectException Modifier and Type Method Description static FHIRPersistenceDBConnectException
FHIRDbHelper. buildFHIRPersistenceDBConnectException(String msg, IssueType issueType)
void
SetTenantAction. configureTenantAccess(Connection connection)
Find the tenantKey for the datasource/tenant from the FHIR server configuration and use it to set up the connection for access by this tenant by setting the SV_TENANT_ID session variable (via the FHIR_ADMIN.SET_TENANT stored procedure).void
CreateTempTablesAction. createCodeSystemsTmp(DerbyAdapter adapter)
Create the declared global temporary table CODE_SYSTEMS_TMPvoid
CreateTempTablesAction. createCommonTokenValuesTmp(DerbyAdapter adapter)
Create the declared global temporary table COMMON_TOKEN_VALUES_TMPConnection
FHIRDbConnectionStrategy. getConnection()
Get a connection to the desired data source identified by the currentFHIRRequestContext
Connection
FHIRDbProxyDatasourceConnectionStrategy. getConnection()
Deprecated.Connection
FHIRDbTenantDatasourceConnectionStrategy. getConnection()
Connection
FHIRDbTestConnectionStrategy. getConnection()
String
SchemaNameFromProps. getSchemaForRequestContext(Connection connection)
String
SchemaNameImpl. getSchemaForRequestContext(Connection connection)
String
SchemaNameSupplier. getSchemaForRequestContext(Connection c)
Get the schema name for the current request contextvoid
Action. performOn(FHIRDbFlavor flavor, Connection c)
Perform this action on the given connectionvoid
ChainedAction. performOn(FHIRDbFlavor flavor, Connection c)
void
CreateTempTablesAction. performOn(FHIRDbFlavor flavor, Connection connection)
void
DisableAutocommitAction. performOn(FHIRDbFlavor flavor, Connection c)
void
SetSchemaAction. performOn(FHIRDbFlavor flavor, Connection c)
void
SetTenantAction. performOn(FHIRDbFlavor flavor, Connection c)
-
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.dao.api
Methods in com.ibm.fhir.persistence.jdbc.dao.api that throw FHIRPersistenceDBConnectException Modifier and Type Method Description Connection
FHIRDbDAO. getConnection()
Obtains a database connection.List<Resource>
ResourceDAO. history(String resourceType, String logicalId, Timestamp fromDateTime, int offset, int maxResults)
Reads and returns all versions of the Resource with the passed logicalId, ordered by descending version id.int
ResourceDAO. historyCount(String resourceType, String logicalId, Timestamp fromDateTime)
Reads and returns the COUNT of all versions of the Resource with the passed logicalId.Resource
ResourceDAO. read(String logicalId, String resourceType)
Reads and returns the latest version of the Resource with the passed logical id and resource type.Map<String,Integer>
CodeSystemDAO. readAllCodeSystems()
Reads all rows in the code_systems table and returns the data as a MapMap<String,Integer>
ParameterDAO. readAllCodeSystems()
Reads all rows in the Code_Systems table and returns the data as a MapMap<String,Integer>
ResourceDAO. readAllResourceTypeNames()
Reads all rows in the resource_types table and returns the data as a MapMap<String,Integer>
ParameterDAO. readAllSearchParameterNames()
Reads all rows in the Parameter_Names table and returns the data as a MapInteger
CodeSystemDAO. readCodeSystemId(String codeSystem)
Read the code_system_id for the given code system nameInteger
ParameterDAO. readCodeSystemId(String systemName)
Read the id for the given code system name, but do not create a new record if it doesn't exist.int
CodeSystemDAO. readOrAddCodeSystem(String codeSystem)
Reads the id associated with the name of the passed Parameter from the code_systems table.int
ParameterDAO. readOrAddCodeSystemId(String systemName)
Reads the id associated with the name of the passed code system name from the Code_Systems table.int
ParameterDAO. readOrAddParameterNameId(String parameterName)
Reads the id associated with the name of the passed Parameter from the Parameter_Names table.Integer
ParameterDAO. readParameterNameId(String parameterName)
Read the id for the given parameter name, but do not create a new record if it doesn't exist.Integer
ResourceDAO. readResourceTypeId(String parameterName)
Reads the id associated with the name of the passed Resource type from the Resource_Types table.List<Resource>
ResourceDAO. search(Select select)
Executes the search contained in the passedSelect
, using its encapsulated search string and bind variables.List<Resource>
ResourceDAO. search(SqlQueryData queryData)
Executes the search contained in the passed SqlQueryData, using it's encapsulated search string and bind variables.List<Resource>
ResourceDAO. search(String sqlSelect)
Executes the passed fully-formed SQL Select statement and returns the results If no matching resources are found, an empty collection is returned.List<Resource>
ResourceDAO. searchByIds(String resourceType, List<Long> resourceIds)
Searches for Resources that contain one of the passed ids.int
ResourceDAO. searchCount(Select countQuery)
Executes a count query based on the data contained in the passedSelect
statement, using its encapsulated search string and bind variables.int
ResourceDAO. searchCount(SqlQueryData queryData)
Executes a count query based on the data contained in the passed SqlQueryData, using it's encapsulated search string and bind variables.int
ResourceDAO. searchCount(String sqlSelectCount)
Executes the passed fully-formed SQL Select COUNT statement and returns the integer count.List<Long>
ResourceDAO. searchForIds(Select dataQuery)
This method supports the execution of a specialized query designed to return Resource ids, based on the contents of the passed select statement.List<Long>
ResourceDAO. searchForIds(SqlQueryData queryData)
This method supports the execution of a specialized query designed to return Resource ids, based on the contents of the passed select statement.List<String>
ResourceDAO. searchStringValues(SqlQueryData queryData)
Executes the search contained in the passed SqlQueryData, using it's encapsulated search string and bind variables.Resource
ResourceDAO. versionRead(String logicalId, String resourceType, int versionId)
Reads and returns the version of the Resource with the passed logical id, resource type, and version id. -
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.dao.impl
Methods in com.ibm.fhir.persistence.jdbc.dao.impl that return FHIRPersistenceDBConnectException Modifier and Type Method Description protected FHIRPersistenceDBConnectException
FHIRDbDAOImpl. buildFHIRPersistenceDBConnectException(String msg, IssueType issueType)
Methods in com.ibm.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceDBConnectException Modifier and Type Method Description protected FHIRPersistenceDBConnectException
FHIRDbDAOImpl. buildFHIRPersistenceDBConnectException(String msg, IssueType issueType)
List<Resource>
ResourceDAOImpl. history(String resourceType, String logicalId, Timestamp fromDateTime, int offset, int maxResults)
int
ResourceDAOImpl. historyCount(String resourceType, String logicalId, Timestamp fromDateTime)
Resource
ResourceDAOImpl. read(String logicalId, String resourceType)
Map<String,Integer>
ParameterDAOImpl. readAllCodeSystems()
Map<String,Integer>
ResourceDAOImpl. readAllResourceTypeNames()
Map<String,Integer>
ParameterDAOImpl. readAllSearchParameterNames()
Integer
ParameterDAOImpl. readCodeSystemId(String codeSystemName)
int
ParameterDAOImpl. readOrAddCodeSystemId(String codeSystemName)
Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.int
ParameterDAOImpl. readOrAddParameterNameId(String parameterName)
Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.Integer
ParameterDAOImpl. readParameterNameId(String parameterName)
Integer
ResourceDAOImpl. readResourceTypeId(String resourceType)
protected int
FHIRDbDAOImpl. runCountQuery(Select countQuery)
Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected int
FHIRDbDAOImpl. runCountQuery(String sql, Object... searchArgs)
Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected List<Resource>
FHIRDbDAOImpl. runQuery(Select select)
Retrieve the FHIR objects by executing the givenSelect
statementprotected List<Resource>
FHIRDbDAOImpl. runQuery(String sql, Object... searchArgs)
Creates and executes a PreparedStatement using the passed parameters that returns a collection of FHIR Data Transfer Objects of type T.protected List<String>
FHIRDbDAOImpl. runQuery_STR_VALUES(String sql, Object... searchArgs)
Creates and executes a PreparedStatement using the passed parameters that returns a collection of String values.List<Resource>
ResourceDAOImpl. search(Select select)
List<Resource>
ResourceDAOImpl. search(SqlQueryData queryData)
List<Resource>
ResourceDAOImpl. search(String sqlSelect)
List<Resource>
ResourceDAOImpl. searchByIds(String resourceType, List<Long> resourceIds)
int
ResourceDAOImpl. searchCount(Select countQuery)
int
ResourceDAOImpl. searchCount(SqlQueryData queryData)
int
ResourceDAOImpl. searchCount(String sqlSelectCount)
List<Long>
ResourceDAOImpl. searchForIds(Select dataQuery)
List<Long>
ResourceDAOImpl. searchForIds(SqlQueryData queryData)
List<String>
ResourceDAOImpl. searchStringValues(SqlQueryData queryData)
Resource
ResourceDAOImpl. versionRead(String logicalId, String resourceType, int versionId)
-
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.exception
Methods in com.ibm.fhir.persistence.jdbc.exception that return FHIRPersistenceDBConnectException Modifier and Type Method Description FHIRPersistenceDBConnectException
FHIRPersistenceDBConnectException. withIssue(OperationOutcome.Issue... issues)
FHIRPersistenceDBConnectException
FHIRPersistenceDBConnectException. withIssue(Collection<OperationOutcome.Issue> issues)
-
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.impl
Methods in com.ibm.fhir.persistence.jdbc.impl that throw FHIRPersistenceDBConnectException Modifier and Type Method Description String
FHIRPersistenceJDBCImpl. getSchemaForRequestContext(Connection connection)
-
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.postgres
Methods in com.ibm.fhir.persistence.jdbc.postgres that throw FHIRPersistenceDBConnectException Modifier and Type Method Description Integer
PostgresResourceDAO. readResourceTypeId(String resourceType)
Integer
PostgresResourceNoProcDAO. readResourceTypeId(String resourceType)
-