@Override
  public Object evaluate(DeferredObject[] args) throws HiveException {

    OGCGeometry geom1 = geomHelper1.getGeometry(args);
    OGCGeometry geom2 = geomHelper2.getGeometry(args);

    if (geom1 == null || geom2 == null) {
      return false;
    }

    if (firstRun && geomHelper1.isConstant()) {

      // accelerate geometry 1 for quick relation operations since it is constant
      geom1IsAccelerated = opSimpleRelation.accelerateGeometry(geom1.getEsriGeometry(), geom1.getEsriSpatialReference(),
          GeometryAccelerationDegree.enumMedium);
    }

    firstRun = false;

    return opSimpleRelation
        .execute(geom1.getEsriGeometry(), geom2.getEsriGeometry(), geom1.getEsriSpatialReference(), null);
  }
Operators that extend this should return an instance of
<code>OperatorSimpleRelation</code>

@return operator for simple relationship tests
ql/src/java/org/apache/hadoop/hive/ql/udf/esri/ST_GeometryRelational.java