SqlFilter Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.SqlFilter

public final class SqlFilter

Represents a filter which is a composition of an expression and an action that is executed in the pub/sub pipeline.

Constructor Summary

Constructor Description
SqlFilter()

Method Summary

Modifier and Type Method and Description
Integer compatibilityLevel()

Get the compatibilityLevel property: This property is reserved for future use.

Boolean requiresPreprocessing()

Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.

String sqlExpression()

Get the sqlExpression property: The SQL expression.

void validate()

Validates the instance.

SqlFilter withCompatibilityLevel(Integer compatibilityLevel)

Set the compatibilityLevel property: This property is reserved for future use.

SqlFilter withRequiresPreprocessing(Boolean requiresPreprocessing)

Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.

SqlFilter withSqlExpression(String sqlExpression)

Set the sqlExpression property: The SQL expression.

Methods inherited from java.lang.Object

Constructor Details

SqlFilter

public SqlFilter()

Method Details

compatibilityLevel

public Integer compatibilityLevel()

Get the compatibilityLevel property: This property is reserved for future use. An integer value showing the compatibility level, currently hard-coded to 20.

Returns:

the compatibilityLevel value.

requiresPreprocessing

public Boolean requiresPreprocessing()

Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.

Returns:

the requiresPreprocessing value.

sqlExpression

public String sqlExpression()

Get the sqlExpression property: The SQL expression. e.g. MyProperty='ABC'.

Returns:

the sqlExpression value.

validate

public void validate()

Validates the instance.

withCompatibilityLevel

public SqlFilter 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.

Parameters:

compatibilityLevel - the compatibilityLevel value to set.

Returns:

the SqlFilter object itself.

withRequiresPreprocessing

public SqlFilter withRequiresPreprocessing(Boolean requiresPreprocessing)

Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.

Parameters:

requiresPreprocessing - the requiresPreprocessing value to set.

Returns:

the SqlFilter object itself.

withSqlExpression

public SqlFilter withSqlExpression(String sqlExpression)

Set the sqlExpression property: The SQL expression. e.g. MyProperty='ABC'.

Parameters:

sqlExpression - the sqlExpression value to set.

Returns:

the SqlFilter object itself.

Applies to