@Override
  public ObjectInspector initialize(ObjectInspector[] OIs) throws UDFArgumentException {

    opSimpleRelation = getRelationOperator();

    if (OIs.length != NUM_ARGS) {
      throw new UDFArgumentException("The " + opSimpleRelation.getType().toString().toLowerCase()
          + " relationship operator takes exactly two arguments");
    }

    geomHelper1 = HiveGeometryOIHelper.create(OIs[GEOM_1], GEOM_1);
    geomHelper2 = HiveGeometryOIHelper.create(OIs[GEOM_2], GEOM_2);

    if (LOG.isDebugEnabled()) {
      LOG.debug("OI[0]=" + geomHelper1);
      LOG.debug("OI[1]=" + geomHelper2);
    }

    firstRun = true;
    geom1IsAccelerated = false;

    return PrimitiveObjectInspectorFactory.javaBooleanObjectInspector;
  }
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