public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { appendTo(sel, ctx, state, sql, index, null); }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { appendTo(sel, ctx, state, sql, index, null); }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { appendTo(sel, ctx, state, sql, index, null); }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { appendTo(sel, ctx, state, sql, index, null); }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { Args args = (Args) getValue(); if (!ctx.store.getDBDictionary().requiresCastForMathFunctions || args.getValues().length == 1) { super.appendTo(sel, ctx, state, sql, index); } else { sql.append(getOperator()); sql.append("("); args.appendTo(sel, ctx, state, sql, 0, getOperator()); sql.append(")"); } } }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { Args args = (Args) getValue(); if (!ctx.store.getDBDictionary().requiresCastForMathFunctions || args.getValues().length == 1) { super.appendTo(sel, ctx, state, sql, index); } else { sql.append(getOperator()); sql.append("("); args.appendTo(sel, ctx, state, sql, 0, getOperator()); sql.append(")"); } } }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { Args args = (Args) getValue(); if (!ctx.store.getDBDictionary().requiresCastForMathFunctions || args.getValues().length == 1) { super.appendTo(sel, ctx, state, sql, index); } else { sql.append(getOperator()); sql.append("("); args.appendTo(sel, ctx, state, sql, 0, getOperator()); sql.append(")"); } } }
public void appendTo(Select sel, ExpContext ctx, ExpState state, SQLBuffer sql, int index) { Args args = (Args) getValue(); if (!ctx.store.getDBDictionary().requiresCastForMathFunctions || args.getValues().length == 1) { super.appendTo(sel, ctx, state, sql, index); } else { sql.append(getOperator()); sql.append("("); args.appendTo(sel, ctx, state, sql, 0, getOperator()); sql.append(")"); } } }