private OGCGeometry getGeometryFromBytes(BytesWritable writable) {

    if (bytesReused) {
      if (last != null && last != writable) {
        // this assumes that the source of these bytes will either always
        // reuse the bytes or never reuse the bytes.
        bytesReused = false;
      }
      last = writable;
    }

    return GeometryUtils.geometryFromEsriShape(writable, bytesReused);
  }
Reads the corresponding geometry from the deferred object list
or returns the cached geometry if argument is constant.

@param args
@return
ql/src/java/org/apache/hadoop/hive/ql/udf/esri/HiveGeometryOIHelper.java