Package org.apache.drill.exec.udfs.gis
Class STDistance
java.lang.Object
org.apache.drill.exec.udfs.gis.STDistance
- All Implemented Interfaces:
DrillFunc
,DrillSimpleFunc
For geometry type Returns the 2D Cartesian distance between two geometries in projected units (based on spatial ref).
For geography type defaults to return minimum geodesic distance between two geographies in meters
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
STDistance
public STDistance()
-
-
Method Details
-
setup
public void setup()- Specified by:
setup
in interfaceDrillSimpleFunc
-
eval
public void eval()- Specified by:
eval
in interfaceDrillSimpleFunc
-