Package org.jpox.store.mapped.expression

Examples of org.jpox.store.mapped.expression.NumericExpression


    public NumericExpression lengthMethod(StringExpression str)
    {
        ArrayList args = new ArrayList();
        args.add(str);

        return new NumericExpression("LENGTH", args);
    }
View Full Code Here


            return (NumericExpression) getMapping(value.getClass(), expr).newLiteral(expr.getQueryExpression(),value);
        }
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("ASCII", args);
    }
View Full Code Here

    public NumericExpression absMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("ABS", args);
    }
View Full Code Here

    public NumericExpression sqrtMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("SQRT", args);
    }
View Full Code Here

    public NumericExpression cosMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("COS", args);
    }
View Full Code Here

    public NumericExpression sinMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("SIN", args);
    }
View Full Code Here

    public NumericExpression tanMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("TAN", args);
    }
View Full Code Here

    public NumericExpression acosMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("ACOS", args);
    }
View Full Code Here

    public NumericExpression asinMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("ASIN", args);
    }
View Full Code Here

    public NumericExpression atanMethod(ScalarExpression expr)
    {
        ArrayList args = new ArrayList();
        args.add(expr);

        return new NumericExpression("ATAN", args);
    }
View Full Code Here

TOP

Related Classes of org.jpox.store.mapped.expression.NumericExpression

Copyright © 2018 www.massapicom. 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.