Uses of Class
org.basex.query.xpath.expr.Expr

Packages that use Expr
org.basex.query.xpath Includes an implementation of XPath 1.0. 
org.basex.query.xpath.expr Contains XPath 1.0 expressions. 
org.basex.query.xpath.func Contains XPath 1.0 functions. 
org.basex.query.xpath.internal Contains internally used XPath expressions. 
org.basex.query.xpath.item Contains containers for XPath 1.0 data types. 
org.basex.query.xpath.locpath Contains classes for the evaluation of XPath 1.0 location steps. 
 

Uses of Expr in org.basex.query.xpath
 

Methods in org.basex.query.xpath that return Expr
static Expr[] XPOptimizer.getIndexExpr(Expr[] ex)
          Checks if all path expressions are the same; if yes, a path has to be only evaluated once.
 

Methods in org.basex.query.xpath with parameters of type Expr
static void XPOptimizer.addText(Expr ex, XPContext ctx)
          Adds a text step to the specified path.
 Item XPContext.eval(Expr e)
          Evaluates the expression with the specified context set.
static Expr[] XPOptimizer.getIndexExpr(Expr[] ex)
          Checks if all path expressions are the same; if yes, a path has to be only evaluated once.
 

Constructors in org.basex.query.xpath with parameters of type Expr
XPContext(Expr expr, java.lang.String qu)
          Constructor.
 

Uses of Expr in org.basex.query.xpath.expr
 

Subclasses of Expr in org.basex.query.xpath.expr
 class And
          And expression.
 class Arr
          Abstract array expression.
 class Clc
          Calculation.
 class Cmp
          Abstract Compare Expression.
 class Equality
          Equality Expression, evaluating comparisons.
 class Filter
          Filter Expression filtering a nodeset.
 class FTAnd
          Logical FTAnd expression.
 class FTArrayExpr
          This is an abstract class for fulltext array expressions.
 class FTContains
          FTContains Expression; used for fulltext operations.
 class FTContainsNS
          FTContains Expression; used for fulltext operations.
 class FTIntersection
          FTIntersection Expression.
 class FTMildNot
          Logical FTMildNot expression.
 class FTMildNotIter
          FTMildNotExprs.
 class FTNot
          Logical FTUnaryNot expression.
 class FTNotIter
          FTUnaryNotExprs.
 class FTOr
          Logical FTOr expression.
 class FTSelect
          Fulltext position filter expression and FTTimes.
 class FTUnion
          FTUnion Expression.
 class FTWords
          Fulltext primary expression and FTTimes.
 class InterSect
          Intersect Expression.
 class Or
          Or expression.
 class Path
          Path Expression.
 class Pos
          Position test.
 class Relational
          XPath Relational Expression.
 class Unary
          XPath Unary Expression.
 class Union
          Union Expression.
 

Fields in org.basex.query.xpath.expr declared as Expr
 Expr[] Arr.expr
          Expression list.
 

Methods in org.basex.query.xpath.expr that return Expr
 Expr Arr.comp(XPContext ctx)
           
 Expr Cmp.comp(XPContext ctx)
           
 Expr Clc.comp(XPContext ctx)
           
 Expr Or.comp(XPContext ctx)
           
 Expr Filter.comp(XPContext ctx)
           
 Expr FTContains.comp(XPContext ctx)
           
 Expr FTContainsNS.comp(XPContext ctx)
           
abstract  Expr Expr.comp(XPContext ctx)
          Optimizes the expression.
 Expr Pos.comp(XPContext ctx)
           
 Expr Unary.comp(XPContext ctx)
           
 Expr And.comp(XPContext ctx)
           
static Expr Pos.create(double val, Comp type)
          Creates a position predicate, a false predicate for impossible comparisons or a null reference.
 Expr Or.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 Expr FTContains.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 Expr Expr.indexEquivalent(XPContext ctx, Step step, boolean seq)
          Returns an equivalent expression which accesses an index structure.
 Expr Equality.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 Expr And.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 

Methods in org.basex.query.xpath.expr with parameters of type Expr
 boolean Arr.sameAs(Expr cmp)
           
 boolean Expr.sameAs(Expr cmp)
          Checks current and specified expression for equivalence.
 boolean Relational.sameAs(Expr cmp)
           
 

