|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| 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.locpath | Contains classes for the evaluation of XPath 1.0 location steps. |
| org.basex.query.xpath.values | Contains containers for XPath 1.0 data types. |
| 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)
Constructor. |
|
| Uses of Expr in org.basex.query.xpath.expr |
|---|
| Subclasses of Expr in org.basex.query.xpath.expr | |
|---|---|
class |
And
Logical AND Expression. |
class |
ArrayExpr
This is an abstract class for array expressions. |
class |
Calculation
Calculation Expression. |
class |
Comparison
Abstract Compare Expression. |
class |
DualExpr
Abstract Expression with two arguments. |
class |
Equality
Equality Expression Able to express equality or inequality. |
class |
Filter
Filter Expression filtering a nodeset. |
class |
FTAnd
Logical FTAnd expression. |
class |
FTContains
FTContains Expression; used for fulltext operations. |
class |
FTIntersection
FTIntersection Expression. |
class |
FTMildNot
Logical FTMildNot expression. |
class |
FTNotExprs
FTNotExprs. |
class |
FTOr
Logical FTOr expression. |
class |
FTUnaryNot
Logical FTUnaryNot expression. |
class |
FTUnion
FTUnion Expression. |
class |
InterSect
XPath Intersect Expression. |
class |
Or
Logical OR expression. |
class |
Path
Path Expression. |
class |
Relational
XPath Relational Expression. |
class |
Unary
XPath Unary Expression. |
class |
Union
XPath Union Expression. |
| Fields in org.basex.query.xpath.expr declared as Expr | |
|---|---|
Expr |
Path.expr
Expression to be evaluated. |
Expr |
DualExpr.expr1
First Expression. |
Expr |
DualExpr.expr2
Second Expression. |
Expr[] |
ArrayExpr.exprs
Array with arguments. |
Expr |
Path.path
Location path. |
| Methods in org.basex.query.xpath.expr with parameters of type Expr | |
|---|---|
boolean |
Relational.sameAs(Expr cmp)
|
boolean |
Expr.sameAs(Expr cmp)
Checks current and specified expression for equivalence. |
boolean |
ArrayExpr.sameAs(Expr cmp)
|
| Constructors in org.basex.query.xpath.expr with parameters of type Expr | |
|---|---|
And(Expr[] e)
Constructor. |
|
Calculation(Expr e1,
Expr e2,
Calc t)
Constructor. |
|
Equality(Expr e1,
Expr e2,
Comp t)
Constructor. |
|
Filter(Expr e,
Preds p)
Constructor. |
|
FTAnd(Expr[] e)
Constructor. |
|
FTContains(Expr e1,
Expr e2,
FTOption opt)
Constructor. |
|
FTIntersection(Expr[] e)
Constructor. |
|
FTMildNot(Expr[] e)
Constructor. |
|
FTNotExprs(Expr[] e)
Constructor. |
|
FTOr(Expr[] e)
Constructor. |
|
FTUnaryNot(Expr[] e)
Constructor. |
|
FTUnion(Expr[] e)
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 BaseX specific containslc() function; compares all tokens in lower case. |
class |
Count
Constructor for count() function. |
class |
Distinct
Constructor for the BaseX specific distinct() function. |
class |
Doc
Constructor for the doc() and document() 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 |
Name
Constructor for name() function. |
class |
NamespaceURI
Constructor for namespace-uri() function. |
class |
Nodes
Constructor for BaseX 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 BaseX specific random() function. |
class |
Round
Constructor for round() function. |
class |
Sort
Constructor for the BaseX 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 |
Round.compile(XPContext ctx)
|
Expr |
Not.compile(XPContext ctx)
|
Expr |
Func.compile(XPContext ctx)
|
Expr |
Floor.compile(XPContext ctx)
|
Expr |
Count.compile(XPContext ctx)
|
Expr |
ContainsLC.compile(XPContext ctx)
|
Expr |
Contains.compile(XPContext ctx)
|
Expr |
Ceiling.compile(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. |
|
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. |
|
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 evluate true. |
class |
Range
RangeExpr Able to perform numeric range queries. |
| Methods in org.basex.query.xpath.internal that return Expr | |
|---|---|
Expr |
InternalExpr.compile(XPContext ctx)
|
Expr |
OneOf.indexEquivalent(XPContext ctx,
Step curr)
|
Expr |
AllOf.indexEquivalent(XPContext ctx,
Step curr)
|
| 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.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. |
| Methods in org.basex.query.xpath.locpath that return Expr | |
|---|---|
Expr |
LocPath.compile(XPContext ctx)
|
Expr |
PredSimple.indexEquivalent(XPContext ctx,
Step step)
|
Expr |
PredPos.indexEquivalent(XPContext ctx,
Step step)
|
| Methods in org.basex.query.xpath.locpath with parameters of type Expr | |
|---|---|
void |
Preds.add(Expr expr)
Adds an expression as predicate. |
Index.TYPE |
LocPath.indexable(XPContext ctx,
Expr exp,
Comp cmp)
Checks if the path is indexable. |
boolean |
LocPath.sameAs(Expr cmp)
|
| Uses of Expr in org.basex.query.xpath.values |
|---|
| Subclasses of Expr in org.basex.query.xpath.values | |
|---|---|
class |
Bool
XPath Value representing a boolean. |
class |
Item
Interface for all XPath items (results of expressions). |
class |
Literal
XPath Literal. |
class |
NodeSet
XPath Value representing a NodeSet. |
class |
Num
XPath value type modeling a number. |
| Methods in org.basex.query.xpath.values that return Expr | |
|---|---|
Expr |
Item.compile(XPContext ctx)
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||