Udostępnij za pośrednictwem


NumberInRangeAdvancedFilter Class

public final class NumberInRangeAdvancedFilter
extends AdvancedFilter

NumberInRange Advanced Filter.

Constructor Summary

Constructor Description
NumberInRangeAdvancedFilter()

Creates an instance of NumberInRangeAdvancedFilter class.

Method Summary

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

Reads an instance of NumberInRangeAdvancedFilter from the JsonReader.

AdvancedFilterOperatorType 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.

NumberInRangeAdvancedFilter withKey(String key)

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

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

Set the values property: The set of filter values.

Methods inherited from AdvancedFilter

Methods inherited from java.lang.Object

Constructor Details

NumberInRangeAdvancedFilter

public NumberInRangeAdvancedFilter()

Creates an instance of NumberInRangeAdvancedFilter class.

Method Details

fromJson

public static NumberInRangeAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberInRangeAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NumberInRangeAdvancedFilter 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 NumberInRangeAdvancedFilter.

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

NumberInRangeAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NumberInRangeAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

NumberInRangeAdvancedFilter.validate()

values

public List<List<Double>> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public NumberInRangeAdvancedFilter withKey(String key)

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

Overrides:

NumberInRangeAdvancedFilter.withKey(String key)

Parameters:

key

withValues

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

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the NumberInRangeAdvancedFilter object itself.

Applies to