Interface OptimizableXPathExpression
-
- All Superinterfaces:
XPathExpression
@Beta @Deprecated public interface OptimizableXPathExpression extends XPathExpression
Deprecated.Interface implemented byXPathExpression
s which can be further optimized for execution efficiency at the expense of additional processing being performed on them. The decision to optimize a particular expression is left to the user's discretion.Implementations supporting profile-driven and similar optimizations which depend on data being gathered during evaluation should not implement this interface, but rather perform these optimizations transparently behind the scenes. That implies the users can expect those optimizations not interfering with the user's ability to evaluate the expression.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NonNull XPathExpression
optimizeExpression()
Deprecated.Perform optimization of this expression.-
Methods inherited from interface org.opendaylight.yangtools.yang.data.jaxen.api.XPathExpression
evaluate, getApexPath, getEvaluationPath
-
-
-
-
Method Detail
-
optimizeExpression
@NonNull XPathExpression optimizeExpression()
Deprecated.Perform optimization of this expression. If an implementation supports different levels of optimization, it should return anOptimizableXPathExpression
as a result of progressing optimizations for as long as it determines further processing can result in execution benefits. Note this expression is expected to remain unchanged.- Returns:
- An optimized version of this expression.
-
-