Class DerbyCommonValuesDAO
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.dao.impl.CommonValuesDAO
-
- org.linuxforhealth.fhir.persistence.jdbc.derby.DerbyCommonValuesDAO
-
- All Implemented Interfaces:
ICommonValuesDAO
public class DerbyCommonValuesDAO extends CommonValuesDAO
Derby-specific extension of theCommonValuesDAO
to work around some SQL syntax and Derby concurrency issues
-
-
Constructor Summary
Constructors Constructor Description DerbyCommonValuesDAO(IDatabaseTranslator t, java.sql.Connection c, java.lang.String schemaName)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<CommonTokenValueResult>
readCommonTokenValueIds(java.util.Collection<CommonTokenValue> tokenValues)
Find database ids for a set of common token values-
Methods inherited from class org.linuxforhealth.fhir.persistence.jdbc.dao.impl.CommonValuesDAO
getConnection, getSchemaName, getTranslator, readCanonicalId, readCommonTokenValueId, readCommonTokenValueIdList
-
-
-
-
Constructor Detail
-
DerbyCommonValuesDAO
public DerbyCommonValuesDAO(IDatabaseTranslator t, java.sql.Connection c, java.lang.String schemaName)
Public constructor- Parameters:
t
-c
-schemaName
-
-
-
Method Detail
-
readCommonTokenValueIds
public java.util.Set<CommonTokenValueResult> readCommonTokenValueIds(java.util.Collection<CommonTokenValue> tokenValues)
Description copied from interface:ICommonValuesDAO
Find database ids for a set of common token values- Specified by:
readCommonTokenValueIds
in interfaceICommonValuesDAO
- Overrides:
readCommonTokenValueIds
in classCommonValuesDAO
- Returns:
- a non-null, possibly-empty set of ids from common_token_values.common_token_value_id; CommonTokenValues with no corresponding record will be omitted from the set
-
-