Constructors in org.basex.query.xpath.expr with parameters of type Expr
And(Expr[] e)
          Constructor.
Clc(Expr e1, Expr e2, Calc c)
          Constructor.
Cmp(Expr e1, Expr e2)
          Constructor.
Equality(Expr e1, Expr e2, Comp t)
          Constructor.
Filter(Expr e, Preds p)
          Constructor.
FTContains(Expr e1, Expr e2, FTOpt o, boolean indexuse)
          Constructor.
FTContains(Expr e1, FTArrayExpr e2)
          Constructor.
FTContainsNS(Expr e1, FTArrayExpr e2)
          Constructor.
InterSect(Expr[] e)
          Constructor.
Or(Expr[] e)
          Constructor.
Path(Expr e, Expr p)
          Constructor for a relative location path.
Relational(Expr e1, Expr e2, Comp t)
          Constructor.
Unary(Expr e)
          Constructor.
Union(Expr[] e)
          Constructor.
 

Uses of Expr in org.basex.query.xpath.func
 

Subclasses of Expr in org.basex.query.xpath.func
 class BooleanFunc
          Constructor for boolean() function.
 class Ceiling
          Constructor for ceiling() function.
 class Concat
          Constructor for concat() function.
 class Contains
          Constructor for contains() function.
 class ContainsLC
          Constructor for implementation specific containslc() function; compares all tokens in lower case.
 class Count
          Constructor for count() function.
 class Distinct
          Constructor for the implementation specific distinct() function.
 class Doc
          Constructor for the doc() and document() function.
 class EndsWith
          Constructor for ends-with() function.
 class False
          Constructor for false() function.
 class Floor
          Constructor for floor() function.
 class Func
          Interface for XPath functions.
 class Id
          Constructor for id() function.
 class Lang
          Constructor for local-name() function.
 class Last
          Constructor for last() function.
 class LocalName
          Constructor for local-name() function.
 class Matches
          Constructor for implementation specific matches() function; compares all tokens in lower case.
 class Name
          Constructor for name() function.
 class NamespaceURI
          Constructor for namespace-uri() function.
 class Nodes
          Constructor for implementation specific nodes() function; returns a node set with the pre nodes specified in the argument literal.
 class NormalizeSpace
          Constructor for string() function.
 class Not
          Constructor for not() function.
 class NumFunc
          Constructor for number() function.
 class Position
          Constructor for position() function.
 class Random
          Constructor for the implementation specific random() function.
 class Round
          Constructor for round() function.
 class Sort
          Constructor for the implementation specific sort() function.
 class StartsWith
          Constructor for starts-with() function.
 class StringFunc
          Constructor for string() function.
 class StringLength
          Constructor for string-length() function.
 class SubStr
          Constructor for substring() function.
 class SubstringAfter
          Constructor for substring-after() function.
 class SubstringBefore
          Constructor for substring-before() function.
 class Sum
          Constructor for sum() function.
 class Translate
          Constructor for translate() function.
 class True
          Constructor for true() function.
 

Methods in org.basex.query.xpath.func that return Expr
 Expr Count.comp(XPContext ctx)
           
 Expr ContainsLC.comp(XPContext ctx)
           
 Expr Contains.comp(XPContext ctx)
           
 Expr Matches.comp(XPContext ctx)
           
 Expr Ceiling.comp(XPContext ctx)
           
 Expr Round.comp(XPContext ctx)
           
 Expr Func.comp(XPContext ctx)
           
 Expr Not.comp(XPContext ctx)
           
 Expr Floor.comp(XPContext ctx)
           
 

Methods in org.basex.query.xpath.func with parameters of type Expr
 Func XPathContext.getFunction(byte[] name, Expr[] args)
          Evaluates the specified function.
 

Constructors in org.basex.query.xpath.func with parameters of type Expr
BooleanFunc(Expr[] arg)
          Function Constructor.
Ceiling(Expr[] arg)
          Function Constructor.
Concat(Expr[] arg)
          Function Constructor.
Contains(Expr[] arg)
          Function Constructor.
ContainsLC(Expr[] arg)
          Function Constructor.
Count(Expr[] arg)
          Function Constructor.
Distinct(Expr[] arg)
          Function Constructor.
Doc(Expr[] arg)
          Function Constructor.
EndsWith(Expr[] arg)
          Function Constructor.
False(Expr[] arg)
          Function Constructor.
