Module org.apache.jena.geosparql
Class GeometryTransformIndex
java.lang.Object
org.apache.jena.geosparql.implementation.index.GeometryTransformIndex
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
clear()
Empty the Geometry Transform Index.static final long
static boolean
static void
reset
(int maxSize, long expiryInterval) Reset the index to the provided max size and expiry interval.
All contents will be lost.static void
setIndexActive
(boolean indexActive) Sets whether the index is active.static final GeometryWrapper
transform
(GeometryWrapper sourceGeometryWrapper, String srsURI, Boolean storeSRSTransform)
-
Constructor Details
-
GeometryTransformIndex
public GeometryTransformIndex()
-
-
Method Details
-
transform
public static final GeometryWrapper transform(GeometryWrapper sourceGeometryWrapper, String srsURI, Boolean storeSRSTransform) throws org.opengis.referencing.operation.TransformException, org.opengis.util.FactoryException - Parameters:
sourceGeometryWrapper
-srsURI
-storeSRSTransform
-- Returns:
- GeometryWrapper following transformation.
- Throws:
org.opengis.referencing.operation.TransformException
org.opengis.util.FactoryException
-
clear
public static final void clear()Empty the Geometry Transform Index. -
getGeometryTransformIndexSize
public static final long getGeometryTransformIndexSize()- Returns:
- Number of items in the index.
-
isIndexActive
public static boolean isIndexActive()- Returns:
- True if index is active.
-
setIndexActive
public static void setIndexActive(boolean indexActive) Sets whether the index is active.- Parameters:
indexActive
-
-
reset
public static void reset(int maxSize, long expiryInterval) Reset the index to the provided max size and expiry interval.
All contents will be lost.- Parameters:
maxSize
-expiryInterval
-
-