org.exist.xquery.functions.text
Class AbstractMatchFunction
java.lang.Object
org.exist.xquery.AbstractExpression
org.exist.xquery.PathExpr
org.exist.xquery.Function
org.exist.xquery.functions.ExtRegexp
org.exist.xquery.functions.text.AbstractMatchFunction
- All Implemented Interfaces:
- CompiledXQuery, Expression, Optimizable, CompiledExpression
- Direct Known Subclasses:
- FuzzyMatchAll
public abstract class AbstractMatchFunction
- extends ExtRegexp
- Author:
- Wolfgang Meier (wolfgang@exist-db.org)
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, SINGLE_STEP_EXECUTION, USE_TREE_TRAVERSAL |
Methods inherited from class org.exist.xquery.Function |
accept, createFunction, dump, getArgument, getArgumentCount, getArguments, getASTNode, getCardinality, getName, getParent, getSignature, isCalledAs, returnsType, setArguments, setASTNode, setParent, setPrimaryAxis, toString |
Methods inherited from class org.exist.xquery.PathExpr |
add, add, addPath, addPredicate, dump, getContext, getDocumentSet, getExpression, getLastExpression, getLength, getLiteralValue, getSource, isValid, replaceExpression, replaceLastExpression, reset, setContext, setSource |
Methods inherited from interface org.exist.xquery.Expression |
accept, dump, eval, getASTNode, getCardinality, getContextDocSet, getContextId, getExpressionId, returnsType, setASTNode, setContextDocSet, setPrimaryAxis |
AbstractMatchFunction
public AbstractMatchFunction(XQueryContext context,
int type,
FunctionSignature signature)
evalQuery
public abstract Sequence evalQuery(NodeSet nodes,
List terms)
throws XPathException
- Overrides:
evalQuery
in class ExtRegexp
- Throws:
XPathException
mergeResults
public NodeSet mergeResults(NodeSet[] hits)
Copyright (C) Wolfgang Meier. All rights reserved.