Floor(Expr[] arg)
          Function Constructor.
Func(Expr[] arg, java.lang.String dsc)
          Function constructor.
Id(Expr[] arg)
          Function Constructor.
Lang(Expr[] arg)
          Function Constructor.
Last(Expr[] arg)
          Function Constructor.
LocalName(Expr[] arg)
          Function Constructor.
Matches(Expr[] arg)
          Function Constructor.
Name(Expr[] arg)
          Function Constructor.
NamespaceURI(Expr[] arg)
          Function Constructor.
Nodes(Expr[] arg)
          Function Constructor.
NormalizeSpace(Expr[] arg)
          Function Constructor.
Not(Expr[] arg)
          Function Constructor.
NumFunc(Expr[] arg)
          Function Constructor.
Position(Expr[] arg)
          Function Constructor.
Random(Expr[] arg)
          Function Constructor.
Round(Expr[] arg)
          Function Constructor.
Sort(Expr[] arg)
          Function Constructor.
StartsWith(Expr[] arg)
          Function Constructor.
StringFunc(Expr[] arg)
          Function Constructor.
StringLength(Expr[] arg)
          Function Constructor.
SubStr(Expr[] arg)
          Function Constructor.
SubstringAfter(Expr[] arg)
          Function Constructor.
SubstringBefore(Expr[] arg)
          Function Constructor.
Sum(Expr[] arg)
          Function Constructor.
Translate(Expr[] arg)
          Function Constructor.
True(Expr[] arg)
          Function Constructor.
 

Uses of Expr in org.basex.query.xpath.internal
 

Subclasses of Expr in org.basex.query.xpath.internal
 class AllOf
          This Expression assembles a number of similar comparisons which all has to evaluate true.
 class FTIndex
          This expression retrieves the ids of indexed fulltext terms.
 class IndexAccess
          This index class retrieves attribute values from the index.
 class IndexMatch
          This class is only internally used for index optimizations.
 class InternalExpr
          Abstract class for internal (optimized) XPath expressions.
 class OneOf
          This Expression assembles a number of similar comparisons of which one has to evaluate true.
 class Range
          IndexRange, performing numeric range queries.
 class RangeAccess
          This index class retrieves range values from the index.
 

Methods in org.basex.query.xpath.internal that return Expr
 Expr InternalExpr.comp(XPContext ctx)
           
 Expr AllOf.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 Expr Range.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 Expr OneOf.indexEquivalent(XPContext ctx, Step curr, boolean seq)
           
 

Constructors in org.basex.query.xpath.internal with parameters of type Expr
IndexMatch(LocPath p, Expr exp, LocPath m)
          Constructor.
Range(Expr e, Item mn, Item mx)
          Constructor.
 

Uses of Expr in org.basex.query.xpath.item
 

Subclasses of Expr in org.basex.query.xpath.item
 class Bln
          XPath Value representing a boolean.
 class Dbl
          XPath value type modeling a number.
 class Item
          Interface for all XPath items (results of expressions).
 class Nod
          XPath Value representing a NodeSet.
 class Str
          XPath Literal.
 

Methods in org.basex.query.xpath.item that return Expr
 Expr Item.comp(XPContext ctx)
           
 

Uses of Expr in org.basex.query.xpath.locpath
 

Subclasses of Expr in org.basex.query.xpath.locpath
 class LocPath
          LocationPath (absolute or relative).
 class LocPathAbs
          Absolute Location Path Expression.
 class LocPathRel
          Relative Location Path Expression.
 

Fields in org.basex.query.xpath.locpath declared as Expr
 Expr PredSimple.expr
          Predicate expression.
 

Methods in org.basex.query.xpath.locpath that return Expr
 Expr LocPath.comp(XPContext ctx)
           
 Expr PredSimple.indexEquivalent(XPContext ctx, Step step, boolean seq)
           
 

Methods in org.basex.query.xpath.locpath with parameters of type Expr
 void Preds.add(Expr expr)
          Adds an expression as predicate.
 IndexToken LocPath.indexable(XPContext ctx, Expr exp, Comp cmp)
          Checks if the path is indexable.
 boolean LocPath.sameAs(Expr cmp)
           
 

Constructors in org.basex.query.xpath.locpath with parameters of type Expr
PredSimple(Expr exp)
          Constructor.