blob: d824883a33d4c50a48e0a1ec01d23fb206c6ef57 [file] [log] [blame]
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Generated by javadoc (17) -->
<title>GeoSPARQLConfig (Apache Jena GeoSPARQL)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="declaration: package: org.apache.jena.geosparql.configuration, class: GeoSPARQLConfig">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.min.js"></script>
</head>
<body class="class-declaration-page">
<script type="text/javascript">var evenRowColor = "even-row-color";
var oddRowColor = "odd-row-color";
var tableTab = "table-tab";
var activeTableTab = "active-table-tab";
var pathtoroot = "../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="nav-bar-cell1-rev">Class</li>
<li><a href="class-use/GeoSPARQLConfig.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html#class">Help</a></li>
</ul>
</div>
<div class="sub-nav">
<div>
<ul class="sub-nav-list">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field-summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-summary">Method</a></li>
</ul>
<ul class="sub-nav-list">
<li>Detail:&nbsp;</li>
<li><a href="#field-detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor-detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method-detail">Method</a></li>
</ul>
</div>
<div class="nav-list-search"><label for="search-input">SEARCH:</label>
<input type="text" id="search-input" value="search" disabled="disabled">
<input type="reset" id="reset-button" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<span class="skip-nav" id="skip-navbar-top"></span></nav>
</header>
<div class="flex-content">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="sub-title"><span class="package-label-in-type">Package</span>&nbsp;<a href="package-summary.html">org.apache.jena.geosparql.configuration</a></div>
<h1 title="Class GeoSPARQLConfig" class="title">Class GeoSPARQLConfig</h1>
</div>
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a>
<div class="inheritance">org.apache.jena.geosparql.configuration.GeoSPARQLConfig</div>
</div>
<section class="class-description" id="class-description">
<hr>
<div class="type-signature"><span class="modifiers">public class </span><span class="element-name type-name-label">GeoSPARQLConfig</span>
<span class="extends-implements">extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></span></div>
</section>
<section class="summary">
<ul class="summary-list">
<!-- =========== FIELD SUMMARY =========== -->
<li>
<section class="field-summary" id="field-summary">
<h2>Field Summary</h2>
<div class="caption"><span>Fields</span></div>
<div class="summary-table three-column-summary">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Field</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color"><code>static boolean</code></div>
<div class="col-second even-row-color"><code><a href="#ALLOW_GEOMETRY_SRS_TRANSFORMATION" class="member-name-link">ALLOW_GEOMETRY_SRS_TRANSFORMATION</a></code></div>
<div class="col-last even-row-color">
<div class="block">Option to dynamically transform GeometryLiteral SRS in calculations.</div>
</div>
<div class="col-first odd-row-color"><code>static int</code></div>
<div class="col-second odd-row-color"><code><a href="#DECIMAL_PLACES_PRECISION" class="member-name-link">DECIMAL_PLACES_PRECISION</a></code></div>
<div class="col-last odd-row-color">
<div class="block">Precision of calculations.</div>
</div>
<div class="col-first even-row-color"><code>static int</code></div>
<div class="col-second even-row-color"><code><a href="#PRECISION_MODEL_SCALE_FACTOR" class="member-name-link">PRECISION_MODEL_SCALE_FACTOR</a></code></div>
<div class="col-last even-row-color">
<div class="block">Precision of created coordinates.</div>
</div>
</div>
</section>
</li>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li>
<section class="constructor-summary" id="constructor-summary">
<h2>Constructor Summary</h2>
<div class="caption"><span>Constructors</span></div>
<div class="summary-table two-column-summary">
<div class="table-header col-first">Constructor</div>
<div class="table-header col-last">Description</div>
<div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">GeoSPARQLConfig</a>()</code></div>
<div class="col-last even-row-color">&nbsp;</div>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li>
<section class="method-summary" id="method-summary">
<h2>Method Summary</h2>
<div id="method-summary-table">
<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div>
<div id="method-summary-table.tabpanel" role="tabpanel">
<div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0">
<div class="table-header col-first">Modifier and Type</div>
<div class="table-header col-second">Method</div>
<div class="table-header col-last">Description</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#allowGeometrySRSTransformation(boolean)" class="member-name-link">allowGeometrySRSTransformation</a><wbr>(boolean&nbsp;allowTransformation)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Sets whether transformation for mismatching Geometry SRS is allowed.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isFunctionRegistered()" class="member-name-link">isFunctionRegistered</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#isQueryRewriteEnabled()" class="member-name-link">isQueryRewriteEnabled</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#loadFunctions()" class="member-name-link">loadFunctions</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">&nbsp;</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#reset()" class="member-name-link">reset</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Empty all indexes and registries currently in use.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setCalculationPrecision(int)" class="member-name-link">setCalculationPrecision</a><wbr>(int&nbsp;decimalPlaces)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Set the number of decimal places precision used in calculations and
coordinate transformations.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setPrecisionModelScaleFactor(int)" class="member-name-link">setPrecisionModelScaleFactor</a><wbr>(int&nbsp;scaleFactor)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Set the scale factor of the precision model used to create coordinate
sequences used in Geometries.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setup(org.apache.jena.geosparql.implementation.index.IndexConfiguration.IndexOption)" class="member-name-link">setup</a><wbr>(<a href="../implementation/index/IndexConfiguration.IndexOption.html" title="enum in org.apache.jena.geosparql.implementation.index">IndexConfiguration.IndexOption</a>&nbsp;indexOption)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setup(org.apache.jena.geosparql.implementation.index.IndexConfiguration.IndexOption,java.lang.Boolean)" class="member-name-link">setup</a><wbr>(<a href="../implementation/index/IndexConfiguration.IndexOption.html" title="enum in org.apache.jena.geosparql.implementation.index">IndexConfiguration.IndexOption</a>&nbsp;indexOption,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupMemoryIndex()" class="member-name-link">setupMemoryIndex</a>()</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupMemoryIndex(java.lang.Boolean)" class="member-name-link">setupMemoryIndex</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupMemoryIndex(java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Long,java.lang.Long,java.lang.Long,java.lang.Boolean)" class="member-name-link">setupMemoryIndex</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;geometryLiteralIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;geometryTransformIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;queryRewriteIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;geometryLiteralIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;geometryTransformIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;queryRewriteIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupNoIndex()" class="member-name-link">setupNoIndex</a>()</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions with no indexing.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupNoIndex(java.lang.Boolean)" class="member-name-link">setupNoIndex</a><wbr>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Initialise all GeoSPARQL property and filter functions with no indexing.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupPrecomputedSpatialIndex(org.apache.jena.query.Dataset,java.io.File)" class="member-name-link">setupPrecomputedSpatialIndex</a><wbr>(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Setup the precomputed Spatial Index using Dataset Dataset.<br>
We assume that the spatial index was computed before and written to the given file.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupQueryRewriteIndex(org.apache.jena.query.Dataset,java.lang.String,int,long)" class="member-name-link">setupQueryRewriteIndex</a><wbr>(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;queryRewriteLabel,
int&nbsp;maxSize,
long&nbsp;expiryInterval)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Setup Query Rewrite Index using Dataset.<br>
The index will be set active.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupSpatialIndex(org.apache.jena.query.Dataset)" class="member-name-link">setupSpatialIndex</a><wbr>(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Setup Spatial Index using Dataset and most frequent SRS URI in Dataset.</div>
</div>
<div class="col-first odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupSpatialIndex(org.apache.jena.query.Dataset,java.io.File)" class="member-name-link">setupSpatialIndex</a><wbr>(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</code></div>
<div class="col-last odd-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Setup Spatial Index using Dataset and most frequent SRS URI in
Dataset.<br>
Spatial Index written to file once created.</div>
</div>
<div class="col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code>static final void</code></div>
<div class="col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4"><code><a href="#setupSpatialIndex(org.apache.jena.query.Dataset,java.lang.String,java.io.File)" class="member-name-link">setupSpatialIndex</a><wbr>(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;srsURI,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</code></div>
<div class="col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4">
<div class="block">Setup Spatial Index using Dataset using provided SRS URI.<br>
Spatial Index written to file once created.</div>
</div>
</div>
</div>
</div>
<div class="inherited-list">
<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-" title="class or interface in java.lang" class="external-link">wait</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="details-list">
<!-- ============ FIELD DETAIL =========== -->
<li>
<section class="field-details" id="field-detail">
<h2>Field Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="DECIMAL_PLACES_PRECISION">
<h3>DECIMAL_PLACES_PRECISION</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">DECIMAL_PLACES_PRECISION</span></div>
<div class="block">Precision of calculations. Inaccuracies exist in these calculations and a
higher value may not improve results.</div>
</section>
</li>
<li>
<section class="detail" id="PRECISION_MODEL_SCALE_FACTOR">
<h3>PRECISION_MODEL_SCALE_FACTOR</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">int</span>&nbsp;<span class="element-name">PRECISION_MODEL_SCALE_FACTOR</span></div>
<div class="block">Precision of created coordinates. Determines the coordinates of certain
JTS geometry calculations, e.g. buffer.</div>
</section>
</li>
<li>
<section class="detail" id="ALLOW_GEOMETRY_SRS_TRANSFORMATION">
<h3>ALLOW_GEOMETRY_SRS_TRANSFORMATION</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">boolean</span>&nbsp;<span class="element-name">ALLOW_GEOMETRY_SRS_TRANSFORMATION</span></div>
<div class="block">Option to dynamically transform GeometryLiteral SRS in calculations.</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li>
<section class="constructor-details" id="constructor-detail">
<h2>Constructor Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="&lt;init&gt;()">
<h3>GeoSPARQLConfig</h3>
<div class="member-signature"><span class="modifiers">public</span>&nbsp;<span class="element-name">GeoSPARQLConfig</span>()</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<section class="method-details" id="method-detail">
<h2>Method Details</h2>
<ul class="member-list">
<li>
<section class="detail" id="setupMemoryIndex()">
<h3>setupMemoryIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupMemoryIndex</span>()</div>
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.
<br>Use this for in-memory indexing GeoSPARQL setup. Query re-write
enabled.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
</section>
</li>
<li>
<section class="detail" id="setupMemoryIndex(java.lang.Boolean)">
<h3>setupMemoryIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupMemoryIndex</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</span></div>
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.
<br>Use this for in-memory indexing GeoSPARQL setup. Query re-write
optional.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>isQueryRewriteEnabled</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupMemoryIndex(java.lang.Integer,java.lang.Integer,java.lang.Integer,java.lang.Long,java.lang.Long,java.lang.Long,java.lang.Boolean)">
<h3>setupMemoryIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupMemoryIndex</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;geometryLiteralIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;geometryTransformIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html" title="class or interface in java.lang" class="external-link">Integer</a>&nbsp;queryRewriteIndex,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;geometryLiteralIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;geometryTransformIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html" title="class or interface in java.lang" class="external-link">Long</a>&nbsp;queryRewriteIndexExpiry,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</span></div>
<div class="block">Initialise all GeoSPARQL property and filter functions with memory
indexing.
<br>Use this for in-memory indexing GeoSPARQL setup and to control the
index sizes (default: unlimited) and expiry rate (default: 5,000
milliseconds).
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>geometryLiteralIndex</code> - </dd>
<dd><code>geometryTransformIndex</code> - </dd>
<dd><code>queryRewriteIndex</code> - </dd>
<dd><code>geometryLiteralIndexExpiry</code> - </dd>
<dd><code>geometryTransformIndexExpiry</code> - </dd>
<dd><code>queryRewriteIndexExpiry</code> - </dd>
<dd><code>isQueryRewriteEnabled</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupNoIndex()">
<h3>setupNoIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupNoIndex</span>()</div>
<div class="block">Initialise all GeoSPARQL property and filter functions with no indexing.
<br>Use this for no indexing GeoSPARQL setup.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
</section>
</li>
<li>
<section class="detail" id="setupNoIndex(java.lang.Boolean)">
<h3>setupNoIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupNoIndex</span><wbr><span class="parameters">(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</span></div>
<div class="block">Initialise all GeoSPARQL property and filter functions with no indexing.
<br>Use this for no indexing GeoSPARQL setup.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>isQueryRewriteEnabled</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setup(org.apache.jena.geosparql.implementation.index.IndexConfiguration.IndexOption)">
<h3>setup</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setup</span><wbr><span class="parameters">(<a href="../implementation/index/IndexConfiguration.IndexOption.html" title="enum in org.apache.jena.geosparql.implementation.index">IndexConfiguration.IndexOption</a>&nbsp;indexOption)</span></div>
<div class="block">Initialise all GeoSPARQL property and filter functions. Query rewrite
enabled.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>indexOption</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setup(org.apache.jena.geosparql.implementation.index.IndexConfiguration.IndexOption,java.lang.Boolean)">
<h3>setup</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setup</span><wbr><span class="parameters">(<a href="../implementation/index/IndexConfiguration.IndexOption.html" title="enum in org.apache.jena.geosparql.implementation.index">IndexConfiguration.IndexOption</a>&nbsp;indexOption,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a>&nbsp;isQueryRewriteEnabled)</span></div>
<div class="block">Initialise all GeoSPARQL property and filter functions.
<br>This does not affect the use of Spatial Indexes for Datasets.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>indexOption</code> - </dd>
<dd><code>isQueryRewriteEnabled</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="loadFunctions()">
<h3>loadFunctions</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">loadFunctions</span>()</div>
</section>
</li>
<li>
<section class="detail" id="isFunctionRegistered()">
<h3>isFunctionRegistered</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></span>&nbsp;<span class="element-name">isFunctionRegistered</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True, if the GeoSPARQL functions have been registered.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="reset()">
<h3>reset</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">reset</span>()</div>
<div class="block">Empty all indexes and registries currently in use.
<br>This does not affect Spatial Indexes for Datasets.</div>
</section>
</li>
<li>
<section class="detail" id="isQueryRewriteEnabled()">
<h3>isQueryRewriteEnabled</h3>
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html" title="class or interface in java.lang" class="external-link">Boolean</a></span>&nbsp;<span class="element-name">isQueryRewriteEnabled</span>()</div>
<dl class="notes">
<dt>Returns:</dt>
<dd>True if query rewrite enabled.</dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupQueryRewriteIndex(org.apache.jena.query.Dataset,java.lang.String,int,long)">
<h3>setupQueryRewriteIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupQueryRewriteIndex</span><wbr><span class="parameters">(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;queryRewriteLabel,
int&nbsp;maxSize,
long&nbsp;expiryInterval)</span></div>
<div class="block">Setup Query Rewrite Index using Dataset.<br>
The index will be set active.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>dataset</code> - </dd>
<dd><code>queryRewriteLabel</code> - </dd>
<dd><code>maxSize</code> - </dd>
<dd><code>expiryInterval</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupSpatialIndex(org.apache.jena.query.Dataset)">
<h3>setupSpatialIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupSpatialIndex</span><wbr><span class="parameters">(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset)</span>
throws <span class="exceptions"><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></span></div>
<div class="block">Setup Spatial Index using Dataset and most frequent SRS URI in Dataset.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>dataset</code> - </dd>
<dt>Throws:</dt>
<dd><code><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupPrecomputedSpatialIndex(org.apache.jena.query.Dataset,java.io.File)">
<h3>setupPrecomputedSpatialIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupPrecomputedSpatialIndex</span><wbr><span class="parameters">(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</span>
throws <span class="exceptions"><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></span></div>
<div class="block">Setup the precomputed Spatial Index using Dataset Dataset.<br>
We assume that the spatial index was computed before and written to the given file.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>dataset</code> - the dataset</dd>
<dd><code>spatialIndexFile</code> - the file containing the serialized spatial index</dd>
<dt>Throws:</dt>
<dd><code><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupSpatialIndex(org.apache.jena.query.Dataset,java.io.File)">
<h3>setupSpatialIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupSpatialIndex</span><wbr><span class="parameters">(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</span>
throws <span class="exceptions"><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></span></div>
<div class="block">Setup Spatial Index using Dataset and most frequent SRS URI in
Dataset.<br>
Spatial Index written to file once created.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>dataset</code> - </dd>
<dd><code>spatialIndexFile</code> - </dd>
<dt>Throws:</dt>
<dd><code><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setupSpatialIndex(org.apache.jena.query.Dataset,java.lang.String,java.io.File)">
<h3>setupSpatialIndex</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setupSpatialIndex</span><wbr><span class="parameters">(<a href="https://jena.apache.org/documentation/javadoc/arq/org.apache.jena.arq/org/apache/jena/query/Dataset.html" title="class or interface in org.apache.jena.query" class="external-link">Dataset</a>&nbsp;dataset,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a>&nbsp;srsURI,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class or interface in java.io" class="external-link">File</a>&nbsp;spatialIndexFile)</span>
throws <span class="exceptions"><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></span></div>
<div class="block">Setup Spatial Index using Dataset using provided SRS URI.<br>
Spatial Index written to file once created.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>dataset</code> - </dd>
<dd><code>srsURI</code> - </dd>
<dd><code>spatialIndexFile</code> - </dd>
<dt>Throws:</dt>
<dd><code><a href="../spatial/SpatialIndexException.html" title="class in org.apache.jena.geosparql.spatial">SpatialIndexException</a></code></dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setCalculationPrecision(int)">
<h3>setCalculationPrecision</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setCalculationPrecision</span><wbr><span class="parameters">(int&nbsp;decimalPlaces)</span></div>
<div class="block">Set the number of decimal places precision used in calculations and
coordinate transformations. Inaccuracies exist in these calculations and
a higher value may not improve results.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>decimalPlaces</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="setPrecisionModelScaleFactor(int)">
<h3>setPrecisionModelScaleFactor</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">setPrecisionModelScaleFactor</span><wbr><span class="parameters">(int&nbsp;scaleFactor)</span></div>
<div class="block">Set the scale factor of the precision model used to create coordinate
sequences used in Geometries. Default: 1000000 for 6 d.p. precision.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>scaleFactor</code> - </dd>
</dl>
</section>
</li>
<li>
<section class="detail" id="allowGeometrySRSTransformation(boolean)">
<h3>allowGeometrySRSTransformation</h3>
<div class="member-signature"><span class="modifiers">public static final</span>&nbsp;<span class="return-type">void</span>&nbsp;<span class="element-name">allowGeometrySRSTransformation</span><wbr><span class="parameters">(boolean&nbsp;allowTransformation)</span></div>
<div class="block">Sets whether transformation for mismatching Geometry SRS is allowed.</div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>allowTransformation</code> - </dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<hr>
<p class="legal-copy"><small>Licensed under the Apache License, Version 2.0</small></p>
</footer>
</div>
</div>
</body>
</html>