java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.function.geosparql.Intersection
All Implemented Interfaces:
Function

public class Intersection extends Object
The GeoSPARQL Function geof:intersection, as defined in OGC GeoSPARQL - A Geographic Query Language for RDF Data.
  • Constructor Details

    • Intersection

      public Intersection()
  • Method Details

    • getURI

      public String getURI()
    • operation

      protected org.locationtech.spatial4j.shape.Shape operation(org.locationtech.spatial4j.shape.Shape s1, org.locationtech.spatial4j.shape.Shape s2)
    • evaluate

      public Value evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
      Description copied from interface: Function
      Evaluate the function over the supplied input arguments, using the supplied ValueFactory to produce the result.
      Specified by:
      evaluate in interface Function
      Parameters:
      valueFactory - a ValueFactory to use for producing the function result.
      args - the function input arguments.
      Returns:
      the function result value.
      Throws:
      ValueExprEvaluationException