Class SetMultiShardModifyModeAction
- java.lang.Object
-
- org.linuxforhealth.fhir.persistence.jdbc.connection.ChainedAction
-
- org.linuxforhealth.fhir.persistence.jdbc.connection.SetMultiShardModifyModeAction
-
- All Implemented Interfaces:
Action
public class SetMultiShardModifyModeAction extends ChainedAction
For Citus connections, SET LOCAL citus.multi_shard_modify_mode TO 'sequential'
-
-
Constructor Summary
Constructors Constructor Description SetMultiShardModifyModeAction()
Public constructor.SetMultiShardModifyModeAction(Action next)
Public constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
performOn(FHIRDbFlavor flavor, java.sql.Connection connection)
Perform this action on the given connection
-
-
-
Constructor Detail
-
SetMultiShardModifyModeAction
public SetMultiShardModifyModeAction()
Public constructor. No next action, so this will be the last action applied
-
SetMultiShardModifyModeAction
public SetMultiShardModifyModeAction(Action next)
Public constructor- Parameters:
next
- the next action in the chain
-
-
Method Detail
-
performOn
public void performOn(FHIRDbFlavor flavor, java.sql.Connection connection) throws FHIRPersistenceDBConnectException
Description copied from interface:Action
Perform this action on the given connection- Specified by:
performOn
in interfaceAction
- Overrides:
performOn
in classChainedAction
- Parameters:
flavor
- describes the type of database associated with the given connectionconnection
- the connection to perform the action on- Throws:
FHIRPersistenceDBConnectException
-
-