Class MergeResources
- java.lang.Object
-
- org.linuxforhealth.fhir.bucket.persistence.MergeResources
-
- All Implemented Interfaces:
IDatabaseStatement
public class MergeResources extends java.lang.Object implements IDatabaseStatement
Command to merge a collection of resources
-
-
Constructor Summary
Constructors Constructor Description MergeResources(java.util.Collection<ResourceRec> resources)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(IDatabaseTranslator translator, java.sql.Connection c)
Execute the statement using the connection.
-
-
-
Constructor Detail
-
MergeResources
public MergeResources(java.util.Collection<ResourceRec> resources)
Public constructor- Parameters:
resourceType
-
-
-
Method Detail
-
run
public void run(IDatabaseTranslator translator, java.sql.Connection c)
Description copied from interface:IDatabaseStatement
Execute the statement using the connection.- Specified by:
run
in interfaceIDatabaseStatement
- Parameters:
translator
- to translate any exceptions
-
-