Class SamplePlugin


  • public class SamplePlugin
    extends ConcurrentTestPlugin
    Sample mtsql plugin.

    To use add at start of script "@plugin org.apache.calcite.test.concurrent.SamplePlugin". After doing a prepare you can then do "@describeResultSet" to show columns returned by query.

    • Field Detail

      • DESCRIBE_RESULT_SET_CMD

        private static final java.lang.String DESCRIBE_RESULT_SET_CMD
        See Also:
        Constant Field Values
    • Constructor Detail

      • SamplePlugin

        public SamplePlugin()
    • Method Detail

      • getSupportedThreadCommands

        public java.lang.Iterable<java.lang.String> getSupportedThreadCommands()
        Description copied from class: ConcurrentTestPlugin
        What commands are supported by this plugin within a thread or repeat section. Commands should start with '@'.
        Overrides:
        getSupportedThreadCommands in class ConcurrentTestPlugin
        Returns:
        List of supported commands