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
 - Author:
 - Michael Grove
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static doubleDEFAULT_ERROR_PCTDefault error rate.static ConfigProperty<Features>FEATURESstatic InfoProperty<java.util.UUID>LAST_COMMIT_TXstatic intMAX_LEVELSMax level precision for theGeohashPrefixTree.static ConfigProperty<java.lang.Boolean>OPTIMIZEstatic java.lang.StringOPTION_SPATIAL_ENABLEDstatic java.lang.StringOPTION_SPATIAL_FEATURESstatic java.lang.StringPROPERTY_DISTANCE_PRECISIONstatic java.lang.StringPROPERTY_OPTIMIZEstatic ConfigProperty<java.lang.Boolean>REMOVE_IN_TXstatic ConfigProperty<java.lang.Integer>SPATIAL_DISTANCE_PRECISIONDeprecated.static ConfigProperty<java.lang.Boolean>SPATIAL_ENABLEDOption for whether or not spatial indexing is enabled for the databasestatic ConfigProperty<java.lang.Double>SPATIAL_ERROR_PCTDeprecated.static ConfigProperty<java.lang.Boolean>SPATIAL_INDEX_DIRTYDeprecated.static ConfigProperty<GeospatialIndexState>SPATIAL_INDEX_STATEstatic ConfigProperty<java.lang.Integer>SPATIAL_PRECISIONDeprecated.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_JTSDeprecated.static MetaProperty<java.lang.Integer>VERSIONstatic Option<java.lang.Integer>WRITE_BUFFER_SIZELucene write buffer size 
 - 
 
- 
- 
Field Detail
- 
OPTION_SPATIAL_ENABLED
public static final java.lang.String OPTION_SPATIAL_ENABLED
- See Also:
 - Constant Field Values
 
 
- 
OPTION_SPATIAL_FEATURES
public static final java.lang.String OPTION_SPATIAL_FEATURES
- 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
@Deprecated public static final ConfigProperty<java.lang.Boolean> USE_JTS
Deprecated.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
@Deprecated public static final ConfigProperty<java.lang.Integer> SPATIAL_PRECISION
Deprecated.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. 
- 
FEATURES
public static final ConfigProperty<Features> FEATURES
 
- 
SPATIAL_DISTANCE_PRECISION
@Deprecated public static final ConfigProperty<java.lang.Integer> SPATIAL_DISTANCE_PRECISION
Deprecated.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
@Deprecated public static final ConfigProperty<java.lang.Double> SPATIAL_ERROR_PCT
Deprecated. 
- 
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
 
- 
REMOVE_IN_TX
public static final ConfigProperty<java.lang.Boolean> REMOVE_IN_TX
 
- 
SPATIAL_INDEX_DIRTY
@Deprecated public static final ConfigProperty<java.lang.Boolean> SPATIAL_INDEX_DIRTY
Deprecated. 
- 
SPATIAL_INDEX_STATE
public static final ConfigProperty<GeospatialIndexState> SPATIAL_INDEX_STATE
 
- 
LAST_COMMIT_TX
public static final InfoProperty<java.util.UUID> LAST_COMMIT_TX
 
- 
VERSION
public static final MetaProperty<java.lang.Integer> VERSION
 
 - 
 
 -