public enum GeoPredicate extends Enum<GeoPredicate> implements DsePredicate
Geo
static methods.Enum Constant and Description |
---|
inside
Matches values within the distance specified by the condition over a Haversine geometry.
|
insideCartesian
Matches values contained in the geometric entity specified by the condition on a 2D Euclidean plane.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValidCondition(Object condition) |
static GeoPredicate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoPredicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
preEvaluate
and, negate, or, test
public static final GeoPredicate inside
public static final GeoPredicate insideCartesian
public static GeoPredicate[] values()
for (GeoPredicate c : GeoPredicate.values()) System.out.println(c);
public static GeoPredicate valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isValidCondition(Object condition)
isValidCondition
in interface DsePredicate
Copyright © 2012–2017. All rights reserved.