Package org.eclipse.rdf4j.sail.lucene.fn
Class DistanceTupleFunction
- java.lang.Object
-
- org.eclipse.rdf4j.sail.lucene.fn.DistanceTupleFunction
-
- All Implemented Interfaces:
TupleFunction
@Deprecated public class DistanceTupleFunction extends Object implements TupleFunction
Deprecated.since 3.0. The LuceneSpinSail is to removed in the next major release.Arguments:- from is the WKT point to measure from.
- maxDistance is the maximum distance to consider.
- units are the measurement units.
- geoProperty is the predicate to use.
- search:distance else omitted.
- search:context else omitted.
- subject is the subject whose geometry is within the given max distance.
- to is the WKT of the shape measured to.
- distance is the distance to the shape if search:distance is present.
- context is the context if search:context is present.
-
-
Constructor Summary
Constructors Constructor Description DistanceTupleFunction()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CloseableIteration<? extends List<? extends Value>,QueryEvaluationException>
evaluate(ValueFactory valueFactory, Value... args)
Deprecated.String
getURI()
Deprecated.
-
-
-
Method Detail
-
getURI
public String getURI()
Deprecated.- Specified by:
getURI
in interfaceTupleFunction
-
evaluate
public CloseableIteration<? extends List<? extends Value>,QueryEvaluationException> evaluate(ValueFactory valueFactory, Value... args) throws QueryEvaluationException
Deprecated.- Specified by:
evaluate
in interfaceTupleFunction
- Throws:
QueryEvaluationException
-
-