Package org.rhq.enterprise.server.search.translation.antlr

Examples of org.rhq.enterprise.server.search.translation.antlr.RHQLSimpleTerm


                    first = false;
                }

                RHQLAdvancedTerm advancedTerm = null;
                if (nextTerm instanceof RHQLSimpleTerm) {
                    RHQLSimpleTerm simpleTerm = (RHQLSimpleTerm) nextTerm;
                    advancedTerm = new RHQLAdvancedTerm(null, assistant.getPrimarySimpleContext(), null,
                        RHQLComparisonOperator.EQUALS, simpleTerm.getValue());
                } else {
                    advancedTerm = (RHQLAdvancedTerm) nextTerm;
                }

                SearchFragment searchFragment = translator.getSearchFragment(alias, advancedTerm);
View Full Code Here


        List<RHQLTerm> terms = new ArrayList<RHQLTerm>();

        // simple text match
        if (tree.getToken().getType() == RHQLLexer.IDENT) {
            String value = PrintUtils.collapseStringChildren(tree);
            RHQLTerm nextTerm = new RHQLSimpleTerm(value);
            terms.add(nextTerm);
            return terms;
        }

        // advanced query match
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.server.search.translation.antlr.RHQLSimpleTerm

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.