Class SqlRuleAction


  • public final class SqlRuleAction
    extends Action
    Represents set of actions written in SQL language-based syntax that is performed against a ServiceBus.Messaging.BrokeredMessage.
    • Constructor Detail

      • SqlRuleAction

        public SqlRuleAction()
    • Method Detail

      • withSqlExpression

        public SqlRuleAction withSqlExpression​(String sqlExpression)
        Set the sqlExpression property: SQL expression. e.g. MyProperty='ABC'.
        Overrides:
        withSqlExpression in class Action
        Parameters:
        sqlExpression - the sqlExpression value to set.
        Returns:
        the Action object itself.
      • withCompatibilityLevel

        public SqlRuleAction withCompatibilityLevel​(Integer compatibilityLevel)
        Set the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.
        Overrides:
        withCompatibilityLevel in class Action
        Parameters:
        compatibilityLevel - the compatibilityLevel value to set.
        Returns:
        the Action object itself.
      • withRequiresPreprocessing

        public SqlRuleAction withRequiresPreprocessing​(Boolean requiresPreprocessing)
        Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.
        Overrides:
        withRequiresPreprocessing in class Action
        Parameters:
        requiresPreprocessing - the requiresPreprocessing value to set.
        Returns:
        the Action object itself.