Class GeometryTransformIndex

java.lang.Object
org.apache.jena.geosparql.implementation.index.GeometryTransformIndex

public class GeometryTransformIndex extends Object
  • 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 -