| Package | Description |
|---|---|
| org.basex.query |
XQuery implementation.
|
| org.basex.query.expr |
XQuery expressions.
|
| org.basex.query.flwor | |
| org.basex.query.func |
XQuery functions.
|
| org.basex.query.item |
XQuery data types.
|
| org.basex.query.item.map | |
| org.basex.query.iter |
XQuery iterators.
|
| org.basex.query.up.expr | |
| org.basex.query.util |
XQuery utility classes.
|
| org.basex.query.util.json |
| Modifier and Type | Field and Description |
|---|---|
Value |
QueryContext.value
Current context value.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
QueryResources.collection(java.lang.String input,
InputInfo ii)
Adds a collection instance or returns an existing one.
|
Value |
QueryProcessor.value()
Returns a result value.
|
Value |
QueryException.value()
Returns the error value.
|
Value |
QueryContext.value()
Returns the result value.
|
Value |
QueryContext.value(Expr expr)
Evaluates the specified expression and returns an iterator.
|
| Modifier and Type | Method and Description |
|---|---|
QueryException |
QueryException.value(Value v)
Sets the error value.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
ParseExpr.checkCtx(QueryContext ctx)
Throws an exception if the context item is not set.
|
Value |
Switch.value(QueryContext ctx) |
Value |
List.value(QueryContext ctx) |
Value |
Context.value(QueryContext ctx) |
abstract Value |
Expr.value(QueryContext ctx)
Evaluates the expression and returns the resulting value.
|
Value |
ParseExpr.value(QueryContext ctx) |
Value |
Try.value(QueryContext ctx) |
Value |
Range.value(QueryContext ctx) |
Value |
If.value(QueryContext ctx) |
Value |
VarRef.value(QueryContext ctx) |
Value |
Treat.value(QueryContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static ANode |
Root.root(Value v)
Returns the root node of the specified item.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
Group.Spec.value(QueryContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
static Value |
JavaMapping.toValue(java.lang.Object res)
Converts the specified result to an XQuery value.
|
Value |
DynamicFunc.value(QueryContext ctx) |
Value |
FNSimple.value(QueryContext ctx) |
Value |
FNHof.value(QueryContext ctx) |
Value |
FNDb.value(QueryContext ctx) |
Value |
FNGen.value(QueryContext ctx) |
Value |
FNStr.value(QueryContext ctx) |
Value |
FNUtil.value(QueryContext ctx) |
Value |
JavaMapping.value(QueryContext ctx) |
Value |
FNMap.value(QueryContext ctx) |
Value |
BaseFuncCall.value(QueryContext ctx) |
Value |
InlineFunc.value(QueryContext ctx) |
Value |
UserFunc.value(QueryContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
JavaModuleFunc.eval(Value[] args) |
protected abstract java.lang.Object |
JavaMapping.eval(Value[] args)
Returns the result of the evaluated Java function.
|
protected java.lang.Object |
JavaFunc.eval(Value[] args) |
| 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 |
YMd
YearMonth Duration item.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
Value.comp(QueryContext ctx) |
static Value |
IntSeq.get(Expr[] expr,
long size,
Type type)
Creates a sequence with the integers in the specified expressions.
|
static Value |
DBNodeSeq.get(IntList v,
Data d,
boolean docs,
boolean c)
Creates a node sequence with the given data reference and pre values.
|
static Value |
Seq.get(Item[] v,
int s)
Returns a value representation of the specified items.
|
static Value |
IntSeq.get(long[] val,
Type type)
Creates a sequence with the specified integers.
|
abstract Value |
FItem.invValue(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function item with the given arguments.
|
Value |
FuncItem.invValue(QueryContext ctx,
InputInfo ii,
Value... args) |
Value |
SeqType.promote(Value val,
QueryContext ctx,
InputInfo ii)
Tries to promote the specified value to this sequence type.
|
Value |
Value.value(QueryContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SeqType.instance(Value val)
Matches a value against this sequence type.
|
Item |
FItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function item with the given arguments.
|
Item |
FuncItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args) |
Iter |
FItem.invIter(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function item with the given arguments.
|
Iter |
FuncItem.invIter(QueryContext ctx,
InputInfo ii,
Value... args) |
abstract Value |
FItem.invValue(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function item with the given arguments.
|
Value |
FuncItem.invValue(QueryContext ctx,
InputInfo ii,
Value... args) |
Value |
SeqType.promote(Value val,
QueryContext ctx,
InputInfo ii)
Tries to promote the specified value to this sequence type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Map
The map item.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
Map.get(Item key,
InputInfo ii)
Gets the value from this map.
|
Value |
Map.invValue(QueryContext ctx,
InputInfo ii,
Value... args) |
Value |
Map.keys()
All keys defined in this map.
|
| Modifier and Type | Method and Description |
|---|---|
Map |
Map.insert(Item k,
Value v,
InputInfo ii)
Inserts the given value into this map.
|
Value |
Map.invValue(QueryContext ctx,
InputInfo ii,
Value... args) |
| Modifier and Type | Method and Description |
|---|---|
Value |
ItemCache.value() |
Value |
Iter.value()
Returns a sequence with all iterator values.
|
Value |
NodeCache.value() |
Value |
ValueIter.value() |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemCache.add(Value val)
Adds the contents of a value.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
Transform.value(QueryContext ctx) |
| Modifier and Type | Field and Description |
|---|---|
Value[] |
Ann.values
Values.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
ValueList.get(int i)
Returns the element at the specified index.
|
Value |
Var.value(QueryContext ctx) |
Value[] |
Ann.values(QNm e)
Returns the values for the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Ann.add(QNm name,
Value value)
Adds a QName/value pair.
|
void |
ValueList.add(Value e)
Adds an element to the list.
|
Var |
Var.bind(Value v,
QueryContext ctx)
Binds the specified value to the variable.
|
static QueryException |
Err.cast(InputInfo ii,
Type t,
Value v)
Throws a type cast exception.
|
static Var |
Var.create(QueryContext ctx,
InputInfo ii,
QNm n,
Value v,
Ann a)
Creates a new variable.
|
static boolean |
Compare.deep(Value val1,
Value val2,
InputInfo input)
Checks items for deep equality.
|
static QueryException |
Err.promote(InputInfo ii,
SeqType t,
Value v)
Throws a type promoting exception.
|
| Modifier and Type | Method and Description |
|---|---|
static Value |
JsonMapConverter.parse(byte[] json,
InputInfo ii)
Parses a JSON string and converts it to an XQuery item made of nested maps.
|