int type = node.getOperationType(); QueryNode predicateNode; final Name[] tmp = new Name[2]; final ASTLiteral[] value = new ASTLiteral[1]; node.childrenAccept(new DefaultParserVisitor() { public Object visit(ASTIdentifier node, Object data) { if (tmp[0] == null) { RelationQueryNode rel = createRelationQueryNode(between, identifier, QueryConstants.OPERATION_GE_GENERAL, (ASTLiteral) node.children[1]); node.childrenAccept(this, rel); between.addOperand(rel); rel = createRelationQueryNode(between, identifier, QueryConstants.OPERATION_LE_GENERAL, (ASTLiteral) node.children[2]); node.childrenAccept(this, rel); between.addOperand(rel); predicateNode = between; predicateNode = createRelationQueryNode(parent, identifier, type, value[0]); node.childrenAccept(this, predicateNode); } else if (type == QueryConstants.OPERATION_LIKE) { ASTLiteral pattern = value[0]; if (node.getEscapeString() != null) { if (node.getEscapeString().length() == 1) { pattern.setValue(translateEscaping(pattern.getValue(), node.getEscapeString().charAt(0), '\\')); } else {
ASTPredicate jjtn000 = new ASTPredicate(JJTPREDICATE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);int operationType; case DELIMITED_IDENTIFIER: identifier = Identifier(); jjtn000.setIdentifier(identifier); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PERIOD: jj_consume_token(PERIOD); identifier = Identifier(); Node n = jjtree.popNode(); jjtree.popNode(); jjtree.pushNode(n); jjtn000.setIdentifier(identifier); break; default: case UPPER: identifier = PropertyFunction(); jjtn000.setIdentifier(identifier); break; default: case LE_OPERATOR: operationType = ComparisonOperation(); jjtn000.setOperationType(operationType); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXACT_NUMERIC_LITERAL: case DELIMITED_IDENTIFIER: identifier = Identifier();
ASTPredicate jjtn000 = new ASTPredicate(JJTPREDICATE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);int operationType; case DELIMITED_IDENTIFIER: identifier = Identifier(); jjtn000.setIdentifier(identifier); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PERIOD: jj_consume_token(PERIOD); identifier = Identifier(); Node n = jjtree.popNode(); jjtree.popNode(); jjtree.pushNode(n); jjtn000.setIdentifier(identifier); break; default: case UPPER: identifier = PropertyFunction(); jjtn000.setIdentifier(identifier); break; default: case LE_OPERATOR: operationType = ComparisonOperation(); jjtn000.setOperationType(operationType); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EXACT_NUMERIC_LITERAL: case DELIMITED_IDENTIFIER: identifier = Identifier();
int type = node.getOperationType(); QueryNode predicateNode; final Name[] tmp = new Name[2]; final ASTLiteral[] value = new ASTLiteral[1]; node.childrenAccept(new DefaultParserVisitor() { public Object visit(ASTIdentifier node, Object data) { if (tmp[0] == null) { RelationQueryNode rel = createRelationQueryNode(between, identifier, QueryConstants.OPERATION_GE_GENERAL, (ASTLiteral) node.children[1]); node.childrenAccept(this, rel); between.addOperand(rel); rel = createRelationQueryNode(between, identifier, QueryConstants.OPERATION_LE_GENERAL, (ASTLiteral) node.children[2]); node.childrenAccept(this, rel); between.addOperand(rel); predicateNode = between; predicateNode = createRelationQueryNode(parent, identifier, type, value[0]); node.childrenAccept(this, predicateNode); } else if (type == QueryConstants.OPERATION_LIKE) { ASTLiteral pattern = value[0]; if (node.getEscapeString() != null) { if (node.getEscapeString().length() == 1) { pattern.setValue(translateEscaping(pattern.getValue(), node.getEscapeString().charAt(0), '\\')); } else {