org.exist.xquery.functions.text
Class AbstractMatchFunction

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.DeprecatedExtRegexp
                  extended by org.exist.xquery.functions.text.AbstractMatchFunction
All Implemented Interfaces:
CompiledXQuery, Expression, Optimizable, CompiledExpression
Direct Known Subclasses:
FuzzyMatchAll

public abstract class AbstractMatchFunction
extends DeprecatedExtRegexp

Author:
Wolfgang Meier (wolfgang@exist-db.org)

Field Summary
 
Fields inherited from class org.exist.xquery.functions.DeprecatedExtRegexp
signature
 
Fields inherited from class org.exist.xquery.Function
BUILTIN_FUNCTION_NS
 
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, POSITIONAL_PREDICATE, SINGLE_STEP_EXECUTION, USE_TREE_TRAVERSAL
 
Constructor Summary
AbstractMatchFunction(XQueryContext context, int type, FunctionSignature signature)
           
 
Method Summary
abstract  Sequence evalQuery(NodeSet nodes, List terms)
           
 NodeSet mergeResults(NodeSet[] hits)
           
 
Methods inherited from class org.exist.xquery.functions.DeprecatedExtRegexp
analyze, canOptimize, eval, getDependencies, getOptimizeAxis, optimizeOnSelf, preSelect, resetState
 
Methods inherited from class org.exist.xquery.Function
accept, createFunction, dump, getArgument, getArgumentCount, getArguments, getCardinality, getName, getParent, getSignature, isCalledAs, returnsType, setArguments, setParent, setPrimaryAxis, toString
 
Methods inherited from class org.exist.xquery.PathExpr
add, add, addPath, addPredicate, dump, getColumn, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLine, getLiteralValue, getPrimaryAxis, isValid, replaceExpression, replaceLastExpression, reset, setContext, setUseStaticContext
 
Methods inherited from class org.exist.xquery.AbstractExpression
eval, getContextDocSet, getContextId, getExpressionId, getSource, setASTNode, setContextDocSet, setLocation
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.exist.xquery.Expression
accept, dump, eval, getCardinality, getColumn, getContext, getContextDocSet, getContextId, getExpressionId, getLine, getPrimaryAxis, getSource, returnsType, setASTNode, setContextDocSet, setLocation, setPrimaryAxis
 
Methods inherited from interface org.exist.xquery.CompiledXQuery
eval, getSource
 

Constructor Detail

AbstractMatchFunction

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

evalQuery

public abstract Sequence evalQuery(NodeSet nodes,
                                   List terms)
                            throws XPathException
Overrides:
evalQuery in class DeprecatedExtRegexp
Throws:
XPathException

mergeResults

public NodeSet mergeResults(NodeSet[] hits)


Copyright (C) Wolfgang Meier. All rights reserved.