public class SpatialOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SpatialOptions.SpatialFieldType |
static class |
SpatialOptions.SpatialRelation |
static class |
SpatialOptions.SpatialSearchStrategy |
static class |
SpatialOptions.SpatialSort |
static class |
SpatialOptions.SpatialUnits |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_GEOHASH_LEVEL |
static int |
DEFAULT_QUAD_TREE_LEVEL |
Constructor and Description |
---|
SpatialOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getMaxTreeLevel() |
double |
getMaxX() |
double |
getMaxY() |
double |
getMinX() |
double |
getMinY() |
SpatialOptions.SpatialSearchStrategy |
getStrategy() |
SpatialOptions.SpatialFieldType |
getType() |
SpatialOptions.SpatialUnits |
getUnits() |
int |
hashCode() |
void |
setMaxTreeLevel(int maxTreeLevel) |
void |
setMaxX(double maxX) |
void |
setMaxY(double maxY) |
void |
setMinX(double minX) |
void |
setMinY(double minY) |
void |
setStrategy(SpatialOptions.SpatialSearchStrategy strategy) |
void |
setType(SpatialOptions.SpatialFieldType type) |
void |
setUnits(SpatialOptions.SpatialUnits units) |
public static final int DEFAULT_GEOHASH_LEVEL
public static final int DEFAULT_QUAD_TREE_LEVEL
public SpatialOptions.SpatialFieldType getType()
public void setType(SpatialOptions.SpatialFieldType type)
public SpatialOptions.SpatialSearchStrategy getStrategy()
public void setStrategy(SpatialOptions.SpatialSearchStrategy strategy)
public int getMaxTreeLevel()
public void setMaxTreeLevel(int maxTreeLevel)
public double getMinX()
public void setMinX(double minX)
public double getMaxX()
public void setMaxX(double maxX)
public double getMinY()
public void setMinY(double minY)
public double getMaxY()
public void setMaxY(double maxY)
public SpatialOptions.SpatialUnits getUnits()
public void setUnits(SpatialOptions.SpatialUnits units)
Copyright © 2016. All Rights Reserved.