Package org.codehaus.jparsec.examples.sql.ast

Examples of org.codehaus.jparsec.examples.sql.ast.BinaryRelationalExpression


  }
 
  public void testInRelation() {
    assertParser(ExpressionParser.inRelation(NUMBER, RelationParser.TABLE),
        "1 in (table)",
        new BinaryRelationalExpression(number(1), Op.IN, table("table")));
  }
View Full Code Here


  }
 
  public void testNotInRelation() {
    assertParser(ExpressionParser.notInRelation(NUMBER, RelationParser.TABLE),
        "1 not in (table)",
        new BinaryRelationalExpression(number(1), Op.NOT_IN, table("table")));
  }
View Full Code Here

  @Test
  public void testInRelation() {
    assertParser(ExpressionParser.inRelation(NUMBER, RelationParser.TABLE),
        "1 in (table)",
        new BinaryRelationalExpression(number(1), Op.IN, table("table")));
  }
View Full Code Here

  @Test
  public void testNotInRelation() {
    assertParser(ExpressionParser.notInRelation(NUMBER, RelationParser.TABLE),
        "1 not in (table)",
        new BinaryRelationalExpression(number(1), Op.NOT_IN, table("table")));
  }
View Full Code Here

TOP

Related Classes of org.codehaus.jparsec.examples.sql.ast.BinaryRelationalExpression

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.