Class LatLonVectorsEvaluator
- java.lang.Object
-
- org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
-
- org.apache.solr.client.solrj.io.eval.RecursiveObjectEvaluator
-
- org.apache.solr.client.solrj.io.eval.LatLonVectorsEvaluator
-
- All Implemented Interfaces:
Serializable
,ManyValueWorker
,StreamEvaluator
,ValueWorker
,Expressible
public class LatLonVectorsEvaluator extends RecursiveObjectEvaluator implements ManyValueWorker
The LatLonVectorsEvaluator maps to the latlonVectors Math Expression. The latlonVectors expression takes a list of Tuples that contain a lat,lon point field and a named parameter called field as input. The field parameter specifies which field to parse the lat,lon vectors from in the Tuples.The latlonVectors function returns a matrix of lat,lon vectors. Each row in the matrix contains a single lat,lon pair.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
serialVersionUID
-
Fields inherited from class org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
constructingFactory, containedEvaluators, nodeId, streamContext
-
-
Constructor Summary
Constructors Constructor Description LatLonVectorsEvaluator(StreamExpression expression, StreamFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
doWork(Object... objects)
-
Methods inherited from class org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
evaluate, getStreamContext, normalizeInputType, normalizeOutputType, recursivelyEvaluate, setStreamContext, toExplanation, toExpression
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.solr.client.solrj.io.eval.StreamEvaluator
evaluateOverContext
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LatLonVectorsEvaluator
public LatLonVectorsEvaluator(StreamExpression expression, StreamFactory factory) throws IOException
- Throws:
IOException
-
-
Method Detail
-
doWork
public Object doWork(Object... objects) throws IOException
- Specified by:
doWork
in interfaceManyValueWorker
- Specified by:
doWork
in interfaceValueWorker
- Throws:
IOException
-
-