Uses of Class
com.ibm.fhir.persistence.jdbc.exception.FHIRPersistenceDataAccessException
-
-
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.connection
Methods in com.ibm.fhir.persistence.jdbc.connection that return FHIRPersistenceDataAccessException Modifier and Type Method Description static FHIRPersistenceDataAccessExceptionFHIRDbHelper. buildExceptionWithIssue(String msg, IssueType issueType)Methods in com.ibm.fhir.persistence.jdbc.connection that throw FHIRPersistenceDataAccessException Modifier and Type Method Description static FHIRPersistenceDataAccessExceptionFHIRDbHelper. buildExceptionWithIssue(String msg, IssueType issueType)FHIRDbFlavorFHIRDbConnectionStrategy. getFlavor()Get the flavor of the database we are working with to reveal its capabilitiesFHIRDbFlavorFHIRDbConnectionStrategyBase. getFlavor()FHIRDbFlavorFHIRDbTenantDatasourceConnectionStrategy. getFlavor()FHIRDbFlavorFHIRDbTestConnectionStrategy. getFlavor()protected intFHIRUserTransactionAdapter. getStatus()Get theStatusof the global transactionConstructors in com.ibm.fhir.persistence.jdbc.connection that throw FHIRPersistenceDataAccessException Constructor Description FHIRDbConnectionStrategyBase(TransactionSynchronizationRegistry trxSyncRegistry, Action newConnectionAction)Protected constructor -
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.dao.api
Methods in com.ibm.fhir.persistence.jdbc.dao.api that throw FHIRPersistenceDataAccessException Modifier and Type Method Description 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.intResourceDAO. historyCount(String resourceType, String logicalId, Timestamp fromDateTime)Reads and returns the COUNT of all versions of the Resource with the passed logicalId.ResourceResourceDAO. 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 MapMap<String,Integer>ParameterNameDAO. readAllSearchParameterNames()Reads all rows in the Parameter_Names table and returns the data as a MapIntegerCodeSystemDAO. readCodeSystemId(String codeSystem)Read the code_system_id for the given code system nameIntegerParameterDAO. readCodeSystemId(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(String codeSystem)Reads the id associated with the name of the passed Parameter from the code_systems table.intParameterDAO. readOrAddCodeSystemId(String systemName)Reads the id associated with the name of the passed code system name from the Code_Systems table.intParameterDAO. readOrAddParameterNameId(String parameterName)Reads the id associated with the name of the passed Parameter from the Parameter_Names table.intParameterNameDAO. readOrAddParameterNameId(String parameterName)Reads the id associated with the name of the passed Parameter from the Parameter_Names table.IntegerParameterDAO. readParameterNameId(String parameterName)Read the id for the given parameter name, but do not create a new record if it doesn't exist.IntegerParameterNameDAO. readParameterNameId(String parameterName)Read the parameter_name_id for the given parameterNameIntegerResourceDAO. 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(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.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(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.Map<Integer,List<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(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 FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.dao.impl
Methods in com.ibm.fhir.persistence.jdbc.dao.impl that return FHIRPersistenceDataAccessException Modifier and Type Method Description protected FHIRPersistenceDataAccessExceptionFHIRDbDAOImpl. buildExceptionWithIssue(String msg, IssueType issueType)Methods in com.ibm.fhir.persistence.jdbc.dao.impl that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected FHIRPersistenceDataAccessExceptionFHIRDbDAOImpl. buildExceptionWithIssue(String msg, IssueType issueType)protected ResourceFHIRDbDAOImpl. createDTO(ResultSet resultSet)A method for creating a Data Transfer Object of type T from the contents of the passed ResultSet.protected ResourceResourceDAOImpl. createDTO(ResultSet resultSet)Creates and returns a Resource DTO based on the contents of the passed ResultSetprotected List<Resource>FHIRDbDAOImpl. createDTOs(ResultSet resultSet)An method for creating a collection of Data Transfer Objects of type T from the contents of the passed ResultSet.protected intResourceReferenceDAO. getParameterNameId(String parameterName)Get the id from the local (tenant-specific) identity cache, or read/create using the database if needed.List<Resource>ResourceDAOImpl. history(String resourceType, String logicalId, Timestamp fromDateTime, int offset, int maxResults)intResourceDAOImpl. historyCount(String resourceType, String logicalId, Timestamp fromDateTime)ResourceResourceDAOImpl. read(String logicalId, String resourceType)Map<String,Integer>CodeSystemDAOImpl. readAllCodeSystems()Map<String,Integer>ParameterDAOImpl. readAllCodeSystems()Map<String,Integer>ResourceDAOImpl. readAllResourceTypeNames()Map<String,Integer>ParameterDAOImpl. readAllSearchParameterNames()Map<String,Integer>ParameterNameDAOImpl. readAllSearchParameterNames()IntegerCodeSystemDAOImpl. readCodeSystemId(String codeSystem)IntegerParameterDAOImpl. readCodeSystemId(String codeSystemName)intCodeSystemDAOImpl. readOrAddCodeSystem(String systemName)Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.intParameterDAOImpl. readOrAddCodeSystemId(String codeSystemName)Calls a stored procedure to read the system contained in the passed Parameter in the Code_Systems table.intParameterDAOImpl. readOrAddParameterNameId(String parameterName)Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.intParameterNameDAOImpl. readOrAddParameterNameId(String parameterName)Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.protected abstract intResourceReferenceDAO. readOrAddParameterNameId(String parameterName)Fetch the id for the given parameter name from the database, creating a new entry if required.IntegerParameterDAOImpl. readParameterNameId(String parameterName)IntegerParameterNameDAOImpl. readParameterNameId(String parameterName)IntegerResourceDAOImpl. readResourceTypeId(String resourceType)protected intFHIRDbDAOImpl. runCountQuery(Select countQuery)Creates and executes a PreparedStatement for the passed sql containing a 'SELECT COUNT...'.protected intFHIRDbDAOImpl. 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 givenSelectstatementprotected 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(String sqlSelect)List<Resource>ResourceDAOImpl. searchByIds(String resourceType, List<Long> resourceIds)intResourceDAOImpl. searchCount(Select countQuery)intResourceDAOImpl. searchCount(String sqlSelectCount)List<Long>ResourceDAOImpl. searchForIds(Select dataQuery)Map<Integer,List<Long>>ResourceDAOImpl. searchWholeSystem(Select wholeSystemQuery)ResourceResourceDAOImpl. versionRead(String logicalId, String resourceType, int versionId) -
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.db2
Methods in com.ibm.fhir.persistence.jdbc.db2 that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected intDb2ResourceReferenceDAO. readOrAddParameterNameId(String parameterName) -
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.derby
Methods in com.ibm.fhir.persistence.jdbc.derby that throw FHIRPersistenceDataAccessException Modifier and Type Method Description protected IntegerDerbyCodeSystemDAO. getCodeSystemId(String codeSystem)Read the id for the named typeprotected IntegerDerbyParameterNamesDAO. getParameterId(String parameterName)Read the id for the named typeintDerbyCodeSystemDAO. readOrAddCodeSystem(String codeSystem)intDerbyParameterNamesDAO. readOrAddParameterNameId(String parameterName)protected intDerbyResourceReferenceDAO. readOrAddParameterNameId(String parameterName) -
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.exception
Subclasses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.exception Modifier and Type Class Description classFHIRPersistenceFKVExceptionThis exception class is thrown when Foreign Key violations are encountered while attempting to access data in the FHIR DB.Methods in com.ibm.fhir.persistence.jdbc.exception that return FHIRPersistenceDataAccessException Modifier and Type Method Description FHIRPersistenceDataAccessExceptionFHIRPersistenceDataAccessException. withIssue(OperationOutcome.Issue... issues)FHIRPersistenceDataAccessExceptionFHIRPersistenceDataAccessException. withIssue(Collection<OperationOutcome.Issue> issues) -
Uses of FHIRPersistenceDataAccessException in com.ibm.fhir.persistence.jdbc.postgres
Methods in com.ibm.fhir.persistence.jdbc.postgres that throw FHIRPersistenceDataAccessException Modifier and Type Method Description intPostgresCodeSystemDAO. readOrAddCodeSystem(String systemName)intPostgresParameterNamesDAO. readOrAddParameterNameId(String parameterName)Calls a stored procedure to read the name contained in the passed Parameter in the Parameter_Names table.protected intPostgresResourceReferenceDAO. readOrAddParameterNameId(String parameterName)IntegerPostgresResourceDAO. readResourceTypeId(String resourceType)IntegerPostgresResourceNoProcDAO. readResourceTypeId(String resourceType)
-