public static enum SpatialOptions.SpatialRelation extends Enum<SpatialOptions.SpatialRelation>
Enum Constant and Description |
---|
CONTAINS |
DISJOINT |
INTERSECTS |
NEARBY
Does not filter the query, merely sort by the distance
|
WITHIN |
Modifier and Type | Method and Description |
---|---|
static SpatialOptions.SpatialRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpatialOptions.SpatialRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpatialOptions.SpatialRelation WITHIN
public static final SpatialOptions.SpatialRelation CONTAINS
public static final SpatialOptions.SpatialRelation DISJOINT
public static final SpatialOptions.SpatialRelation INTERSECTS
public static final SpatialOptions.SpatialRelation NEARBY
public static SpatialOptions.SpatialRelation[] values()
for (SpatialOptions.SpatialRelation c : SpatialOptions.SpatialRelation.values()) System.out.println(c);
public static SpatialOptions.SpatialRelation 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 nullCopyright © 2016. All Rights Reserved.