Available Methods
Related Classes
- java.util.Arrays
- java.util.Collections
- java.lang.reflect.Method
- java.util.Objects
- java.nio.ByteBuffer
- org.json.JSONObject
- com.fasterxml.jackson.core.JsonProcessingException
- java.util.EnumSet
- com.google.common.collect.ImmutableList
- com.google.common.base.Joiner
- com.fasterxml.jackson.core.JsonParser
- com.fasterxml.jackson.databind.node.ObjectNode
- org.apache.hadoop.io.Text
- org.apache.hadoop.io.IntWritable
- org.apache.hadoop.io.BytesWritable
- org.apache.hadoop.io.BooleanWritable
- org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector
- org.apache.hadoop.hive.ql.metadata.HiveException
- org.locationtech.jts.geom.Geometry
- org.apache.hadoop.hive.ql.exec.UDFArgumentException
- org.apache.hadoop.hive.serde2.io.DoubleWritable
- io.airlift.slice.Slice
- com.esri.core.geometry.Point
- org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category
- org.locationtech.jts.geom.Envelope
Java Code Examples for com.esri.core.geometry.ogc.OGCGeometry#Equals
The following examples show how to use
com.esri.core.geometry.ogc.OGCGeometry#Equals .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GeoFunctions.java From presto with Apache License 2.0 | 5 votes |
@SqlNullable @Description("Returns TRUE if the given geometries represent the same geometry") @ScalarFunction("ST_Equals") @SqlType(BOOLEAN) public static Boolean stEquals(@SqlType(GEOMETRY_TYPE_NAME) Slice left, @SqlType(GEOMETRY_TYPE_NAME) Slice right) { OGCGeometry leftGeometry = deserialize(left); OGCGeometry rightGeometry = deserialize(right); verifySameSpatialReference(leftGeometry, rightGeometry); return leftGeometry.Equals(rightGeometry); }