Package com.complexible.stardog.spatial
Class GeospatialOptions
- java.lang.Object
-
- com.complexible.stardog.spatial.GeospatialOptions
-
- All Implemented Interfaces:
MetaPropertyProvider
public final class GeospatialOptions extends java.lang.Object implements MetaPropertyProvider
Set of options for configuring Stardog Spatial
- Since:
- 4.0
- Version:
- 7.4.2
- Author:
- Michael Grove
-
-
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_ERROR_PCTDefault error rate.static InfoProperty<java.util.UUID>LAST_COMMIT_TXstatic intMAX_LEVELSMax level precision for theGeohashPrefixTree.static intNO_LIMITstatic ConfigProperty<java.lang.Boolean>OPTIMIZEstatic java.lang.StringOPTION_SPATIAL_ENABLEDstatic java.lang.StringPROPERTY_DISTANCE_PRECISIONstatic java.lang.StringPROPERTY_OPTIMIZEstatic ConfigProperty<java.lang.Integer>SPATIAL_DISTANCE_PRECISIONSpecifies the precision used for the distance calculations.static ConfigProperty<java.lang.Boolean>SPATIAL_ENABLEDOption for whether or not spatial indexing is enabled for the databasestatic ConfigProperty<java.lang.Double>SPATIAL_ERROR_PCTstatic ConfigProperty<java.lang.Boolean>SPATIAL_INDEX_DIRTYstatic ConfigProperty<java.lang.Integer>SPATIAL_PRECISIONThe precision used for spatial indexing.static ConfigProperty<java.lang.Integer>SPATIAL_RESULT_LIMITDeprecated.static ConfigProperty<java.lang.Integer>SPATIAL_RESULT_PAGE_SIZEPage size used for iteration over results from the spatial index.static ConfigProperty<java.lang.Boolean>USE_JTSIndex option for enabling JTS integrationstatic MetaProperty<java.lang.Integer>VERSIONstatic Option<java.lang.Integer>WRITE_BUFFER_SIZELucene write buffer size
-
-
-
Field Detail
-
NO_LIMIT
public static final int NO_LIMIT
- See Also:
- Constant Field Values
-
OPTION_SPATIAL_ENABLED
public static final java.lang.String OPTION_SPATIAL_ENABLED
- See Also:
- Constant Field Values
-
PROPERTY_OPTIMIZE
public static final java.lang.String PROPERTY_OPTIMIZE
- See Also:
- Constant Field Values
-
PROPERTY_DISTANCE_PRECISION
public static final java.lang.String PROPERTY_DISTANCE_PRECISION
- See Also:
- Constant Field Values
-
MAX_LEVELS
public static final int MAX_LEVELS
Max level precision for theGeohashPrefixTree. This results in millimeter precision.- See Also:
- Constant Field Values
-
DEFAULT_ERROR_PCT
public static final double DEFAULT_ERROR_PCT
Default error rate.- See Also:
- Constant Field Values
-
USE_JTS
public static final ConfigProperty<java.lang.Boolean> USE_JTS
Index option for enabling JTS integration
-
WRITE_BUFFER_SIZE
public static final Option<java.lang.Integer> WRITE_BUFFER_SIZE
Lucene write buffer size
-
SPATIAL_ENABLED
public static final ConfigProperty<java.lang.Boolean> SPATIAL_ENABLED
Option for whether or not spatial indexing is enabled for the database
-
SPATIAL_PRECISION
public static final ConfigProperty<java.lang.Integer> SPATIAL_PRECISION
The precision used for spatial indexing. Corresponds to the precision of the underylingGeohashPrefixTree. The default value is11which results in sub-millimeter precision; a value of 8 will give a precision +/- 50m.
-
SPATIAL_DISTANCE_PRECISION
public static final ConfigProperty<java.lang.Integer> SPATIAL_DISTANCE_PRECISION
Specifies the precision used for the distance calculations. The value is the number of significant digits distances used to represent distances. Smaller numbers sacrifice precision for performance. The default is 8. A value of -1 can be provided to compute distances to the maximum precision. The default value is8.
-
SPATIAL_ERROR_PCT
public static final ConfigProperty<java.lang.Double> SPATIAL_ERROR_PCT
-
SPATIAL_RESULT_PAGE_SIZE
public static final ConfigProperty<java.lang.Integer> SPATIAL_RESULT_PAGE_SIZE
Page size used for iteration over results from the spatial index. Full name: spatial.result.page_size
Default value:100
-
SPATIAL_RESULT_LIMIT
@Deprecated public static final ConfigProperty<java.lang.Integer> SPATIAL_RESULT_LIMIT
Deprecated.Default max number of results from the spatial index. -1 returns all results Full name: spatial.result.limit
Default value:10 000
-
OPTIMIZE
public static final ConfigProperty<java.lang.Boolean> OPTIMIZE
-
SPATIAL_INDEX_DIRTY
public static final ConfigProperty<java.lang.Boolean> SPATIAL_INDEX_DIRTY
-
LAST_COMMIT_TX
public static final InfoProperty<java.util.UUID> LAST_COMMIT_TX
-
VERSION
public static final MetaProperty<java.lang.Integer> VERSION
-
-