Enum PropertyFilter.Operator (2.4.0)

public enum PropertyFilter.Operator extends Enum<PropertyFilter.Operator> implements ProtocolMessageEnum

A property filter operator.

Protobuf enum google.datastore.v1.PropertyFilter.Operator

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EQUAL

The given property is equal to the given value.

EQUAL = 5;

EQUAL_VALUE

The given property is equal to the given value.

EQUAL = 5;

GREATER_THAN

The given property is greater than the given value. Requires:

  • That property comes first in order_by.

GREATER_THAN = 3;

GREATER_THAN_OR_EQUAL

The given property is greater than or equal to the given value. Requires:

  • That property comes first in order_by.

GREATER_THAN_OR_EQUAL = 4;

GREATER_THAN_OR_EQUAL_VALUE

The given property is greater than or equal to the given value. Requires:

  • That property comes first in order_by.

GREATER_THAN_OR_EQUAL = 4;

GREATER_THAN_VALUE

The given property is greater than the given value. Requires:

  • That property comes first in order_by.

GREATER_THAN = 3;

HAS_ANCESTOR

Limit the result set to the given entity and its descendants. Requires:

  • That value is an entity key.

HAS_ANCESTOR = 11;

HAS_ANCESTOR_VALUE

Limit the result set to the given entity and its descendants. Requires:

  • That value is an entity key.

HAS_ANCESTOR = 11;

IN

The given property is equal to at least one value in the given array. Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN or NOT_IN is in the same query.

IN = 6;

IN_VALUE

The given property is equal to at least one value in the given array. Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN or NOT_IN is in the same query.

IN = 6;

LESS_THAN

The given property is less than the given value. Requires:

  • That property comes first in order_by.

LESS_THAN = 1;

LESS_THAN_OR_EQUAL

The given property is less than or equal to the given value. Requires:

  • That property comes first in order_by.

LESS_THAN_OR_EQUAL = 2;

LESS_THAN_OR_EQUAL_VALUE

The given property is less than or equal to the given value. Requires:

  • That property comes first in order_by.

LESS_THAN_OR_EQUAL = 2;

LESS_THAN_VALUE

The given property is less than the given value. Requires:

  • That property comes first in order_by.

LESS_THAN = 1;

NOT_EQUAL

The given property is not equal to the given value. Requires:

  • No other NOT_EQUAL or NOT_IN is in the same query.
  • That property comes first in the order_by.

NOT_EQUAL = 9;

NOT_EQUAL_VALUE

The given property is not equal to the given value. Requires:

  • No other NOT_EQUAL or NOT_IN is in the same query.
  • That property comes first in the order_by.

NOT_EQUAL = 9;

NOT_IN

The value of the property is not in the given array. Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN, NOT_IN, NOT_EQUAL is in the same query.
  • That field comes first in the order_by.

NOT_IN = 13;

NOT_IN_VALUE

The value of the property is not in the given array. Requires:

  • That value is a non-empty ArrayValue with at most 10 values.
  • No other IN, NOT_IN, NOT_EQUAL is in the same query.
  • That field comes first in the order_by.

NOT_IN = 13;

OPERATOR_UNSPECIFIED

Unspecified. This value must not be used.

OPERATOR_UNSPECIFIED = 0;

OPERATOR_UNSPECIFIED_VALUE

Unspecified. This value must not be used.

OPERATOR_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()