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
NameDescription
propertyNameString

the name of the property on which to test containment

regionQuery.GeoRegion

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

Methods

equals(@Nullable Object o)

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

getPropertyName()

public String getPropertyName()
Returns
TypeDescription
String

getRegion()

public Query.GeoRegion getRegion()
Returns
TypeDescription
Query.GeoRegion

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides