Class SetSchemaAction
- java.lang.Object
 - 
- com.ibm.fhir.persistence.jdbc.connection.ChainedAction
 - 
- com.ibm.fhir.persistence.jdbc.connection.SetSchemaAction
 
 
 
- 
- All Implemented Interfaces:
 Action
public class SetSchemaAction extends ChainedAction
Command to set the named schema on a connection 
- 
- 
Constructor Summary
Constructors Constructor Description SetSchemaAction(SchemaNameSupplier schemaNameSupplier, Action next)Use a provided schema name (handy for testing) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformOn(FHIRDbFlavor flavor, Connection c)Perform this action on the given connection 
 - 
 
- 
- 
Constructor Detail
- 
SetSchemaAction
public SetSchemaAction(SchemaNameSupplier schemaNameSupplier, Action next)
Use a provided schema name (handy for testing)- Parameters:
 schemaNameSupplier- function to provide the schema name for the current request contextnext- the next action to apply, or null if this is the end of the chain
 
 - 
 
- 
Method Detail
- 
performOn
public void performOn(FHIRDbFlavor flavor, Connection c) throws FHIRPersistenceDBConnectException
Description copied from interface:ActionPerform this action on the given connection- Specified by:
 performOnin interfaceAction- Overrides:
 performOnin classChainedAction- Parameters:
 flavor- describes the type of database associated with the given connectionc- the connection to perform the action on- Throws:
 FHIRPersistenceDBConnectException
 
 - 
 
 -