org.exist.xquery.functions.text
Class FuzzyMatchAll

java.lang.Object
  extended by org.exist.xquery.AbstractExpression
      extended by org.exist.xquery.PathExpr
          extended by org.exist.xquery.Function
              extended by org.exist.xquery.functions.fn.DeprecatedExtRegexp
                  extended by org.exist.xquery.functions.text.AbstractMatchFunction
                      extended by org.exist.xquery.functions.text.FuzzyMatchAll
All Implemented Interfaces:
CompiledXQuery, Expression, Optimizable, RewritableExpression, org.xmldb.api.base.CompiledExpression
Direct Known Subclasses:
FuzzyMatchAny

public class FuzzyMatchAll
extends AbstractMatchFunction


Field Summary
static FunctionSignature signature
           
 
Fields inherited from class org.exist.xquery.functions.fn.DeprecatedExtRegexp
axis, cached, contextQName, logger, optimizeSelf, preselectResult, REGEX_PARAM, RETURN_TYPE, SOURCE_PARAM, type
 
Fields inherited from class org.exist.xquery.Function
BUILTIN_FUNCTION_NS, mySignature
 
Fields inherited from class org.exist.xquery.PathExpr
inPredicate, keepVirtual, LOG, staticContext, steps
 
Fields inherited from class org.exist.xquery.AbstractExpression
column, context, contextDocSet, contextId, line, unordered
 
Fields inherited from interface org.exist.xquery.Expression
DOT_TEST, EXPRESSION_ID_INVALID, IGNORE_CONTEXT, IN_NODE_CONSTRUCTOR, IN_PREDICATE, IN_UPDATE, IN_WHERE_CLAUSE, NEED_INDEX_INFO, NO_CONTEXT_ID, NON_STREAMABLE, POSITIONAL_PREDICATE, SINGLE_STEP_EXECUTION, UNORDERED, USE_TREE_TRAVERSAL
 
Constructor Summary
FuzzyMatchAll(XQueryContext context)
           
FuzzyMatchAll(XQueryContext context, int type, FunctionSignature signature)
           
 
Method Summary
 Sequence evalQuery(NodeSet nodes, java.util.List<java.lang.String> terms)
           
 
Methods inherited from class org.exist.xquery.functions.text.AbstractMatchFunction
getSearchTerms, mergeResults
 
Methods inherited from class org.exist.xquery.functions.fn.DeprecatedExtRegexp
analyze, canOptimize, eval, getDependencies, getMatches, getOptimizeAxis, getSearchTerms, getTermDependencies, optimizeOnChild, optimizeOnSelf, preSelect, resetState, translateRegexp
 
Methods inherited from class org.exist.xquery.Function
accept, checkArgument, checkArguments, createFunction, dump, getArgument, getArgumentCount, getArguments, getCardinality, getName, getParent, getParentModule, getSignature, isCalledAs, returnsType, setArguments, setParent, setPrimaryAxis, simplify, toString
 
Methods inherited from class org.exist.xquery.PathExpr
add, add, addPath, addPredicate, allowMixNodesInReturn, dump, getColumn, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLine, getLiteralValue, getPrimaryAxis, getSubExpression, getSubExpressionCount, isValid, replaceExpression, replaceLastExpression, reset, setContext, setUseStaticContext
 
Methods inherited from class org.exist.xquery.AbstractExpression
eval, getContextDocSet, getContextId, getExpressionId, getSource, match, needsReset, setASTNode, setContextDocSet, setContextId, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exist.xquery.Expression
accept, allowMixNodesInReturn, dump, eval, getCardinality, getColumn, getContext, getContextDocSet, getContextId, getExpressionId, getLine, getParent, getPrimaryAxis, getSource, getSubExpression, getSubExpressionCount, match, needsReset, returnsType, setASTNode, setContextDocSet, setContextId, setLocation, setPrimaryAxis, simplify
 
Methods inherited from interface org.exist.xquery.CompiledXQuery
eval, getSource
 

Field Detail

signature

public static final FunctionSignature signature
Constructor Detail

FuzzyMatchAll

public FuzzyMatchAll(XQueryContext context)

FuzzyMatchAll

public FuzzyMatchAll(XQueryContext context,
                     int type,
                     FunctionSignature signature)
Method Detail

evalQuery

public Sequence evalQuery(NodeSet nodes,
                          java.util.List<java.lang.String> terms)
                   throws XPathException
Specified by:
evalQuery in class AbstractMatchFunction
Throws:
XPathException