Class Query.StContainsFilter (2.0.0)

public static final class Query.StContainsFilter extends Query.Filter

A Filter representing a geo-region containment predicate.

Inheritance

java.lang.Object > Query.Filter > Query.StContainsFilter

Constructors

StContainsFilter(String propertyName, Query.GeoRegion region)

public StContainsFilter(String propertyName, Query.GeoRegion region)

Constructs a geo-region filter from the given arguments.

Parameters
Name Description
propertyName String

the name of the property on which to test containment

region Query.GeoRegion

a geo-region object against which to test the property value

Methods

equals(@Nullable Object o)

public boolean equals(@Nullable Object o)
Parameter
Name Description
o @org.checkerframework.checker.nullness.qual.Nullable java.lang.Object
Returns
Type Description
boolean
Overrides

getPropertyName()

public String getPropertyName()
Returns
Type Description
String

getRegion()

public Query.GeoRegion getRegion()
Returns
Type Description
Query.GeoRegion

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides