org.exist.xquery
Interface Optimizable

All Superinterfaces:
Expression
All Known Implementing Classes:
AbstractMatchFunction, DeprecatedExtRegexp, DeprecatedExtRegexpOr, ExtFulltext, ExtNear, ExtPhrase, FunMatches, FunReplace, FunTokenize, FuzzyMatchAll, FuzzyMatchAny, GeneralComparison, MatchRegexp, ValueComparison

public interface Optimizable
extends Expression


Field Summary
 
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
 
Method Summary
 boolean canOptimize(Sequence contextSequence)
           
 int getOptimizeAxis()
           
 boolean optimizeOnSelf()
           
 NodeSet preSelect(Sequence contextSequence, boolean useContext)
           
 
Methods inherited from interface org.exist.xquery.Expression
accept, analyze, dump, eval, eval, getCardinality, getColumn, getContext, getContextDocSet, getContextId, getDependencies, getExpressionId, getLine, getPrimaryAxis, getSource, resetState, returnsType, setASTNode, setContextDocSet, setLocation, setPrimaryAxis
 

Method Detail

canOptimize

boolean canOptimize(Sequence contextSequence)

optimizeOnSelf

boolean optimizeOnSelf()

preSelect

NodeSet preSelect(Sequence contextSequence,
                  boolean useContext)
                  throws XPathException
Throws:
XPathException

getOptimizeAxis

int getOptimizeAxis()


Copyright (C) Wolfgang Meier. All rights reserved.