Examples of DelegateFunction


Examples of org.apache.expreval.expr.function.DelegateFunction

        super(predicate, mappingName);

        for (final GenericValue val : columnList) {
            // See if a group of columns are indicated with family(col1, col2), which looks like a function call
            if (val instanceof DelegateFunction) {
                final DelegateFunction function = (DelegateFunction)val;
                final String familyName = function.getFunctionName();
                for (final GenericValue columnarg : function.getGenericValueList()) {
                    if (columnarg instanceof DelegateColumn) {
                        final String columnName = ((DelegateColumn)columnarg).getVariableName();
                        final DelegateColumn col = new DelegateColumn(familyName + ":" + columnName);
                        this.getInsertColumnList().add(SelectExpressionContext.newExpression(col, null));
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.