Class SetSchemaAction

  • All Implemented Interfaces:
    Action

    public class SetSchemaAction
    extends ChainedAction
    Command to set the named schema on a 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 context
        next - the next action to apply, or null if this is the end of the chain