Class 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 Detail

      • 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 the GeohashPrefixTree. 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 underyling GeohashPrefixTree. The default value is 11 which 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 is 8.
      • 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