Udostępnij za pośrednictwem


NumberNotInRangeFilter Class

public final class NumberNotInRangeFilter
extends Filter

NumberNotInRange Filter.

Constructor Summary

Constructor Description
NumberNotInRangeFilter()

Creates an instance of NumberNotInRangeFilter class.

Method Summary

Modifier and Type Method and Description
static NumberNotInRangeFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberNotInRangeFilter from the JsonReader.

FilterOperatorType operatorType()

Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<List<Double>> values()

Get the values property: The set of filter values.

NumberNotInRangeFilter withKey(String key)

Set the key property: The field/property in the event based on which you want to filter.

NumberNotInRangeFilter withValues(List<List<Double>> values)

Set the values property: The set of filter values.

Methods inherited from Filter

Methods inherited from java.lang.Object

Constructor Details

NumberNotInRangeFilter

public NumberNotInRangeFilter()

Creates an instance of NumberNotInRangeFilter class.

Method Details

fromJson

public static NumberNotInRangeFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberNotInRangeFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NumberNotInRangeFilter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NumberNotInRangeFilter.

operatorType

public FilterOperatorType operatorType()

Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.

Overrides:

NumberNotInRangeFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NumberNotInRangeFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

NumberNotInRangeFilter.validate()

values

public List<List<Double>> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public NumberNotInRangeFilter withKey(String key)

Set the key property: The field/property in the event based on which you want to filter.

Overrides:

NumberNotInRangeFilter.withKey(String key)

Parameters:

key

withValues

public NumberNotInRangeFilter withValues(List<List<Double>> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the NumberNotInRangeFilter object itself.

Applies to