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 void
performOn(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(Connection c) throws FHIRPersistenceDBConnectException
Description copied from interface:Action
Perform this action on the given connection- Specified by:
performOn
in interfaceAction
- Overrides:
performOn
in classChainedAction
- Throws:
FHIRPersistenceDBConnectException
-
-