| Package | Description |
|---|---|
| org.basex.query |
XQuery implementation.
|
| org.basex.query.expr |
XQuery expressions.
|
| org.basex.query.flwor | |
| org.basex.query.ft |
XQuery Full Text expressions.
|
| org.basex.query.func |
XQuery functions.
|
| org.basex.query.item |
XQuery data types.
|
| org.basex.query.item.map | |
| org.basex.query.path |
XQuery path expressions.
|
| org.basex.query.up.expr | |
| org.basex.query.util |
XQuery utility classes.
|
| Modifier and Type | Field and Description |
|---|---|
Expr |
QueryContext.ctxItem
Initial context value.
|
Expr |
QueryContext.root
Root expression of the query.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
QueryParser.module(byte[] u)
Parses the specified query and starts with the "Module" rule.
|
Expr |
QueryParser.parse(byte[] uri)
Parses the specified query or module.
|
| Modifier and Type | Method and Description |
|---|---|
Iter |
QueryContext.iter(Expr e)
Evaluates the specified expression and returns an iterator.
|
Value |
QueryContext.value(Expr expr)
Evaluates the specified expression and returns an iterator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
And
And expression.
|
class |
Arith
Arithmetic expression.
|
class |
Arr
Abstract array expression.
|
class |
Cast
Cast expression.
|
class |
Castable
Castable expression.
|
class |
Catch
Catch clause.
|
class |
CAttr
Attribute constructor.
|
class |
CComm
Comment fragment.
|
class |
CDoc
Document fragment.
|
class |
CElem
Element constructor.
|
class |
CFrag
Fragment constructor.
|
class |
Cmp
Abstract comparison.
|
class |
CmpG
General comparison.
|
class |
CmpN
Node comparison.
|
class |
CmpR
Range comparison expression.
|
class |
CmpV
Value comparison.
|
class |
CName
Abstract fragment constructor with a QName argument.
|
class |
CNSpace
Namespace constructor.
|
class |
Context
Context item.
|
class |
CPI
PI fragment.
|
class |
CTxt
Text fragment.
|
class |
Except
Except expression.
|
class |
Extension
Pragma extension.
|
class |
Filter
Filter expression.
|
class |
If
If expression.
|
class |
IndexAccess
This index class retrieves texts and attribute values from the index.
|
class |
Instance
Instance test.
|
class |
InterSect
Intersect expression.
|
class |
List
Expression list.
|
class |
LitMap
A literal map expression.
|
class |
Logical
|
class |
Or
Or expression.
|
class |
ParseExpr
Abstract parse expression.
|
class |
Pos
Pos expression.
|
class |
Pragma
Pragma.
|
class |
Preds
|
class |
Quantifier
Some/Every satisfier clause.
|
class |
Range
Range expression.
|
class |
RangeAccess
This index class retrieves range values from the index.
|
class |
Root
Root node.
|
class |
Simple
Simple expression without arguments.
|
class |
Single
Abstract single expression.
|
class |
Switch
Switch expression.
|
class |
SwitchCase
Single case of a switch expression.
|
class |
Treat
Treat as expression.
|
class |
Try
Project specific try/catch expression.
|
class |
TypeCase
Case expression for typeswitch.
|
class |
TypeSwitch
Typeswitch expression.
|
class |
Unary
Unary expression.
|
class |
Union
Union expression.
|
class |
VarRef
Variable Reference expression.
|
| Modifier and Type | Field and Description |
|---|---|
Expr[] |
Arr.expr
Expression list.
|
Expr |
Single.expr
Expression.
|
Expr[] |
Preds.preds
Predicates.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
Expr.addText(QueryContext ctx)
Optionally adds a text node to an expression for potential index rewriting.
|
Expr |
Context.addText(QueryContext ctx) |
Expr |
ParseExpr.checkUp(Expr e,
QueryContext ctx)
Checks if the specified expressions is no updating expression.
|
Expr |
Castable.comp(QueryContext ctx) |
Expr |
LitMap.comp(QueryContext ctx) |
Expr |
Range.comp(QueryContext ctx) |
Expr |
Logical.comp(QueryContext ctx) |
Expr |
If.comp(QueryContext ctx) |
Expr |
Except.comp(QueryContext ctx) |
Expr |
InterSect.comp(QueryContext ctx) |
Expr |
List.comp(QueryContext ctx) |
Expr |
Arr.comp(QueryContext ctx) |
Expr |
Or.comp(QueryContext ctx) |
abstract Expr |
Expr.comp(QueryContext ctx)
Compiles and optimizes the expression, assigns data types and
cardinalities.
|
Expr |
CmpG.comp(QueryContext ctx) |
Expr |
SwitchCase.comp(QueryContext ctx) |
Expr |
Unary.comp(QueryContext ctx) |
Expr |
Preds.comp(QueryContext ctx) |
Expr |
Instance.comp(QueryContext ctx) |
Expr |
CmpV.comp(QueryContext ctx) |
Expr |
Treat.comp(QueryContext ctx) |
Expr |
Try.comp(QueryContext ctx) |
Expr |
Quantifier.comp(QueryContext ctx) |
Expr |
Arith.comp(QueryContext ctx) |
Expr |
And.comp(QueryContext ctx) |
Expr |
Context.comp(QueryContext ctx) |
Expr |
VarRef.comp(QueryContext ctx) |
Expr |
Cast.comp(QueryContext ctx) |
Expr |
CmpN.comp(QueryContext ctx) |
Expr |
Union.comp(QueryContext ctx) |
Expr |
TypeSwitch.comp(QueryContext ctx) |
Expr |
Filter.comp(QueryContext ctx) |
Expr |
Single.comp(QueryContext ctx) |
Expr |
Extension.comp(QueryContext ctx) |
Expr |
Switch.comp(QueryContext ctx) |
Expr |
Simple.comp(QueryContext ctx) |
Expr |
Filter.comp2(QueryContext ctx)
Compiles the filter expression, excluding the root node.
|
protected Expr |
ParseExpr.compBln(Expr e)
Returns a boolean equivalent for the specified expression.
|
Expr |
Expr.compEbv(QueryContext ctx)
This method is called at compile time by expressions that perform
effective boolean value tests (e.g.
|
Expr |
CmpG.compEbv(QueryContext ctx) |
Expr |
CmpV.compEbv(QueryContext ctx) |
static Expr |
Pos.get(CmpV.OpV cmp,
Expr a,
Expr o,
InputInfo ii)
Returns an instance of this class, if possible, and the input expression
otherwise.
|
static Expr |
Pos.get(long mn,
long mx,
InputInfo ii)
Returns a position expression, or an optimized boolean item.
|
Expr |
Arr.indexEquivalent(IndexContext ic) |
Expr |
Or.indexEquivalent(IndexContext ic) |
Expr |
Expr.indexEquivalent(IndexContext ic)
Returns an equivalent expression which accesses an index structure.
|
Expr |
CmpG.indexEquivalent(IndexContext ic) |
Expr |
And.indexEquivalent(IndexContext ic) |
Expr |
CmpR.indexEquivalent(IndexContext ic) |
Expr |
If.markTailCalls() |
Expr |
Expr.markTailCalls()
Finds and marks tail calls, enabling TCO.
|
Expr |
TypeSwitch.markTailCalls() |
Expr |
Extension.markTailCalls() |
Expr |
Switch.markTailCalls() |
protected Expr |
ParseExpr.optPre(Expr opt,
QueryContext ctx)
Adds an optimization info for pre-evaluating the specified expression.
|
Expr |
ParseExpr.preEval(QueryContext ctx)
Pre-evaluates the specified expression.
|
Expr |
Arr.remove(Var v) |
abstract Expr |
Expr.remove(Var v)
|
Expr |
Preds.remove(Var v) |
Expr |
Try.remove(Var v) |
Expr |
Quantifier.remove(Var v) |
Expr |
VarRef.remove(Var v) |
Expr |
TypeSwitch.remove(Var v) |
Expr |
Filter.remove(Var v) |
Expr |
Single.remove(Var v) |
Expr |
CName.remove(Var v) |
Expr |
Switch.remove(Var v) |
Expr |
Simple.remove(Var v) |
| Modifier and Type | Method and Description |
|---|---|
Constr |
Constr.add(Expr... expr)
Constructs child and attribute nodes.
|
Filter |
Filter.addPred(Expr p)
Adds a predicate to the filter.
|
boolean |
ParseExpr.checkBln(Expr e,
QueryContext ctx)
Checks if the specified expression yields a boolean.
|
void |
ParseExpr.checkColl(Expr e,
QueryContext ctx)
Checks if the specified collation is supported.
|
double |
ParseExpr.checkDbl(Expr e,
QueryContext ctx)
Checks if the specified expression yields a double.
|
byte[] |
ParseExpr.checkEStr(Expr e,
QueryContext ctx)
Checks if the specified expression yields a string or empty sequence.
|
IO |
ParseExpr.checkIO(Expr e,
QueryContext ctx)
Checks if an expression yields a valid and existing
IO instance. |
Item |
ParseExpr.checkItem(Expr e,
QueryContext ctx)
Checks if the specified expression yields a non-empty item.
|
long |
ParseExpr.checkItr(Expr e,
QueryContext ctx)
Checks if the specified expression is an integer.
|
byte[] |
ParseExpr.checkStr(Expr e,
QueryContext ctx)
Checks if the specified expression yields a string.
|
Expr |
ParseExpr.checkUp(Expr e,
QueryContext ctx)
Checks if the specified expressions is no updating expression.
|
void |
ParseExpr.checkUp(QueryContext ctx,
Expr... expr)
Tests if the specified expressions are updating or vacuous.
|
protected Expr |
ParseExpr.compBln(Expr e)
Returns a boolean equivalent for the specified expression.
|
static Expr |
Pos.get(CmpV.OpV cmp,
Expr a,
Expr o,
InputInfo ii)
Returns an instance of this class, if possible, and the input expression
otherwise.
|
static AxisStep |
CmpG.indexStep(Expr expr)
If possible, returns the last location step of the specified expression.
|
protected Expr |
ParseExpr.optPre(Expr opt,
QueryContext ctx)
Adds an optimization info for pre-evaluating the specified expression.
|
boolean |
Expr.sameAs(Expr cmp)
Compares the current and specified expression for equality.
|
boolean |
Root.sameAs(Expr cmp) |
boolean |
Context.sameAs(Expr cmp) |
boolean |
VarRef.sameAs(Expr cmp) |
boolean |
Pos.sameAs(Expr cmp) |
| Constructor and Description |
|---|
And(InputInfo ii,
Expr[] e)
Constructor.
|
Arith(InputInfo ii,
Expr e1,
Expr e2,
Calc c)
Constructor.
|
Arr(InputInfo ii,
Expr... e)
Constructor.
|
Cast(InputInfo ii,
Expr e,
SeqType t)
Function constructor.
|
Castable(InputInfo ii,
Expr e,
SeqType s)
Constructor.
|
CAttr(InputInfo ii,
boolean c,
Expr n,
Expr... v)
Constructor.
|
CAttr(InputInfo ii,
boolean c,
Expr n,
Expr... v)
Constructor.
|
CComm(InputInfo ii,
Expr c)
Constructor.
|
CDoc(InputInfo ii,
Expr e)
Constructor.
|
CElem(InputInfo ii,
Expr t,
Atts ns,
Expr... cont)
Constructor.
|
CElem(InputInfo ii,
Expr t,
Atts ns,
Expr... cont)
Constructor.
|
CmpG(InputInfo ii,
Expr e1,
Expr e2,
CmpG.OpG o)
Constructor.
|
CmpN(InputInfo ii,
Expr e1,
Expr e2,
CmpN.OpN o)
Constructor.
|
CmpV(InputInfo ii,
Expr e1,
Expr e2,
CmpV.OpV o)
Constructor.
|
CNSpace(InputInfo ii,
Expr n,
Expr v)
Constructor.
|
CPI(InputInfo ii,
Expr n,
Expr v)
Constructor.
|
CTxt(InputInfo ii,
Expr t)
Constructor.
|
Except(InputInfo ii,
Expr[] e)
Constructor.
|
Extension(InputInfo ii,
Expr[] prag,
Expr e)
Constructor.
|
Extension(InputInfo ii,
Expr[] prag,
Expr e)
Constructor.
|
Filter(InputInfo ii,
Expr r,
Expr... p)
Constructor.
|
Filter(InputInfo ii,
Expr r,
Expr... p)
Constructor.
|
If(InputInfo ii,
Expr e,
Expr t,
Expr s)
Constructor.
|
IndexAccess(InputInfo ii,
Expr e,
IndexToken.IndexType t,
IndexContext ic)
Constructor.
|
Instance(InputInfo ii,
Expr e,
SeqType s)
Constructor.
|
InterSect(InputInfo ii,
Expr[] l)
Constructor.
|
List(InputInfo ii,
Expr... l)
Constructor.
|
LitMap(InputInfo ii,
Expr[] e)
Constructor.
|
Or(InputInfo ii,
Expr... e)
Constructor.
|
Preds(InputInfo ii,
Expr[] p)
Constructor.
|
Quantifier(InputInfo ii,
For[] f,
Expr s,
boolean e)
Constructor.
|
Range(InputInfo ii,
Expr e1,
Expr e2)
Constructor.
|
Single(InputInfo ii,
Expr e)
Constructor.
|
Switch(InputInfo ii,
Expr c,
SwitchCase[] sc)
Constructor.
|
SwitchCase(InputInfo ii,
Expr... e)
Constructor.
|
Treat(InputInfo ii,
Expr e,
SeqType s)
Constructor.
|
Try(InputInfo ii,
Expr t,
Catch[] c)
Constructor.
|
TypeCase(InputInfo ii,
Var v,
Expr r)
Constructor.
|
TypeSwitch(InputInfo ii,
Expr t,
TypeCase[] c)
Constructor.
|
Unary(InputInfo ii,
Expr e,
boolean min)
Constructor.
|
Union(InputInfo ii,
Expr... e)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FLWR
FLWR clause.
|
class |
For
For clause.
|
class |
ForLet
Abstract For/Let Clause.
|
class |
GFLWOR
GFLWOR clause.
|
class |
Group
Implementation of the group by clause.
|
static class |
Group.Spec
Grouping spec.
|
class |
Let
Let clause.
|
class |
Order
Order by expression.
|
class |
OrderBy
Abstract container for order by clauses.
|
class |
OrderByExpr
Single order specifier.
|
class |
OrderByStable
Stable order specifier.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
OrderByExpr.comp(QueryContext ctx) |
Expr |
OrderByStable.comp(QueryContext ctx) |
Expr |
FLWR.comp(QueryContext ctx) |
Expr |
Order.comp(QueryContext ctx) |
Expr |
Group.comp(QueryContext ctx) |
Expr |
GFLWOR.comp(QueryContext ctx) |
Expr |
FLWR.markTailCalls() |
Expr |
Group.remove(Var v) |
Expr |
GFLWOR.remove(Var v) |
| Modifier and Type | Method and Description |
|---|---|
static GFLWOR |
GFLWOR.get(ForLet[] fl,
Expr whr,
Order ord,
Group grp,
Expr ret,
InputInfo ii)
Returns a GFLWOR instance.
|
| Constructor and Description |
|---|
For(InputInfo ii,
Expr e,
Var v)
Constructor.
|
For(InputInfo ii,
Expr e,
Var v,
Var p,
Var s)
Constructor.
|
Group.Spec(InputInfo ii,
Var gv,
Expr e)
Constructor.
|
Let(InputInfo ii,
Expr e,
Var v)
Constructor.
|
Let(InputInfo ii,
Expr e,
Var v,
boolean s)
Constructor.
|
OrderByExpr(InputInfo ii,
Expr e,
boolean d,
boolean l)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FTAnd
FTAnd expression.
|
class |
FTContains
FTContains expression.
|
class |
FTContent
FTContent expression.
|
class |
FTDistance
FTDistance expression.
|
class |
FTExpr
This class defines is an abstract class for full-text expressions.
|
class |
FTExtensionSelection
FTExtensionSelection expression.
|
class |
FTFilter
Abstract FTFilter expression.
|
class |
FTIndexAccess
FTContains expression with index access.
|
class |
FTMildNot
FTMildnot expression.
|
class |
FTNot
FTUnaryNot expression.
|
class |
FTOptions
FTOptions expression.
|
class |
FTOr
FTOr expression.
|
class |
FTOrder
FTOrder expression.
|
class |
FTScope
FTScope expression.
|
class |
FTWeight
FTOptions expression.
|
class |
FTWindow
FTWindow expression.
|
class |
FTWords
FTWords expression.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
FTContains.comp(QueryContext ctx) |
Expr |
FTContains.indexEquivalent(IndexContext ic) |
Expr |
FTContains.remove(Var v) |
Expr |
FTIndexAccess.remove(Var v) |
| Constructor and Description |
|---|
FTContains(Expr e,
FTExpr fte,
InputInfo ii)
Constructor.
|
FTDistance(InputInfo ii,
FTExpr e,
Expr[] d,
FTUnit u)
Constructor.
|
FTExtensionSelection(InputInfo ii,
Expr[] prag,
FTExpr e)
Constructor.
|
FTWeight(InputInfo ii,
FTExpr e,
Expr w)
Constructor.
|
FTWindow(InputInfo ii,
FTExpr e,
Expr w,
FTUnit u)
Constructor.
|
FTWords(InputInfo ii,
Expr e,
FTWords.FTMode m,
Expr[] o)
Constructor for scan-based evaluation.
|
FTWords(InputInfo ii,
Expr e,
FTWords.FTMode m,
Expr[] o)
Constructor for scan-based evaluation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseFuncCall
Function call for user-defined functions.
|
class |
DynamicFunc
Dynamic function call.
|
class |
FNAcc
Accessor functions.
|
class |
FNAggr
Aggregating functions.
|
class |
FNContext
Context functions.
|
class |
FNCrypto
EXPath Cryptographic Module.
|
class |
FNDate
Date functions.
|
class |
FNDb
Database functions.
|
class |
FNFile
Functions on files and directories.
|
class |
FNFormat
Formatting functions.
|
class |
FNFt
Full-text functions.
|
class |
FNFunc
Functions on functions.
|
class |
FNGen
Generating functions.
|
class |
FNHof
Implementation-specific functions on functions.
|
class |
FNHttp
HTTP Client Module.
|
class |
FNId
ID functions.
|
class |
FNIndex
Index functions.
|
class |
FNInfo
Info functions.
|
class |
FNJson
Project specific functions.
|
class |
FNMap
Functions on maps.
|
class |
FNMath
Math functions.
|
class |
FNNode
Node functions.
|
class |
FNNum
Numeric functions.
|
class |
FNPat
String pattern functions.
|
class |
FNQName
QName functions.
|
class |
FNRepo
Functions on EXPath packages.
|
class |
FNSeq
Sequence functions.
|
class |
FNSimple
Simple functions.
|
class |
FNSql
Functions on relational databases.
|
class |
FNStr
String functions.
|
class |
FNUtil
Project specific functions.
|
class |
FNXslt
Project specific functions.
|
class |
FNZip
Functions on zip files.
|
class |
InlineFunc
Inline function.
|
class |
JavaFunc
Java function binding.
|
class |
JavaMapping
This class contains common methods for executing Java code and mapping
Java objects to XQuery values.
|
class |
JavaModuleFunc
Java function binding.
|
class |
PartFunc
Partial function application.
|
class |
StandardFunc
Standard (built-in) functions.
|
class |
UserFunc
User-defined function.
|
class |
UserFuncCall
Function call for user-defined functions.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
FNInfo.cmp(QueryContext ctx) |
Expr |
FNSimple.cmp(QueryContext ctx) |
Expr |
FNAggr.cmp(QueryContext ctx) |
Expr |
FNSeq.cmp(QueryContext ctx) |
Expr |
FNGen.cmp(QueryContext ctx) |
Expr |
UserFuncCall.comp(QueryContext ctx) |
Expr |
UserFunc.comp(QueryContext ctx) |
Expr |
DynamicFunc.comp(QueryContext ctx) |
Expr |
PartFunc.comp(QueryContext ctx) |
Expr |
StandardFunc.comp(QueryContext ctx) |
Expr |
InlineFunc.comp(QueryContext ctx) |
Expr |
FNSimple.compEbv(QueryContext ctx) |
Expr |
BaseFuncCall.markTailCalls() |
Expr |
InlineFunc.remove(Var v) |
| Modifier and Type | Method and Description |
|---|---|
StandardFunc |
Functions.get(byte[] name,
byte[] uri,
Expr[] args,
QueryContext ctx,
InputInfo ii)
Returns the specified function.
|
StandardFunc |
Function.get(InputInfo ii,
Expr... arg)
Creates a new instance of the function.
|
static TypedFunc |
Functions.get(QNm name,
Expr[] args,
boolean dyn,
QueryContext ctx,
InputInfo ii)
Returns an instance of the specified function, or
null. |
| Constructor and Description |
|---|
BaseFuncCall(InputInfo ii,
QNm nm,
Expr[] arg)
Function constructor.
|
DynamicFunc(InputInfo ii,
Expr fun,
Expr[] arg)
Function constructor.
|
DynamicFunc(InputInfo ii,
Expr fun,
Expr[] arg)
Function constructor.
|
FNAcc(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNAggr(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNContext(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNCrypto(InputInfo ii,
Function fd,
Expr[] args)
Constructor.
|
FNDate(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNDb(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNFile(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNFormat(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNFt(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNFunc(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNGen(InputInfo ii,
Function f,
Expr[] e)
Constructor.
|
FNHof(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNHttp(InputInfo ii,
Function f,
Expr[] e)
Constructor.
|
FNId(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNIndex(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNInfo(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNJson(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNMap(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNMath(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNNode(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNNum(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNPat(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNQName(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNRepo(InputInfo ii,
Function f,
Expr[] e)
Constructor.
|
FNSeq(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNSimple(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNSql(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNStr(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNUtil(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNXslt(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
FNZip(InputInfo ii,
Function f,
Expr... e)
Constructor.
|
InlineFunc(InputInfo ii,
SeqType r,
Var[] v,
Expr e,
Ann a)
Constructor.
|
PartFunc(InputInfo ii,
Expr func,
Var[] arg)
Function constructor for dynamic calls.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ANode
Abstract node type.
|
class |
Atm
Untyped atomic item.
|
class |
B64
Base64 item.
|
class |
B64Stream
Streamable base64 item.
|
class |
Bin
Binary item.
|
class |
Bln
Boolean item.
|
class |
Dat
Date item.
|
class |
Date
Date container.
|
class |
Dbl
Double item.
|
class |
DBNode
Disk-based Node item.
|
class |
DBNodeSeq
Sequence, containing at least two ordered database nodes.
|
class |
Dec
Decimal item.
|
class |
DSim
Simple date item.
|
class |
DTd
DayTime Duration item.
|
class |
Dtm
DateTime item.
|
class |
Dur
Duration item.
|
class |
Empty
Empty sequence.
|
class |
FAttr
Attribute node fragment.
|
class |
FComm
Comment node fragment.
|
class |
FDoc
Document node fragment.
|
class |
FElem
Element node fragment.
|
class |
FItem
Abstract super class for function items.
|
class |
Flt
Float item.
|
class |
FNames
Namespace node.
|
class |
FNode
Node type.
|
class |
FPI
PI node fragment.
|
class |
FTNode
Disk-based full-text Node item.
|
class |
FTxt
Text node fragment.
|
class |
FuncItem
Function item.
|
class |
Hex
HexBinary item.
|
class |
Int
Integer item.
|
class |
IntSeq
Sequence of
Integers, containing at least two of them. |
class |
Item
Abstract item.
|
class |
ItemSeq
Sequence, containing at least two items.
|
class |
Jav
String item.
|
class |
QNm
QName item.
|
class |
RangeSeq
Range sequence, containing at least two integers.
|
class |
Seq
Sequence, containing at least two items.
|
class |
Str
String item.
|
class |
StrStream
Streamable string item.
|
class |
Tim
Time item.
|
class |
Uri
URI item.
|
class |
Value
Abstract value.
|
class |
YMd
YearMonth Duration item.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
Value.remove(Var v) |
| Modifier and Type | Method and Description |
|---|---|
Item |
SeqType.cast(Item it,
boolean cast,
QueryContext ctx,
InputInfo ii,
Expr e)
Tries to cast the given item to this sequence type.
|
static Value |
IntSeq.get(Expr[] expr,
long size,
Type type)
Creates a sequence with the integers in the specified expressions.
|
boolean |
Dbl.sameAs(Expr cmp) |
boolean |
Bin.sameAs(Expr cmp) |
boolean |
ItemSeq.sameAs(Expr cmp) |
boolean |
Bln.sameAs(Expr cmp) |
boolean |
Flt.sameAs(Expr cmp) |
boolean |
Str.sameAs(Expr cmp) |
boolean |
Int.sameAs(Expr cmp) |
boolean |
Dtm.sameAs(Expr cmp) |
boolean |
DBNode.sameAs(Expr cmp) |
boolean |
DBNodeSeq.sameAs(Expr cmp) |
| Constructor and Description |
|---|
FuncItem(QNm n,
Var[] arg,
Expr body,
FuncType t,
boolean cst)
Constructor.
|
FuncItem(Var[] arg,
Expr body,
FuncType t,
VarStack cl,
boolean cst)
Constructor for anonymous functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Map
The map item.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AxisPath
Axis path expression.
|
class |
AxisStep
Location Step expression.
|
class |
MixedPath
Mixed path expression.
|
class |
Path
Path expression.
|
| Modifier and Type | Field and Description |
|---|---|
Expr |
Path.root
Root expression.
|
Expr[] |
Path.steps
Path steps.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
AxisPath.addText(QueryContext ctx) |
Expr |
Path.comp(QueryContext ctx) |
Expr |
AxisStep.comp(QueryContext ctx) |
protected abstract Expr |
Path.compPath(QueryContext ctx)
Compiles the location path.
|
protected Expr |
AxisPath.compPath(QueryContext ctx) |
protected Expr |
MixedPath.compPath(QueryContext ctx) |
Expr |
Path.remove(Var v) |
Expr |
AxisPath.remove(Var v) |
Expr |
MixedPath.remove(Var v) |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.addPreds(Expr... pred)
Adds a predicate to the last step.
|
static AxisStep |
AxisStep.get(InputInfo ii,
Axis a,
Test t,
Expr... p)
This method creates a step instance.
|
static Path |
Path.get(InputInfo ii,
Expr r,
Expr... path)
Returns a new path instance.
|
static Path |
Path.get(InputInfo ii,
Expr r,
Expr... path)
Returns a new path instance.
|
AxisPath |
AxisPath.invertPath(Expr r,
AxisStep curr)
Inverts a location path.
|
boolean |
AxisPath.sameAs(Expr cmp) |
boolean |
AxisStep.sameAs(Expr cmp) |
| Constructor and Description |
|---|
MixedPath(InputInfo ii,
Expr r,
Expr... s)
Constructor.
|
MixedPath(InputInfo ii,
Expr r,
Expr... s)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Delete
Delete expression.
|
class |
Insert
Insert expression.
|
class |
Rename
Rename expression.
|
class |
Replace
Replace expression.
|
class |
Transform
Transform expression.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
Transform.comp(QueryContext ctx) |
Expr |
Transform.remove(Var v) |
| Constructor and Description |
|---|
Delete(InputInfo ii,
Expr r)
Constructor.
|
Insert(InputInfo ii,
Expr src,
boolean f,
boolean l,
boolean b,
boolean a,
Expr trg)
Constructor.
|
Rename(InputInfo ii,
Expr tg,
Expr n)
Constructor.
|
Replace(InputInfo ii,
Expr t,
Expr r,
boolean v)
Constructor.
|
Transform(InputInfo ii,
Let[] c,
Expr m,
Expr r)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Var
Variable expression.
|
| Modifier and Type | Field and Description |
|---|---|
Expr |
TypedFunc.fun
Function expression.
|
protected Expr[] |
ExprList.list
Element container.
|
| Modifier and Type | Method and Description |
|---|---|
Expr |
Var.expr()
Returns the bound expression.
|
Expr[] |
ExprList.finish()
Returns an array with all elements.
|
Expr |
ExprList.get(int p)
Returns the specified element.
|
Expr |
IndexContext.invert(Expr ex,
ParseExpr root,
boolean text)
Rewrites the specified expression for index access.
|
| Modifier and Type | Method and Description |
|---|---|
ExprList |
ExprList.add(Expr e)
Adds an element to the array.
|
Var |
Var.bind(Expr e,
QueryContext ctx)
Binds the specified expression to the variable.
|
Expr |
IndexContext.invert(Expr ex,
ParseExpr root,
boolean text)
Rewrites the specified expression for index access.
|
boolean |
Var.sameAs(Expr cmp) |
void |
ExprList.set(int i,
Expr e)
Sets an element at the specified index position.
|
| Constructor and Description |
|---|
ExprList(Expr c)
Constructor, specifying an initial entry.
|
TypedFunc(Expr f,
FuncType ft)
Constructor.
|