Package io.crate.sql.tree

Examples of io.crate.sql.tree.Expression.accept()


    private SubscriptContext analyzeSubscript(String expressionString) {
        Analyzer.ParameterContext parameterContext = mock(Analyzer.ParameterContext.class);
        when(parameterContext.getAsSymbol(anyInt())).thenReturn(new Parameter(currentParameter));
        SubscriptContext context = new SubscriptContext(parameterContext);
        Expression expression = SqlParser.createExpression(expressionString);
        expression.accept(visitor, context);
        return context;
    }

    @Test
    public void testVisitSubscriptExpression() throws Exception {
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.