Class SpatialFunction

  • Direct Known Subclasses:
    RectComparisonFunction

    public abstract class SpatialFunction
    extends Object
    A base for all spatial functions.
    Author:
    burgetr
    • Constructor Detail

      • SpatialFunction

        public SpatialFunction()
    • Method Detail

      • getBoundsResource

        protected org.eclipse.rdf4j.model.Resource getBoundsResource​(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource,
                                                                     org.eclipse.rdf4j.model.Value arg)
                                                              throws org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationException
        Finds the bounds resource: either the b:bounds property is set for the object or we use the object itself.
        Parameters:
        tripleSource -
        arg -
        Returns:
        Throws:
        org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationException
      • getRectangularValue

        protected Rectangular getRectangularValue​(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource,
                                                  org.eclipse.rdf4j.model.Resource subj)
      • getIntValue

        protected Integer getIntValue​(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource,
                                      org.eclipse.rdf4j.model.Resource subj,
                                      org.eclipse.rdf4j.model.IRI property)