LongComparisonField

Inheritance: java.lang.Object, com.aspose.email.QueryField, com.aspose.email.ComparisonField

public final class LongComparisonField extends ComparisonField

Represents the Int64 search field.

Methods

Method Description
equals(long value) Indicates that field must be equal to the specified value.
notEquals(long value) Indicates that field must not be equal to the specified value.
less(long value) Indicates that field must be less than the specified value.
greater(long value) Indicates that field must be greater than the specified value.
lessOrEqual(long value) Indicates that field must be less or equal to the specified value.
greaterOrEqual(long value) Indicates that field must be greater or equal to the specified value.

equals(long value)

public final MailQuery equals(long value)

Indicates that field must be equal to the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

notEquals(long value)

public final MailQuery notEquals(long value)

Indicates that field must not be equal to the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

less(long value)

public final MailQuery less(long value)

Indicates that field must be less than the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

greater(long value)

public final MailQuery greater(long value)

Indicates that field must be greater than the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

lessOrEqual(long value)

public final MailQuery lessOrEqual(long value)

Indicates that field must be less or equal to the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).

greaterOrEqual(long value)

public final MailQuery greaterOrEqual(long value)

Indicates that field must be greater or equal to the specified value.

Parameters:

Parameter Type Description
value long The value.

Returns: MailQuery - MailQuery that represents search query (one searching criterion).