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
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:
-
Field Summary
FieldsFields inherited from class org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
constructingFactory, containedEvaluators, nodeId, streamContext -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.solr.client.solrj.io.eval.RecursiveEvaluator
evaluate, getStreamContext, normalizeInputType, normalizeOutputType, recursivelyEvaluate, setStreamContext, toExplanation, toExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.client.solrj.io.eval.StreamEvaluator
evaluateOverContext
-
Field Details
-
serialVersionUID
protected static final long serialVersionUID- See Also:
-
-
Constructor Details
-
LatLonVectorsEvaluator
public LatLonVectorsEvaluator(StreamExpression expression, StreamFactory factory) throws IOException - Throws:
IOException
-
-
Method Details
-
doWork
- Specified by:
doWorkin interfaceManyValueWorker- Specified by:
doWorkin interfaceValueWorker- Throws:
IOException
-