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 FHIRPersistenceDBConnectExceptionFHIRDbHelper. buildFHIRPersistenceDBConnectException(java.lang.String msg, IssueType issueType)Methods in com.ibm.fhir.persistence.jdbc.connection that throw FHIRPersistenceDBConnectException Modifier and Type Method Description static FHIRPersistenceDBConnectExceptionFHIRDbHelper. buildFHIRPersistenceDBConnectException(java.lang.String msg, IssueType issueType)voidSetTenantAction. configureTenantAccess(java.sql.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).voidCreateTempTablesAction. createCanonicalValuesTmp(DerbyAdapter adapter)Create the declared global temporary table COMMON_TOKEN_VALUES_TMPvoidCreateTempTablesAction. createCodeSystemsTmp(DerbyAdapter adapter)Create the declared global temporary table CODE_SYSTEMS_TMPvoidCreateTempTablesAction. createCommonTokenValuesTmp(DerbyAdapter adapter)Create the declared global temporary table COMMON_TOKEN_VALUES_TMPjava.sql.ConnectionFHIRDbConnectionStrategy. getConnection()Get a connection to the desired data source identified by the currentFHIRRequestContextjava.sql.ConnectionFHIRDbTenantDatasourceConnectionStrategy. getConnection()java.sql.ConnectionFHIRDbTestConnectionStrategy. getConnection()java.lang.StringSchemaNameFromProps. getSchemaForRequestContext(java.sql.Connection connection)java.lang.StringSchemaNameImpl. getSchemaForRequestContext(java.sql.Connection connection)java.lang.StringSchemaNameSupplier. getSchemaForRequestContext(java.sql.Connection c)Get the schema name for the current request contextvoidAction. performOn(FHIRDbFlavor flavor, java.sql.Connection c)Perform this action on the given connectionvoidChainedAction. performOn(FHIRDbFlavor flavor, java.sql.Connection c)voidCreateTempTablesAction. performOn(FHIRDbFlavor flavor, java.sql.Connection connection)voidDisableAutocommitAction. performOn(FHIRDbFlavor flavor, java.sql.Connection c)voidSetSchemaAction. performOn(FHIRDbFlavor flavor, java.sql.Connection c)voidSetTenantAction. performOn(FHIRDbFlavor flavor, java.sql.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 java.sql.ConnectionFHIRDbDAO. getConnection()Obtains a database connection.java.util.List<Resource>ResourceDAO. history(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime, int offset, int maxResults)Reads and returns all versions of the Resource with the passed logicalId, ordered by descending version id.intResourceDAO. historyCount(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime)Reads and returns the COUNT of all versions of the Resource with the passed logicalId.ResourceResourceDAO. read(java.lang.String logicalId, java.lang.String resourceType)Reads and returns the latest version of the Resource with the passed logical id and resource type.java.util.Map<java.lang.String,java.lang.Integer>CodeSystemDAO. readAllCodeSystems()Reads all rows in the code_systems table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>ParameterDAO. readAllCodeSystems()Reads all rows in the Code_Systems table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>ResourceDAO. readAllResourceTypeNames()Reads all rows in the resource_types table and returns the data as a Mapjava.util.Map<java.lang.String,java.lang.Integer>ParameterDAO. readAllSearchParameterNames()Reads all rows in the Parameter_Names table and returns the data as a Mapjava.lang.IntegerCodeSystemDAO. readCodeSystemId(java.lang.String codeSystem)Read the code_system_id for the given code system namejava.lang.IntegerParameterDAO. readCodeSystemId(java.lang.String systemName)Read the id for the given code system name, but do not create a new record if it doesn't exist.intCodeSystemDAO. readOrAddCodeSystem(java.lang.String codeSystem)Reads the id associated with the name of the passed Parameter from the code_systems table.intParameterDAO. readOrAddCodeSystemId(java.lang.String systemName)Reads the id associated with the name of the passed code system name from the Code_Systems table.intParameterDAO. readOrAddParameterNameId(java.lang.String parameterName)Reads the id associated with the name of the passed Parameter from the Parameter_Names table.java.lang.IntegerParameterDAO. readParameterNameId(java.lang.String parameterName)Read the id for the given parameter name, but do not create a new record if it doesn't exist.java.lang.IntegerResourceDAO. readResourceTypeId(java.lang.String parameterName)Reads the id associated with the name of the passed Resource type from the Resource_Types table.java.util.List<Resource>ResourceDAO. search(Select select)Executes the search contained in the passedSelect, using its encapsulated search string and bind variables.java.util.List<Resource>ResourceDAO. search(java.lang.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.java.util.List<Resource>ResourceDAO. searchByIds(java.lang.String resourceType, java.util.List<java.lang.Long> resourceIds, boolean includeResourceData)Searches for Resources that contain one of the passed ids.intResourceDAO. searchCount(Select countQuery)Executes a count query based on the data contained in the passedSelectstatement, using its encapsulated search string and bind variables.intResourceDAO. searchCount(java.lang.String sqlSelectCount)Executes the passed fully-formed SQL Select COUNT statement and returns the integer count.java.util.List<java.lang.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.java.util.Map<java.lang.Integer,java.util.List<java.lang.Long>>ResourceDAO. searchWholeSystem(Select select)Executes the whole-system filter search contained in the passedSelect, using its encapsulated search string and bind variables.ResourceResourceDAO. versionRead(java.lang.String logicalId, java.lang.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 FHIRPersistenceDBConnectExceptionFHIRDbDAOImpl. buildFHIRPersistenceDBConnectException(java.lang.String msg, IssueType issueType)Methods in com.ibm.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceDBConnectException Modifier and Type Method Description protected FHIRPersistenceDBConnectExceptionFHIRDbDAOImpl. buildFHIRPersistenceDBConnectException(java.lang.String msg, IssueType issueType)protected intResourceReferenceDAO. getParameterNameId(java.lang.String parameterName)Get the id from the local (tenant-specific) identity cache, or read/create using the database if needed.java.util.List<Resource>ResourceDAOImpl. history(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime, int offset, int maxResults)intResourceDAOImpl. historyCount(java.lang.String resourceType, java.lang.String logicalId, java.sql.Timestamp fromDateTime)ResourceResourceDAOImpl. read(java.lang.String logicalId, java.lang.String resourceType)java.util.Map<java.lang.String,java.lang.Integer>ParameterDAOImpl. readAllCodeSystems()java.util.Map<java.lang.String,java.lang.Integer>ResourceDAOImpl. readAllResourceTypeNames()java.util.Map<java.lang.String,java.lang.Integer>ParameterDAOImpl. readAllSearchParameterNames()java.lang.IntegerParameterDAOImpl. readCodeSystemId(java.lang.String codeSystemName)intParameterDAOImpl. readOrAddCodeSystemId(java.lang.String codeSystemName)Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.intParameterDAOImpl. readOrAddParameterNameId(java.lang.String parameterName)Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.protected abstract intResourceReferenceDAO. readOrAddParameterNameId(java.lang.String parameterName)Fetch the id for the given parameter name from the database, creating a new entry if required.java.lang.IntegerParameterDAOImpl. readParameterNameId(java.lang.String parameterName)java.lang.IntegerResourceDAOImpl. readResourceTypeId(java.lang.String resourceType)protected intFHIRDbDAOImpl. runCountQuery(Select countQuery)Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected intFHIRDbDAOImpl. runCountQuery(java.lang.String sql, java.lang.Object... searchArgs)Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected java.util.List<Resource>FHIRDbDAOImpl. runQuery(Select select)Retrieve the FHIR objects by executing the givenSelectstatementprotected java.util.List<Resource>FHIRDbDAOImpl. runQuery(java.lang.String sql, java.lang.Object... searchArgs)Creates and executes a PreparedStatement using the passed parameters that returns a collection of FHIR Data Transfer Objects of type T.protected java.util.List<java.lang.String>FHIRDbDAOImpl. runQuery_STR_VALUES(java.lang.String sql, java.lang.Object... searchArgs)Creates and executes a PreparedStatement using the passed parameters that returns a collection of String values.java.util.List<Resource>ResourceDAOImpl. search(Select select)java.util.List<Resource>ResourceDAOImpl. search(java.lang.String sqlSelect)java.util.List<Resource>ResourceDAOImpl. searchByIds(java.lang.String resourceType, java.util.List<java.lang.Long> resourceIds, boolean includeResourceData)intResourceDAOImpl. searchCount(Select countQuery)intResourceDAOImpl. searchCount(java.lang.String sqlSelectCount)java.util.List<java.lang.Long>ResourceDAOImpl. searchForIds(Select dataQuery)java.util.Map<java.lang.Integer,java.util.List<java.lang.Long>>ResourceDAOImpl. searchWholeSystem(Select wholeSystemQuery)ResourceResourceDAOImpl. versionRead(java.lang.String logicalId, java.lang.String resourceType, int versionId) -
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.db2
Methods in com.ibm.fhir.persistence.jdbc.db2 that throw FHIRPersistenceDBConnectException Modifier and Type Method Description protected intDb2ResourceReferenceDAO. readOrAddParameterNameId(java.lang.String parameterName) -
Uses of FHIRPersistenceDBConnectException in com.ibm.fhir.persistence.jdbc.derby
Methods in com.ibm.fhir.persistence.jdbc.derby that throw FHIRPersistenceDBConnectException Modifier and Type Method Description protected intDerbyResourceReferenceDAO. readOrAddParameterNameId(java.lang.String parameterName) -
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 FHIRPersistenceDBConnectExceptionFHIRPersistenceDBConnectException. withIssue(OperationOutcome.Issue... issues)FHIRPersistenceDBConnectExceptionFHIRPersistenceDBConnectException. withIssue(java.util.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 java.lang.StringFHIRPersistenceJDBCImpl. getSchemaForRequestContext(java.sql.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 protected intPostgresResourceReferenceDAO. readOrAddParameterNameId(java.lang.String parameterName)java.lang.IntegerPostgresResourceDAO. readResourceTypeId(java.lang.String resourceType)java.lang.IntegerPostgresResourceNoProcDAO. readResourceTypeId(java.lang.String resourceType)
-