jdbc-protolib/src/main/java/com/streamsets/pipeline/lib/jdbc/MSOperationCode.java
public static int convertToJDBCCode(int op)  {
    if (CRUD_MAP.containsKey(op)){
      return CRUD_MAP.get(op);
    }
    throw new UnsupportedOperationException(Utils.format("Operation code {} is not supported", op));
  }
public static int convertToJDBCCode(int op)  {
    if (CRUD_MAP.containsKey(op)){
      return CRUD_MAP.get(op);
    }
    throw new UnsupportedOperationException(Utils.format("Operation code {} is not supported", op));
  }
Take an numeric operation code and check if the number is
valid operation code.
The operation code must be numeric: 1(insert), 2(update), 3(delete), etc,
@param op Numeric operation code in String
@return Operation code in int, -1 if invalid number