次の方法で共有


NumberInAdvancedFilter Class

public final class NumberInAdvancedFilter
extends AdvancedFilter

NumberIn Advanced Filter.

Constructor Summary

Constructor Description
NumberInAdvancedFilter()

Creates an instance of NumberInAdvancedFilter class.

Method Summary

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

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

Get the values property: The set of filter values.

NumberInAdvancedFilter withKey(String key)

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

NumberInAdvancedFilter withValues(List<Double> values)

Set the values property: The set of filter values.

Methods inherited from AdvancedFilter

Methods inherited from java.lang.Object

Constructor Details

NumberInAdvancedFilter

public NumberInAdvancedFilter()

Creates an instance of NumberInAdvancedFilter class.

Method Details

fromJson

public static NumberInAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberInAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

NumberInAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NumberInAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

NumberInAdvancedFilter.validate()

values

public List<Double> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public NumberInAdvancedFilter withKey(String key)

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

Overrides:

NumberInAdvancedFilter.withKey(String key)

Parameters:

key

withValues

public NumberInAdvancedFilter withValues(List<Double> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the NumberInAdvancedFilter object itself.

Applies to