Package org.exist.xquery.modules.ngram.query

Examples of org.exist.xquery.modules.ngram.query.FixedString


        EvaluatableExpression parsedQuery = null;

        if (getLocalName().equals("wildcard-contains"))
            parsedQuery = parseQuery(query);
              else
            parsedQuery = new FixedString(this, query);

        LOG.debug("Parsed Query: " + parsedQuery);
        NodeSet result = parsedQuery.eval(index, docs, qnames, nodeSet, axis, this
                .getExpressionId());
View Full Code Here


                    Set<String> strings = new HashSet<String>(token.length() - 2);
                    for (int i = 1; i < token.length() - 1; i++)
                        strings.add(Character.toString(token.charAt(i)));
                    expressions.add(new AlternativeStrings(this, strings));
                } else {
                    expressions.add(new FixedString(this, unescape(token)));
                }
            }
        }

        if (endAnchorPresent)
View Full Code Here

TOP

Related Classes of org.exist.xquery.modules.ngram.query.FixedString

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.