Class GeometryLiteralIndex

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

public class GeometryLiteralIndex extends Object
  • Constructor Details

    • GeometryLiteralIndex

      public GeometryLiteralIndex()
  • Method Details

    • retrieve

      public static final GeometryWrapper retrieve(String geometryLiteral, GeometryDatatype geometryDatatype, GeometryLiteralIndex.GeometryIndex targetIndex)
    • clear

      public static final void clear()
      Empty the Geometry Literal Index.
    • getPrimaryIndexSize

      public static final long getPrimaryIndexSize()
      Returns:
      Number of items in the primary index.
    • getSecondaryIndexSize

      public static final long getSecondaryIndexSize()
      Returns:
      Number of items in the secondary 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 indexes to the provided max size and expiry interval.
      All contents will be lost.
      Parameters:
      maxSize -
      expiryInterval -