public final class GeospatialOptions extends Object implements MetaPropertyProvider
Set of options for configuring Stardog Spatial
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_ERROR_PCT
Default error rate.
|
static InfoProperty<UUID> |
LAST_COMMIT_TX |
static int |
MAX_LEVELS
Max level precision for the
org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree . |
static int |
NO_LIMIT |
static ConfigProperty<Boolean> |
OPTIMIZE |
static String |
OPTION_SPATIAL_ENABLED |
static String |
PROPERTY_DISTANCE_PRECISION |
static String |
PROPERTY_OPTIMIZE |
static ConfigProperty<Integer> |
SPATIAL_DISTANCE_PRECISION
Specifies the precision used for the distance calculations.
|
static ConfigProperty<Boolean> |
SPATIAL_ENABLED
Option for whether or not spatial indexing is enabled for the database
|
static ConfigProperty<Double> |
SPATIAL_ERROR_PCT |
static ConfigProperty<Boolean> |
SPATIAL_INDEX_DIRTY |
static ConfigProperty<Integer> |
SPATIAL_PRECISION
The precision used for spatial indexing.
|
static ConfigProperty<Integer> |
SPATIAL_RESULT_LIMIT
Deprecated.
|
static ConfigProperty<Integer> |
SPATIAL_RESULT_PAGE_SIZE
Page size used for iteration over results from the spatial index.
|
static ConfigProperty<Boolean> |
USE_JTS
Index option for enabling JTS integration
|
static MetaProperty<Integer> |
VERSION |
static Option<Integer> |
WRITE_BUFFER_SIZE
Lucene write buffer size
|
public static final int NO_LIMIT
public static final String OPTION_SPATIAL_ENABLED
public static final String PROPERTY_OPTIMIZE
public static final String PROPERTY_DISTANCE_PRECISION
public static final int MAX_LEVELS
org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
.
This results in millimeter precision.public static final double DEFAULT_ERROR_PCT
public static final ConfigProperty<Boolean> USE_JTS
public static final ConfigProperty<Boolean> SPATIAL_ENABLED
public static final ConfigProperty<Integer> SPATIAL_PRECISION
org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree
.
The default value is 11
which results in sub-millimeter precision; a value of 8 will give a precision +/- 50m.public static final ConfigProperty<Integer> SPATIAL_DISTANCE_PRECISION
8
.public static final ConfigProperty<Double> SPATIAL_ERROR_PCT
public static final ConfigProperty<Integer> SPATIAL_RESULT_PAGE_SIZE
100
@Deprecated public static final ConfigProperty<Integer> SPATIAL_RESULT_LIMIT
10 000
public static final ConfigProperty<Boolean> OPTIMIZE
public static final ConfigProperty<Boolean> SPATIAL_INDEX_DIRTY
public static final InfoProperty<UUID> LAST_COMMIT_TX
public static final MetaProperty<Integer> VERSION
Copyright © 2010-2016 Stardog Union. All Rights Reserved.