次の方法で共有


NumberGreaterThanAdvancedFilter Class

public final class NumberGreaterThanAdvancedFilter
extends AdvancedFilter

NumberGreaterThan Advanced Filter.

Constructor Summary

Constructor Description
NumberGreaterThanAdvancedFilter()

Creates an instance of NumberGreaterThanAdvancedFilter class.

Method Summary

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

Reads an instance of NumberGreaterThanAdvancedFilter 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.

Double value()

Get the value property: The filter value.

NumberGreaterThanAdvancedFilter withKey(String key)

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

NumberGreaterThanAdvancedFilter withValue(Double value)

Set the value property: The filter value.

Methods inherited from AdvancedFilter

Methods inherited from java.lang.Object

Constructor Details

NumberGreaterThanAdvancedFilter

public NumberGreaterThanAdvancedFilter()

Creates an instance of NumberGreaterThanAdvancedFilter class.

Method Details

fromJson

public static NumberGreaterThanAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of NumberGreaterThanAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

NumberGreaterThanAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NumberGreaterThanAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

NumberGreaterThanAdvancedFilter.validate()

value

public Double value()

Get the value property: The filter value.

Returns:

the value value.

withKey

public NumberGreaterThanAdvancedFilter withKey(String key)

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

Overrides:

NumberGreaterThanAdvancedFilter.withKey(String key)

Parameters:

key

withValue

public NumberGreaterThanAdvancedFilter withValue(Double value)

Set the value property: The filter value.

Parameters:

value - the value value to set.

Returns:

the NumberGreaterThanAdvancedFilter object itself.

Applies to