SqlFilter Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. SqlFilter
- com.
Implements
public final class SqlFilter
implements JsonSerializable<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() |
Creates an instance of Sql |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
compatibilityLevel()
Get the compatibility |
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
Boolean |
requiresPreprocessing()
Get the requires |
String |
sqlExpression()
Get the sql |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Sql |
withCompatibilityLevel(Integer compatibilityLevel)
Set the compatibility |
Sql |
withRequiresPreprocessing(Boolean requiresPreprocessing)
Set the requires |
Sql |
withSqlExpression(String sqlExpression)
Set the sql |
Methods inherited from java.lang.Object
Constructor Details
SqlFilter
public SqlFilter()
Creates an instance of SqlFilter class.
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:
fromJson
public static SqlFilter fromJson(JsonReader jsonReader)
Reads an instance of SqlFilter from the JsonReader.
Parameters:
Returns:
Throws:
requiresPreprocessing
public Boolean requiresPreprocessing()
Get the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.
Returns:
sqlExpression
public String sqlExpression()
Get the sqlExpression property: The SQL expression. e.g. MyProperty='ABC'.
Returns:
toJson
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:
Returns:
withRequiresPreprocessing
public SqlFilter withRequiresPreprocessing(Boolean requiresPreprocessing)
Set the requiresPreprocessing property: Value that indicates whether the rule action requires preprocessing.
Parameters:
Returns:
withSqlExpression
public SqlFilter withSqlExpression(String sqlExpression)
Set the sqlExpression property: The SQL expression. e.g. MyProperty='ABC'.
Parameters:
Returns:
Applies to
Azure SDK for Java