/**
  * ExpressionOperator for the MDSYS.SDO_WITHIN_DISTANCE Spatial Operator on the Oracle Database
  * Use of this operator requires the Java spatial classes
  *
  * @return
  */
 public static ExpressionOperator withinDistance() {
   ExpressionOperator operator =
       ExpressionOperator.simpleThreeArgumentFunction(
           SDO_WITHIN_DISTANCE, "MDSYS.SDO_WITHIN_DISTANCE");
   operator.bePrefix();
   return operator;
 }
 /** Create the log operator for this platform */
 private static final ExpressionOperator createLogOperator() {
   ExpressionOperator result = new ExpressionOperator();
   result.setSelector(ExpressionOperator.Log);
   Vector v = NonSynchronizedVector.newInstance(2);
   v.addElement("LOG(10,");
   v.addElement(")");
   result.printsAs(v);
   result.bePrefix();
   result.setNodeClass(FunctionExpression.class);
   return result;
 }
 private static final ExpressionOperator createNullifOperator() {
   ExpressionOperator exOperator = new ExpressionOperator();
   exOperator.setType(ExpressionOperator.FunctionOperator);
   exOperator.setSelector(ExpressionOperator.NullIf);
   Vector v = org.eclipse.persistence.internal.helper.NonSynchronizedVector.newInstance(4);
   v.addElement(" (CASE WHEN ");
   v.addElement(" = ");
   v.addElement(" THEN NULL ELSE ");
   v.addElement(" END) ");
   exOperator.printsAs(v);
   exOperator.bePrefix();
   int[] indices = {0, 1, 0};
   exOperator.setArgumentIndices(indices);
   exOperator.setNodeClass(ClassConstants.FunctionExpression_Class);
   return exOperator;
 }
 /**
  * ExpressionOperator for the MDSYS.SDO_NN Spatial Operator on the Oracle Database Use of this
  * operator requires the Java spatial classes
  *
  * @return
  */
 public static ExpressionOperator nearestNeighbor() {
   ExpressionOperator operator =
       ExpressionOperator.simpleThreeArgumentFunction(SDO_NN, "MDSYS.SDO_NN");
   operator.bePrefix();
   return operator;
 }
 /**
  * ExpressionOperator for the MDSYS.SDO_FILTER Spatial Operator on the Oracle Database Use of this
  * operator requires the Java spatial classes
  *
  * @return
  */
 public static ExpressionOperator filter() {
   ExpressionOperator operator =
       ExpressionOperator.simpleThreeArgumentFunction(SDO_FILTER, "MDSYS.SDO_FILTER");
   operator.bePrefix();
   return operator;
 }
 /**
  * ExpressionOperator for the MDSYS.MDSYS.SDO_RELATE Spatial Operator on the Oracle Database Use
  * of this operator requires the Java spatial classes
  *
  * @return
  */
 public static ExpressionOperator relate() {
   ExpressionOperator operator =
       ExpressionOperator.simpleThreeArgumentFunction(SDO_RELATE, "MDSYS.SDO_RELATE");
   operator.bePrefix();
   return operator;
 }