Package org.yaac.server.egql.evaluator

Examples of org.yaac.server.egql.evaluator.FunctionEvaluator


    String inputStr = "insert values (__key__=key('kind_a', 'b') )";
   
    InsertStatement actual = TestUtil.parser(inputStr).insert_statement().stmt;
   
    InsertStatement expected = new InsertStatement().withItem(new InsertItem("__key__",
        new FunctionEvaluator("key").add(new StringEvaluator("'kind_a'")).add(new StringEvaluator("'b'")),
        true));
   
    Assert.assertEquals(expected, actual);
  }
View Full Code Here

TOP

Related Classes of org.yaac.server.egql.evaluator.FunctionEvaluator

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.