Package org.apache.phoenix.expression.function

Examples of org.apache.phoenix.expression.function.LpadFunction


    }
   
    @Test
    public void lpad() throws Exception {
        List<Expression> args = Lists.newArrayList(getInvertedLiteral("ABCD", PDataType.CHAR), getLiteral(7), getLiteral("12"));
        evaluateAndAssertResult(new LpadFunction(args), "121ABCD");
    }
View Full Code Here

TOP

Related Classes of org.apache.phoenix.expression.function.LpadFunction

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.