Udostępnij za pośrednictwem


NumberNotInFilter Class

public final class NumberNotInFilter
extends Filter

NumberNotIn Filter.

Constructor Summary

Constructor Description
NumberNotInFilter()

Creates an instance of NumberNotInFilter class.

Method Summary

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

Reads an instance of NumberNotInFilter 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<Double> values()

Get the values property: The set of filter values.

NumberNotInFilter withKey(String key)

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

NumberNotInFilter withValues(List<Double> values)

Set the values property: The set of filter values.

Methods inherited from Filter

Methods inherited from java.lang.Object

Constructor Details

NumberNotInFilter

public NumberNotInFilter()

Creates an instance of NumberNotInFilter class.

Method Details

fromJson

public static NumberNotInFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberNotInFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public FilterOperatorType operatorType()

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

Overrides:

NumberNotInFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NumberNotInFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

NumberNotInFilter.validate()

values

public List<Double> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public NumberNotInFilter withKey(String key)

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

Overrides:

NumberNotInFilter.withKey(String key)

Parameters:

key

withValues

public NumberNotInFilter withValues(List<Double> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the NumberNotInFilter object itself.

Applies to