/** INTERNAL: Build locate operator i.e. LOCATE("ob", t0.F_NAME) */ public static ExpressionOperator createLocateOperator() { ExpressionOperator expOperator = ExpressionOperator.simpleTwoArgumentFunction(ExpressionOperator.Locate, "INSTR"); int[] argumentIndices = new int[2]; argumentIndices[0] = 0; argumentIndices[1] = 1; expOperator.setArgumentIndices(argumentIndices); expOperator.setIsBindingSupported(false); return expOperator; }
private void addNonBindingOperator(ExpressionOperator operator) { operator.setIsBindingSupported(false); addOperator(operator); }