Modifier and Type | Method and Description |
---|---|
Command[] |
CommandParser.parse()
Parses the input and returns a command list.
|
Command |
CommandParser.parseSingle()
Parses the input as single command and returns the resulting command.
|
Command[] |
CommandParser.suggest()
Parses the input and creates command completions on the way.
|
Modifier and Type | Method and Description |
---|---|
void |
TextView.cacheText(ArrayOutput out,
Command c,
Result r)
Caches the output.
|
Modifier and Type | Method and Description |
---|---|
void |
SerializerOptions.parse(String name,
byte[] val,
StaticContext sc,
InputInfo info)
Parses options.
|
Modifier and Type | Method and Description |
---|---|
QueryException |
QueryException.add(InputInfo ii)
Adds an input info to the stack.
|
static QueryException |
QueryError.castError(InputInfo ii,
Value value,
Type type)
Throws a type cast exception.
|
static QueryException |
QueryError.circVarError(StaticVar var)
Throws an exception for circular static variables.
|
static QueryException |
QueryError.diffError(InputInfo ii,
Item item1,
Item item2)
Throws a comparison exception.
|
QueryException |
QuerySuggest.error(QueryError err,
Object... arg) |
static QueryException |
QueryError.funCastError(InputInfo ii,
Type type,
Object value)
Throws a type cast exception.
|
QueryException |
QueryError.get(InputInfo ii,
Object... ext)
Throws a query exception.
|
static QueryException |
QueryError.get(String name,
String msg,
InputInfo ii)
Returns an error for the specified name.
|
QueryException |
QueryRTException.getCause() |
QueryException |
QueryIOException.getCause() |
QueryException |
QueryIOException.getCause(InputInfo info)
Returns the query exception.
|
QueryException |
QueryException.info(InputInfo ii)
Sets input info.
|
QueryException |
QueryException.notCatchable()
Makes this exception uncatchable by a
try/catch expression. |
static QueryException |
QueryError.numberError(InputInfo ii,
Item item)
Throws a number exception.
|
static QueryException |
QueryError.numberError(ParseExpr expr,
Item item)
Throws a number exception.
|
QueryException |
QueryException.suggest(InputParser qp,
StringList sug)
Sets code suggestions.
|
static QueryException |
QueryError.treatError(InputInfo ii,
Value value,
SeqType seqType)
Throws a type promoting exception.
|
QueryException |
QueryException.value(Value val)
Sets the error value.
|
static QueryException |
QueryError.valueError(InputInfo ii,
Type type,
byte[] value)
Throws an invalid value exception.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryResources.addCollection(String name,
String[] paths,
IO baseIO)
Adds a collection with the specified paths.
|
void |
QueryResources.addDoc(String name,
String path,
IO baseIO)
Adds a document with the specified path.
|
QueryProcessor |
QueryProcessor.bind(String name,
Object value)
Binds a value to a global variable.
|
QueryProcessor |
QueryProcessor.bind(String name,
Object value,
String type)
Binds a value with the specified type to a global variable.
|
void |
QueryContext.bind(String name,
Object val,
String type,
StaticContext sc)
Binds a value to a global variable.
|
QueryProcessor |
QueryProcessor.bind(String name,
Value value)
Binds an XQuery value to a global variable.
|
void |
QueryContext.bind(String name,
Value val,
StaticContext sc)
Binds a value to a global variable.
|
static IO |
QueryResources.checkPath(QueryInput input,
IO baseIO,
InputInfo info)
Returns a valid reference if a file is found in the specified path or the static base uri.
|
static byte[] |
QueryError.chop(Object value,
InputInfo ii)
Chops the specified value to a maximum size.
|
Value |
QueryResources.collection(InputInfo info)
Returns the default collection.
|
Value |
QueryResources.collection(QueryInput qi,
IO baseIO,
InputInfo info)
Evaluates
fn:collection() : opens an existing database collection, or creates
a new data reference. |
void |
QueryProcessor.compile()
Compiles the query.
|
void |
QueryContext.compile()
Compiles and optimizes the expression.
|
void |
Scope.compile(QueryContext qc)
Compiles the expression contained in this scope.
|
void |
MainModule.compile(QueryContext qc) |
QueryProcessor |
QueryProcessor.context(Object value)
Binds the context value.
|
QueryProcessor |
QueryProcessor.context(Object value,
String type)
Binds the context value with a specified type,
using the same rules as for
binding variables . |
void |
QueryContext.context(Object val,
String type,
StaticContext sc)
Binds the context value, using the same rules as for
binding variables . |
Data |
QueryResources.database(String name,
InputInfo info)
Opens a new database or returns a reference to an already opened database.
|
DBNode |
QueryResources.doc(QueryInput qi,
IO baseIO,
InputInfo info)
Evaluates
fn:doc() : opens an existing database document, or creates a new
database and node. |
Result |
QueryProcessor.execute()
Evaluates the specified query and returns the result.
|
static QueryException |
QueryError.funCastError(InputInfo ii,
Type type,
Object value)
Throws a type cast exception.
|
Serializer |
QueryProcessor.getSerializer(OutputStream os)
Returns a serializer for the given output stream.
|
QueryContext |
QueryContext.initDateTime()
Initializes the static date and time context of a query if not done yet.
|
Iter |
QueryProcessor.iter()
Returns a result iterator.
|
Iter |
QueryContext.iter()
Returns a result iterator.
|
Iter |
QueryContext.iter(Expr expr)
Evaluates the specified expression and returns an iterator.
|
void |
QueryParser.module(byte[] path,
byte[] uri)
Parses the specified module, checking function and variable references at the end.
|
QueryProcessor |
QueryProcessor.namespace(String prefix,
String uri)
Declares a namespace.
|
void |
QueryProcessor.parse()
Parses the query.
|
StaticScope |
QueryContext.parse(String query,
boolean library,
String path,
StaticContext sc)
Parses the specified query.
|
StaticScope |
QueryContext.parse(String query,
String path,
StaticContext sc)
Parses the specified query.
|
LibraryModule |
QueryParser.parseLibrary(boolean check)
Parses a library module.
|
LibraryModule |
QueryContext.parseLibrary(String query,
String path,
StaticContext sc)
Parses the specified module.
|
MainModule |
QueryParser.parseMain()
Parses a main module.
|
MainModule |
QueryContext.parseMain(String query,
String path,
StaticContext sc)
Parses the specified query.
|
void |
QueryContext.set(Var vr,
Value vl,
InputInfo ii)
Binds an expression to a local variable.
|
Value |
QueryProcessor.value()
Returns a result value.
|
Value |
QueryContext.value(Expr expr)
Evaluates the specified expression and returns a value.
|
Constructor and Description |
---|
QueryIOException(QueryException cause)
Default constructor.
|
QueryRTException(QueryException cause)
Constructor.
|
Constructor and Description |
---|
MainModule(StaticFunc sf,
Expr[] args)
Constructor for a function call.
|
QueryParser(String query,
String path,
QueryContext qc,
StaticContext sc)
Constructor.
|
QuerySuggest(String query,
QueryContext qc,
Data data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static Value[] |
Catch.values(QueryException ex)
Returns all error values.
|
Modifier and Type | Method and Description |
---|---|
Item |
ParseExpr.atomItem(QueryContext qc,
InputInfo ii) |
abstract Item |
Expr.atomItem(QueryContext qc,
InputInfo ii)
Evaluates the expression and returns zero or one atomized item, or an error.
|
Iter |
Expr.atomIter(QueryContext qc,
InputInfo ii)
Evaluates the expression and returns zero or one atomized item, or an error.
|
Value |
ParseExpr.atomValue(QueryContext qc,
InputInfo ii) |
abstract Value |
Expr.atomValue(QueryContext qc,
InputInfo ii)
Evaluates the expression and returns the atomized items.
|
Expr |
TypeCheck.check(Expr ex,
QueryContext qc,
VarScope scp)
Creates an expression that checks the given expression's return type.
|
protected Item |
ParseExpr.checkAtomic(Expr ex,
QueryContext qc,
Type type)
Checks if the specified expression yields an item of the specified atomic type.
|
protected Item |
ParseExpr.checkNoEmpty(Item it)
Checks if the specified item is no empty sequence.
|
protected Item |
ParseExpr.checkNoEmpty(Item it,
Type type)
Checks if the specified item is no empty sequence.
|
protected void |
ParseExpr.checkNoneUp(Expr... ex)
Ensures that none of the specified expressions performs an update.
|
protected void |
ParseExpr.checkNoUp(Expr expr)
Ensures that the specified expression performs no updates.
|
protected Item |
ParseExpr.checkType(Item it,
Type type)
Checks if the specified expression is an empty sequence; if yes, throws
an exception.
|
void |
TypeSwitch.checkUp() |
void |
Try.checkUp() |
void |
SwitchCase.checkUp() |
void |
Switch.checkUp() |
void |
Single.checkUp() |
void |
SimpleMap.checkUp() |
void |
Preds.checkUp() |
void |
List.checkUp() |
void |
If.checkUp() |
void |
Filter.checkUp() |
void |
Extension.checkUp() |
abstract void |
Expr.checkUp()
Checks if all updating expressions are correctly placed.
|
void |
Arr.checkUp() |
Expr |
Unary.compile(QueryContext qc,
VarScope scp) |
Expr |
TypeSwitch.compile(QueryContext qc,
VarScope scp) |
Expr |
TypeCheck.compile(QueryContext qc,
VarScope scp) |
TypeCase |
TypeCase.compile(QueryContext qc,
VarScope scp) |
Expr |
Try.compile(QueryContext qc,
VarScope scp) |
Expr |
Treat.compile(QueryContext qc,
VarScope scp) |
Expr |
Switch.compile(QueryContext qc,
VarScope scp) |
Expr |
Single.compile(QueryContext qc,
VarScope scp) |
Expr |
SimpleMap.compile(QueryContext qc,
VarScope scp) |
Expr |
Range.compile(QueryContext qc,
VarScope scp) |
Expr |
Quantifier.compile(QueryContext qc,
VarScope scp) |
Expr |
Preds.compile(QueryContext qc,
VarScope scp) |
Expr |
Or.compile(QueryContext qc,
VarScope scp) |
Expr |
Lookup.compile(QueryContext qc,
VarScope scp) |
Expr |
List.compile(QueryContext qc,
VarScope scp) |
Expr |
Instance.compile(QueryContext qc,
VarScope scp) |
Expr |
If.compile(QueryContext qc,
VarScope scp) |
Expr |
Filter.compile(QueryContext qc,
VarScope scp) |
Expr |
Extension.compile(QueryContext qc,
VarScope scp) |
abstract Expr |
Expr.compile(QueryContext qc,
VarScope scp)
Compiles and optimizes the expression, assigns types and cardinalities.
|
Expr |
CmpV.compile(QueryContext qc,
VarScope scp) |
Expr |
CmpN.compile(QueryContext qc,
VarScope scp) |
Expr |
CmpG.compile(QueryContext qc,
VarScope scp) |
Expr |
Castable.compile(QueryContext qc,
VarScope scp) |
Expr |
Cast.compile(QueryContext qc,
VarScope scp) |
Expr |
Arr.compile(QueryContext qc,
VarScope scp) |
Expr |
Arith.compile(QueryContext qc,
VarScope scp) |
Expr |
And.compile(QueryContext qc,
VarScope scp) |
protected Value |
ParseExpr.ctxValue(QueryContext qc)
Returns the current context value or throws an exception if the context value is not set.
|
Item |
ParseExpr.ebv(QueryContext qc,
InputInfo ii) |
abstract Item |
Expr.ebv(QueryContext qc,
InputInfo ii)
Checks if the effective boolean value can be computed for this expression:
If it yields an empty sequence,
Bln.FALSE will be returned. |
abstract Item |
Calc.ev(InputInfo ii,
Item it1,
Item it2)
Performs the calculation.
|
abstract boolean |
CmpV.OpV.eval(Item it1,
Item it2,
Collation coll,
StaticContext sc,
InputInfo ii)
Evaluates the expression.
|
protected NodeSeqBuilder |
Union.eval(Iter[] iter) |
protected NodeSeqBuilder |
InterSect.eval(Iter[] iter) |
protected NodeSeqBuilder |
Except.eval(Iter[] iter) |
boolean |
Or.indexAccessible(IndexInfo ii) |
boolean |
Expr.indexAccessible(IndexInfo ii)
Checks if an expression can be rewritten to an index access.
|
boolean |
CmpG.indexAccessible(IndexInfo ii) |
boolean |
And.indexAccessible(IndexInfo ii) |
Expr |
ValueAccess.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
TypeSwitch.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Try.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
SwitchCase.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Switch.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Single.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Simple.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
If.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Filter.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
abstract Expr |
Expr.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex)
Inlines an expression into this one, replacing all references to the given variable.
|
Expr |
Arr.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
protected static boolean |
Expr.inlineAll(QueryContext qc,
VarScope scp,
Expr[] arr,
Var var,
Expr ex)
Inlines the given expression into all elements of the given array.
|
Expr |
XQFunctionExpr.inlineExpr(Expr[] exprs,
QueryContext qc,
VarScope scp,
InputInfo ii)
Tries to inline this function with the given argument expressions.
|
Item |
XQFunction.invItem(QueryContext qc,
InputInfo ii,
Value... args)
Internally invokes this function with the given arguments.
|
Item |
XQFunction.invokeItem(QueryContext qc,
InputInfo ii,
Value... args)
Invokes this function with the given arguments.
|
Value |
XQFunction.invokeValue(QueryContext qc,
InputInfo ii,
Value... args)
Invokes this function with the given arguments.
|
Value |
XQFunction.invValue(QueryContext qc,
InputInfo ii,
Value... args)
Internally invokes this function with the given arguments.
|
Item |
Unary.item(QueryContext qc,
InputInfo ii) |
Item |
Switch.item(QueryContext qc,
InputInfo ii) |
Bln |
Quantifier.item(QueryContext qc,
InputInfo ii) |
Bln |
Pos.item(QueryContext qc,
InputInfo ii) |
Item |
ParseExpr.item(QueryContext qc,
InputInfo ii) |
Item |
Or.item(QueryContext qc,
InputInfo ii) |
Bln |
Instance.item(QueryContext qc,
InputInfo ii) |
Item |
If.item(QueryContext qc,
InputInfo ii) |
abstract Item |
Expr.item(QueryContext qc,
InputInfo ii)
Evaluates the expression and returns the resulting item,
or a
null reference if the expression yields an empty sequence. |
Item |
Context.item(QueryContext qc,
InputInfo ii) |
Bln |
CmpV.item(QueryContext qc,
InputInfo ii) |
Bln |
CmpR.item(QueryContext qc,
InputInfo ii) |
Bln |
CmpN.item(QueryContext qc,
InputInfo ii) |
Bln |
CmpG.item(QueryContext qc,
InputInfo ii) |
Bln |
Castable.item(QueryContext qc,
InputInfo ii) |
Item |
Arith.item(QueryContext qc,
InputInfo ii) |
Item |
And.item(QueryContext qc,
InputInfo ii) |
NodeIter |
ValueAccess.iter(QueryContext qc) |
Iter |
TypeSwitch.iter(QueryContext qc) |
Iter |
TypeCheck.iter(QueryContext qc) |
Iter |
Try.iter(QueryContext qc) |
Iter |
Treat.iter(QueryContext qc) |
Iter |
Switch.iter(QueryContext qc) |
Iter |
Root.iter(QueryContext qc) |
Iter |
Range.iter(QueryContext qc) |
Iter |
ParseExpr.iter(QueryContext qc) |
ValueIter |
Lookup.iter(QueryContext qc) |
abstract NodeIter |
IndexAccess.iter(QueryContext qc) |
Iter |
If.iter(QueryContext qc) |
ValueIter |
Extension.iter(QueryContext qc) |
abstract Iter |
Expr.iter(QueryContext qc)
Evaluates the expression and returns an iterator on the resulting items.
|
Iter |
Context.iter(QueryContext qc) |
Iter |
Cast.iter(QueryContext qc) |
Expr |
Preds.merge(Expr root,
QueryContext qc,
VarScope scp)
Merges a single predicate with the root expression and returns the resulting expression,
or returns a self reference if the expression cannot be merged.
|
Expr |
Union.optimize(QueryContext qc,
VarScope scp) |
Expr |
Unary.optimize(QueryContext qc,
VarScope scp) |
Expr |
TypeCheck.optimize(QueryContext qc,
VarScope scp) |
Expr |
Treat.optimize(QueryContext qc,
VarScope scp) |
Expr |
Switch.optimize(QueryContext qc,
VarScope scp) |
Expr |
SimpleMap.optimize(QueryContext qc,
VarScope scp) |
Expr |
Range.optimize(QueryContext qc,
VarScope scp) |
Expr |
Quantifier.optimize(QueryContext qc,
VarScope scp) |
Expr |
Preds.optimize(QueryContext qc,
VarScope scp) |
Expr |
Or.optimize(QueryContext qc,
VarScope scp) |
Expr |
Lookup.optimize(QueryContext qc,
VarScope scp) |
Expr |
List.optimize(QueryContext qc,
VarScope scp) |
Expr |
InterSect.optimize(QueryContext qc,
VarScope scp) |
Expr |
If.optimize(QueryContext qc,
VarScope scp) |
Expr |
Filter.optimize(QueryContext qc,
VarScope scp) |
Expr |
Expr.optimize(QueryContext qc,
VarScope scp)
Optimizes an already compiled expression without recompiling its sub-expressions.
|
Expr |
Except.optimize(QueryContext qc,
VarScope scp) |
Expr |
CmpV.optimize(QueryContext qc,
VarScope scp) |
Expr |
CmpR.optimize(QueryContext qc,
VarScope scp) |
Expr |
CmpN.optimize(QueryContext qc,
VarScope scp) |
Expr |
CmpG.optimize(QueryContext qc,
VarScope scp) |
Expr |
Castable.optimize(QueryContext qc,
VarScope scp) |
Expr |
Cast.optimize(QueryContext qc,
VarScope scp) |
Expr |
Arith.optimize(QueryContext qc,
VarScope scp) |
Expr |
And.optimize(QueryContext qc,
VarScope scp) |
Expr |
Filter.optimizeEbv(QueryContext qc,
VarScope scp) |
Expr |
Expr.optimizeEbv(QueryContext qc,
VarScope scp)
|
protected boolean |
Preds.preds(Item item,
QueryContext qc)
Checks if the predicates are successful for the specified item.
|
protected Expr |
ParseExpr.preEval(QueryContext qc)
Pre-evaluates the specified expression.
|
Item |
ParseExpr.test(QueryContext qc,
InputInfo ii) |
abstract Item |
Expr.test(QueryContext qc,
InputInfo ii)
Performs a predicate test and returns the item the if test was successful.
|
protected Array |
ParseExpr.toArray(Expr e,
QueryContext qc)
Checks if the specified expression yields an array.
|
protected Array |
ParseExpr.toArray(Item it)
Assures that the specified item item is an array.
|
protected Item |
ParseExpr.toAtomItem(Expr ex,
QueryContext qc)
Checks if the evaluated expression yields a non-empty item.
|
protected B64 |
ParseExpr.toB64(Expr ex,
QueryContext qc,
boolean empty)
Checks if the specified expression yields a Base64 item.
|
protected B64 |
ParseExpr.toB64(Item it,
boolean empty)
Checks if the specified item is a Base64 item.
|
protected Bin |
ParseExpr.toBin(Expr ex,
QueryContext qc)
Checks if the specified expression yields a binary item.
|
protected Bin |
ParseExpr.toBin(Item it)
Checks if the specified item is a binary item.
|
protected boolean |
ParseExpr.toBoolean(Expr ex,
QueryContext qc)
Checks if the specified expression yields a boolean.
|
protected boolean |
ParseExpr.toBoolean(Item it)
Checks if the specified item is a boolean.
|
protected byte[] |
ParseExpr.toBytes(Expr ex,
QueryContext qc)
Checks if the specified expression yields a string or binary item.
|
protected byte[] |
ParseExpr.toBytes(Item it)
Checks if the specified item is a string or binary item.
|
protected double |
ParseExpr.toDouble(Expr ex,
QueryContext qc)
Checks if the specified expression yields a double.
|
protected double |
ParseExpr.toDouble(Item it)
Checks if the specified item is a double.
|
protected ANode |
ParseExpr.toElem(Expr ex,
QueryContext qc)
Checks if the specified expression yields an element.
|
protected ANode |
ParseExpr.toEmptyNode(Expr ex,
QueryContext qc)
Checks if the specified expression yields a node or
null . |
protected byte[] |
ParseExpr.toEmptyToken(Expr ex,
QueryContext qc)
Checks if the specified expression yields a string or an empty sequence.
|
protected float |
ParseExpr.toFloat(Expr ex,
QueryContext qc)
Checks if the specified expression yields a float.
|
protected FItem |
ParseExpr.toFunc(Expr ex,
QueryContext qc)
Checks if the specified expression yields a function.
|
protected Item |
ParseExpr.toItem(Expr ex,
QueryContext qc)
Checks if the evaluated expression yields a non-empty item.
|
protected long |
ParseExpr.toLong(Expr ex,
QueryContext qc)
Checks if the specified expression yields an integer.
|
protected long |
ParseExpr.toLong(Item it)
Checks if the specified item is a number.
|
protected Map |
ParseExpr.toMap(Expr ex,
QueryContext qc)
Checks if the specified expression yields a map.
|
protected Map |
ParseExpr.toMap(Item it)
Checks if the specified item is a map.
|
protected ANode |
ParseExpr.toNode(Expr ex,
QueryContext qc)
Checks if the specified expression yields a node.
|
protected ANode |
ParseExpr.toNode(Item it)
Checks if the specified non-item is a node.
|
protected ANum |
ParseExpr.toNumber(Expr ex,
QueryContext qc)
Checks if the specified expression yields a number or
null . |
protected QNm |
ParseExpr.toQNm(Expr ex,
QueryContext qc,
boolean empty)
Checks if the specified expression yields a QName.
|
protected QNm |
ParseExpr.toQNm(Item it,
boolean empty)
Checks if the specified item is a QName.
|
protected byte[] |
ParseExpr.toToken(Expr ex,
QueryContext qc)
Checks if the specified expression yields a string.
|
protected byte[] |
ParseExpr.toToken(Item it)
Checks if the specified non-empty item is a string.
|
Expr |
If.typeCheck(TypeCheck tc,
QueryContext qc,
VarScope scp) |
protected Expr |
Expr.typeCheck(TypeCheck tc,
QueryContext qc,
VarScope scp)
Tries to push the given type check inside this expression.
|
Value |
TypeCheck.value(QueryContext qc) |
Value |
Try.value(QueryContext qc) |
Value |
Treat.value(QueryContext qc) |
Value |
Switch.value(QueryContext qc) |
Value |
Range.value(QueryContext qc) |
Value |
ParseExpr.value(QueryContext qc) |
Value |
List.value(QueryContext qc) |
Value |
If.value(QueryContext qc) |
Value |
Extension.value(QueryContext qc) |
abstract Value |
Expr.value(QueryContext qc)
Evaluates the expression and returns the resulting value.
|
Value |
Context.value(QueryContext qc) |
Value |
Cast.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Constr |
Constr.add(QueryContext qc,
Expr... expr)
Constructs child and attribute nodes.
|
Expr |
CTxt.compile(QueryContext qc,
VarScope scp) |
Expr |
CMap.compile(QueryContext qc,
VarScope scp) |
CElem |
CElem.compile(QueryContext qc,
VarScope scp) |
Expr |
CArray.compile(QueryContext qc,
VarScope scp) |
FTxt |
CTxt.item(QueryContext qc,
InputInfo ii) |
FPI |
CPI.item(QueryContext qc,
InputInfo ii) |
FNames |
CNSpace.item(QueryContext qc,
InputInfo ii) |
abstract ANode |
CNode.item(QueryContext qc,
InputInfo ii) |
Item |
CMap.item(QueryContext qc,
InputInfo ii) |
FElem |
CElem.item(QueryContext qc,
InputInfo ii) |
FDoc |
CDoc.item(QueryContext qc,
InputInfo ii) |
FComm |
CComm.item(QueryContext qc,
InputInfo ii) |
FAttr |
CAttr.item(QueryContext qc,
InputInfo ii) |
Array |
CArray.item(QueryContext qc,
InputInfo ii) |
Constructor and Description |
---|
FTMildNot(InputInfo info,
FTExpr expr1,
FTExpr expr2)
Constructor.
|
Constructor and Description |
---|
Window(InputInfo info,
boolean sliding,
Var var,
Expr expr,
Window.Condition start,
boolean only,
Window.Condition end)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Path.checkUp() |
Expr |
Step.compile(QueryContext qc,
VarScope scp) |
Expr |
Path.compile(QueryContext qc,
VarScope scp) |
Expr |
Path.index(QueryContext qc,
Value rt)
Returns an equivalent expression which accesses an index.
|
Expr |
Step.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
Path.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Iter |
MixedPath.iter(QueryContext qc) |
Expr |
Step.optimize(QueryContext qc,
VarScope scp) |
Expr |
Path.optimize(QueryContext qc,
VarScope scp) |
Expr |
Path.optimizeEbv(QueryContext qc,
VarScope scp) |
Modifier and Type | Method and Description |
---|---|
QueryException |
StaticFuncs.similarError(QNm name,
InputInfo ii)
Throws an exception if the name of a function is similar to the specified function name.
|
Modifier and Type | Method and Description |
---|---|
protected Expr |
StandardFunc.arg(int index,
QueryContext qc)
Returns the specified argument, or the context value if it does not exist.
|
protected void |
StandardFunc.cache(Iter iter,
ValueBuilder vb,
QueryContext qc)
Caches and materializes all items of the specified iterator.
|
void |
StaticFuncs.check(QueryContext qc)
Checks if all functions have been correctly declared, and initializes all function calls.
|
protected void |
StandardFunc.checkAdmin(QueryContext qc)
Checks if the current user has create permissions.
|
protected FItem |
StandardFunc.checkArity(Expr e,
int a,
QueryContext qc)
Casts and checks the function item for its arity.
|
protected void |
StandardFunc.checkCreate(QueryContext qc)
Checks if the current user has create permissions.
|
protected Data |
StandardFunc.checkData(QueryContext qc)
Returns a database instance for the first string argument of the function.
|
protected IO |
StandardFunc.checkPath(Expr path,
QueryContext qc)
Returns a valid reference if a file is found in the specified path or the static base uri.
|
void |
StaticFuncs.checkUp()
Checks if the functions perform updates.
|
void |
PartFunc.checkUp() |
void |
DynFuncCall.checkUp() |
void |
Closure.checkUp() |
void |
FuncLit.compile(QueryContext qc) |
void |
Closure.compile(QueryContext qc) |
Expr |
StaticFuncCall.compile(QueryContext qc,
VarScope scp) |
Expr |
StandardFunc.compile(QueryContext qc,
VarScope scp) |
Expr |
PartFunc.compile(QueryContext qc,
VarScope scp) |
Expr |
FuncLit.compile(QueryContext qc,
VarScope o) |
Expr |
DynFuncCall.compile(QueryContext qc,
VarScope scp) |
Expr |
Closure.compile(QueryContext qc,
VarScope scp) |
protected long |
StandardFunc.dateTimeToMs(Expr ex,
QueryContext qc)
Converts the specified dateTime to milliseconds.
|
StaticFunc |
StaticFuncs.declare(AnnList anns,
QNm nm,
Var[] args,
SeqType type,
Expr expr,
StaticContext sc,
VarScope scope,
String doc,
InputInfo ii)
Declares a new user-defined function.
|
protected abstract Object |
JavaMapping.eval(Value[] args,
QueryContext qc)
Returns the result of the evaluated Java function.
|
static TypedFunc |
Functions.get(QNm name,
Expr[] args,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Returns a function with the specified name and number of arguments,
or
null . |
StandardFunc |
Functions.get(QNm name,
Expr[] args,
StaticContext sc,
InputInfo ii)
Returns the specified function.
|
StaticFunc |
StaticFuncs.get(QNm name,
int arity,
InputInfo ii,
boolean error)
Returns the function with the given name and arity.
|
static Expr |
Functions.getLiteral(QNm name,
int arity,
QueryContext qc,
StaticContext sc,
InputInfo ii,
boolean runtime)
Gets a function literal for a known function.
|
static FuncItem |
Functions.getUser(StaticFunc sf,
QueryContext qc,
StaticContext sc,
InputInfo info)
Returns a function item for a user-defined function.
|
StaticFuncCall |
StaticFuncCall.init(StaticFunc sf)
Initializes the function and checks for visibility.
|
Expr |
Closure.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Expr |
StaticFunc.inlineExpr(Expr[] exprs,
QueryContext qc,
VarScope scp,
InputInfo ii) |
Expr |
Closure.inlineExpr(Expr[] exprs,
QueryContext qc,
VarScope scp,
InputInfo ii) |
Item |
StaticFunc.invItem(QueryContext qc,
InputInfo ii,
Value... arg) |
Item |
StaticFunc.invokeItem(QueryContext qc,
InputInfo ii,
Value... arg) |
Value |
StaticFunc.invokeValue(QueryContext qc,
InputInfo ii,
Value... arg) |
Value |
StaticFunc.invValue(QueryContext qc,
InputInfo ii,
Value... arg) |
Item |
PartFunc.item(QueryContext qc,
InputInfo ii) |
Item |
FuncCall.item(QueryContext qc,
InputInfo ii) |
FuncItem |
Closure.item(QueryContext qc,
InputInfo ii) |
static Item |
FuncCall.item(XQFunction fun,
Value[] arg,
QueryContext qc,
InputInfo ii)
Calls the given function with the given arguments, returning zero or one item.
|
Iter |
JavaMapping.iter(QueryContext qc) |
Iter |
FuncCall.iter(QueryContext qc) |
ValueIter |
Closure.iter(QueryContext qc) |
protected Expr |
StandardFunc.opt(QueryContext qc,
VarScope scp)
Performs function specific optimizations.
|
Expr |
StandardFunc.optimize(QueryContext qc,
VarScope scp) |
Expr |
PartFunc.optimize(QueryContext qc,
VarScope scp) |
Expr |
DynFuncCall.optimize(QueryContext qc,
VarScope scp) |
Expr |
Closure.optimize(QueryContext qc,
VarScope scp) |
protected byte[] |
StandardFunc.serialize(Iter ir,
SerializerOptions opts,
QueryError err)
Serializes the data from the specified iterator.
|
static SerializerOptions |
FuncOptions.serializer(Item it,
InputInfo info)
Converts the specified output parameter item to serialization parameters.
|
static SerializerOptions |
FuncOptions.serializer(Item it,
SerializerOptions sopts,
InputInfo info)
Converts the specified output parameter item to serialization parameters.
|
protected HashMap<String,Value> |
StandardFunc.toBindings(int i,
QueryContext qc)
Returns all keys and values of the specified binding argument.
|
protected Collation |
StandardFunc.toCollation(int i,
QueryContext qc)
Checks if the specified collation is supported.
|
protected DBNode |
StandardFunc.toDBNode(Item it)
Checks if the specified expression is a database node.
|
protected String |
StandardFunc.toEncoding(int i,
QueryError err,
QueryContext qc)
Returns a normalized encoding representation.
|
protected <E extends Options> |
StandardFunc.toOptions(int i,
QNm qnm,
E opts,
QueryContext qc)
Parses the options at the specified index.
|
protected Path |
StandardFunc.toPath(int i,
QueryContext qc)
Converts the specified argument to a file path.
|
static Value |
JavaMapping.toValue(Object obj,
QueryContext qc,
StaticContext sc)
Converts the specified result to an XQuery value.
|
static Closure |
Closure.unknownLit(QNm name,
int arity,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Creates a function literal for a function that was not yet encountered while parsing.
|
Value |
PartFunc.value(QueryContext qc) |
Value |
JavaMapping.value(QueryContext qc) |
Value |
FuncCall.value(QueryContext qc) |
Value |
Closure.value(QueryContext qc) |
static Value |
FuncCall.value(XQFunction fun,
Value[] arg,
QueryContext qc,
InputInfo ii)
Calls the given function with the given arguments, returning zero or more items.
|
Modifier and Type | Method and Description |
---|---|
Item |
AdminWriteLog.item(QueryContext qc,
InputInfo ii) |
Iter |
AdminSessions.iter(QueryContext qc) |
Iter |
AdminLogs.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
ArchiveWrite.item(QueryContext qc,
InputInfo ii) |
Item |
ArchiveUpdate.item(QueryContext qc,
InputInfo ii) |
Item |
ArchiveOptions.item(QueryContext qc,
InputInfo ii) |
Item |
ArchiveDelete.item(QueryContext qc,
InputInfo ii) |
Item |
ArchiveCreate.item(QueryContext qc,
InputInfo ii) |
Iter |
ArchiveExtractText.iter(QueryContext qc) |
Iter |
ArchiveExtractBinary.iter(QueryContext qc) |
Iter |
ArchiveEntries.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
BaseXLastFrom.item(QueryContext qc,
InputInfo ii) |
Item |
BaseXItemAt.item(QueryContext qc,
InputInfo ii) |
Item |
BaseXDeepEqual.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
ClientInfo.item(QueryContext qc,
InputInfo ii) |
Item |
ClientExecute.item(QueryContext qc,
InputInfo ii) |
Item |
ClientConnect.item(QueryContext qc,
InputInfo ii) |
Item |
ClientClose.item(QueryContext qc,
InputInfo ii) |
Iter |
ClientQuery.iter(QueryContext qc) |
Value |
ClientQuery.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
ConvertStringToHex.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertStringToBase64.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertIntegerToDayTime.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertIntegerToDateTime.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertIntegerToBase.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertIntegerFromBase.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertDayTimeToInteger.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertDateTimeToInteger.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertBytesToHex.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertBytesToBase64.item(QueryContext qc,
InputInfo ii) |
Item |
ConvertBinaryToString.item(QueryContext qc,
InputInfo ii) |
Iter |
ConvertBinaryToBytes.iter(QueryContext qc) |
Value |
ConvertBinaryToBytes.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
CryptoValidateSignature.item(QueryContext qc,
InputInfo ii) |
Item |
CryptoHmac.item(QueryContext qc,
InputInfo ii) |
Item |
CryptoGenerateSignature.item(QueryContext qc,
InputInfo ii) |
Item |
CryptoEncrypt.item(QueryContext qc,
InputInfo ii) |
Item |
CryptoDecrypt.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
CsvSerialize.item(QueryContext qc,
InputInfo ii) |
Item |
CsvParse.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
FetchXml.item(QueryContext qc,
InputInfo ii) |
Item |
FetchText.item(QueryContext qc,
InputInfo ii) |
Item |
FetchContentType.item(QueryContext qc,
InputInfo ii) |
Item |
FetchBinary.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
FileWriteTextLines.item(QueryContext qc) |
Item |
FileWriteText.item(QueryContext qc) |
Item |
FileWriteBinary.item(QueryContext qc) |
Item |
FileWrite.item(QueryContext qc) |
Item |
FileSize.item(QueryContext qc) |
Item |
FileResolvePath.item(QueryContext qc) |
Item |
FileReadText.item(QueryContext qc) |
Item |
FileReadBinary.item(QueryContext qc) |
Item |
FilePathToUri.item(QueryContext qc) |
Item |
FilePathToNative.item(QueryContext qc) |
Item |
FileParent.item(QueryContext qc) |
Item |
FileName.item(QueryContext qc) |
Item |
FileMove.item(QueryContext qc) |
Item |
FileLastModified.item(QueryContext qc) |
Item |
FileIsFile.item(QueryContext qc) |
Item |
FileIsDir.item(QueryContext qc) |
Item |
FileExists.item(QueryContext qc) |
Item |
FileDelete.item(QueryContext qc) |
Item |
FileCreateTempFile.item(QueryContext qc) |
Item |
FileCreateTempDir.item(QueryContext qc) |
Item |
FileCreateDir.item(QueryContext qc) |
Item |
FileCopy.item(QueryContext qc) |
Item |
FileAppendTextLines.item(QueryContext qc) |
Item |
FileAppendText.item(QueryContext qc) |
Item |
FileAppendBinary.item(QueryContext qc) |
Item |
FileAppend.item(QueryContext qc) |
Iter |
FileReadTextLines.iter(QueryContext qc) |
Iter |
FileList.iter(QueryContext qc) |
Iter |
FileChildren.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
static StandardFunc |
FnError.get(QueryException ex,
SeqType tp)
Creates an error function instance.
|
Modifier and Type | Method and Description |
---|---|
Str |
FtNormalize.item(QueryContext qc,
InputInfo ii) |
Item |
FtCount.item(QueryContext qc,
InputInfo ii) |
Item |
FtContains.item(QueryContext qc,
InputInfo ii) |
Iter |
FtTokens.iter(QueryContext qc) |
Iter |
FtTokenize.iter(QueryContext qc) |
Iter |
FtSearch.iter(QueryContext qc) |
Iter |
FtScore.iter(QueryContext qc) |
Iter |
FtMark.iter(QueryContext qc) |
Iter |
FtExtract.iter(QueryContext qc) |
protected TokenList |
FtTokenize.tokens(QueryContext qc,
boolean all)
Returns all tokens.
|
Value |
FtTokenize.value(QueryContext qc) |
Value |
FtScore.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
HashSha256.item(QueryContext qc,
InputInfo ii) |
Item |
HashSha1.item(QueryContext qc,
InputInfo ii) |
Item |
HashMd5.item(QueryContext qc,
InputInfo ii) |
Item |
HashHash.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
HofId.item(QueryContext qc,
InputInfo ii) |
Iter |
HofUntil.iter(QueryContext qc) |
Iter |
HofTopKWith.iter(QueryContext qc) |
Iter |
HofTopKBy.iter(QueryContext qc) |
Iter |
HofSortWith.iter(QueryContext qc) |
Iter |
HofId.iter(QueryContext qc) |
Iter |
HofFoldLeft1.iter(QueryContext qc) |
protected Expr |
HofId.opt(QueryContext qc,
VarScope scp) |
protected Expr |
HofFoldLeft1.opt(QueryContext qc,
VarScope scp) |
Value |
HofUntil.value(QueryContext qc) |
Value |
HofTopKWith.value(QueryContext qc) |
Value |
HofTopKBy.value(QueryContext qc) |
Value |
HofSortWith.value(QueryContext qc) |
Value |
HofId.value(QueryContext qc) |
Value |
HofFoldLeft1.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
HtmlParser.item(QueryContext qc,
InputInfo ii) |
Item |
HtmlParse.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
ValueIter |
HttpResponse.getResponse(HttpURLConnection conn,
boolean body,
String mtype)
Constructs http:response element and reads HTTP response content.
|
ValueIter |
HttpSendRequest.iter(QueryContext qc) |
HashMap<String,Value> |
HttpPayload.multiForm(String ext)
Returns a map with multipart form data.
|
HttpRequest |
HttpRequestParser.parse(ANode request,
ValueBuilder bodies)
Parses an
|
static Value |
HttpPayload.value(IO in,
MainOptions opts,
String ctype,
String ext)
Returns an XQuery value for the specified content type.
|
Modifier and Type | Method and Description |
---|---|
static Iter |
IndexFn.entries(Data data,
IndexEntries entries,
StandardFunc call)
Returns all entries of the specified value index.
|
Item |
IndexFacets.item(QueryContext qc,
InputInfo ii) |
Iter |
IndexTexts.iter(QueryContext qc) |
Iter |
IndexElementNames.iter(QueryContext qc) |
Iter |
IndexAttributes.iter(QueryContext qc) |
Iter |
IndexAttributeNames.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
InspectXqdoc.item(QueryContext qc,
InputInfo ii) |
Item |
InspectModule.item(QueryContext qc,
InputInfo ii) |
Item |
InspectFunction.item(QueryContext qc,
InputInfo ii) |
Item |
InspectContext.item(QueryContext qc,
InputInfo ii) |
Iter |
InspectFunctions.iter(QueryContext qc) |
protected Expr |
InspectFunctions.opt(QueryContext qc,
VarScope scp) |
abstract FElem |
Inspect.parse(IO io)
Parses a module and returns an inspection element.
|
Modifier and Type | Method and Description |
---|---|
Item |
JsonSerialize.item(QueryContext qc,
InputInfo ii) |
Item |
JsonParse.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
MapSize.item(QueryContext qc,
InputInfo ii) |
Item |
MapSerialize.item(QueryContext qc,
InputInfo ii) |
Item |
MapRemove.item(QueryContext qc,
InputInfo ii) |
Item |
MapPut.item(QueryContext qc,
InputInfo ii) |
Item |
MapMerge.item(QueryContext qc,
InputInfo ii) |
Item |
MapEntry.item(QueryContext qc,
InputInfo ii) |
Item |
MapContains.item(QueryContext qc,
InputInfo ii) |
Iter |
MapKeys.iter(QueryContext qc) |
Iter |
MapGet.iter(QueryContext qc) |
Iter |
MapForEach.iter(QueryContext qc) |
Value |
MapKeys.value(QueryContext qc) |
Value |
MapGet.value(QueryContext qc) |
Value |
MapForEach.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
OutTab.item(QueryContext qc,
InputInfo ii) |
Item |
OutNl.item(QueryContext qc,
InputInfo ii) |
Item |
OutFormat.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
ProcSystem.item(QueryContext qc,
InputInfo ii) |
Item |
ProcExecute.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
ProfVoid.item(QueryContext qc,
InputInfo ii) |
Item |
ProfSleep.item(QueryContext qc,
InputInfo ii) |
Item |
ProfHuman.item(QueryContext qc,
InputInfo ii) |
Item |
ProfDump.item(QueryContext qc,
InputInfo ii) |
Item |
ProfCurrentNs.item(QueryContext qc,
InputInfo ii) |
Item |
ProfCurrentMs.item(QueryContext qc,
InputInfo ii) |
Iter |
ProfTime.iter(QueryContext qc) |
Iter |
ProfMem.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
RandomUuid.item(QueryContext qc,
InputInfo ii) |
Item |
RandomInteger.item(QueryContext qc,
InputInfo ii) |
Item |
RandomDouble.item(QueryContext qc,
InputInfo ii) |
Iter |
RandomSeededInteger.iter(QueryContext qc) |
Iter |
RandomSeededDouble.iter(QueryContext qc) |
Iter |
RandomGaussian.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
RepoInstall.item(QueryContext qc,
InputInfo ii) |
Item |
RepoDelete.item(QueryContext qc,
InputInfo ii) |
Iter |
RepoList.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
SqlRollback.item(QueryContext qc,
InputInfo ii) |
Item |
SqlPrepare.item(QueryContext qc,
InputInfo ii) |
Item |
SqlInit.item(QueryContext qc,
InputInfo ii) |
Item |
SqlConnect.item(QueryContext qc,
InputInfo ii) |
Item |
SqlCommit.item(QueryContext qc,
InputInfo ii) |
Item |
SqlClose.item(QueryContext qc,
InputInfo ii) |
Iter |
SqlExecutePrepared.iter(QueryContext qc) |
Iter |
SqlExecute.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
StreamIsStreamable.item(QueryContext qc,
InputInfo ii) |
Iter |
StreamMaterialize.iter(QueryContext qc) |
Value |
StreamMaterialize.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
UnitAssertEquals.item(QueryContext qc,
InputInfo ii) |
Item |
UnitAssert.item(QueryContext qc,
InputInfo ii) |
Iter |
UnitFail.iter(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
UserPassword.item(QueryContext qc,
InputInfo ii) |
Item |
UserGrant.item(QueryContext qc,
InputInfo ii) |
Item |
UserExists.item(QueryContext qc,
InputInfo ii) |
Item |
UserDrop.item(QueryContext qc,
InputInfo ii) |
Item |
UserCreate.item(QueryContext qc,
InputInfo ii) |
Item |
UserAlter.item(QueryContext qc,
InputInfo ii) |
Iter |
UserListDetails.iter(QueryContext qc) |
Iter |
UserList.iter(QueryContext qc) |
Value |
UserListDetails.value(QueryContext qc) |
Value |
UserList.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
ValidateXsd.item(QueryContext qc,
InputInfo ii) |
Item |
ValidateDtd.item(QueryContext qc,
InputInfo ii) |
Iter |
ValidateXsdInfo.iter(QueryContext qc) |
Iter |
ValidateXsd.iter(QueryContext qc) |
Iter |
ValidateDtdInfo.iter(QueryContext qc) |
Iter |
ValidateDtd.iter(QueryContext qc) |
Value |
ValidateXsdInfo.value(QueryContext qc) |
Value |
ValidateXsd.value(QueryContext qc) |
Value |
ValidateDtdInfo.value(QueryContext qc) |
Value |
ValidateDtd.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
FElem |
XQueryParse.item(QueryContext qc,
InputInfo ii) |
Iter |
XQueryUpdate.iter(QueryContext qc) |
Iter |
XQueryType.iter(QueryContext qc) |
Iter |
XQueryInvoke.iter(QueryContext qc) |
Iter |
XQueryEval.iter(QueryContext qc) |
Value |
XQueryType.value(QueryContext qc) |
Value |
XQueryEval.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
Item |
XsltVersion.item(QueryContext qc,
InputInfo ii) |
Item |
XsltTransformText.item(QueryContext qc,
InputInfo ii) |
Item |
XsltTransform.item(QueryContext qc,
InputInfo ii) |
Item |
XsltProcessor.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
ZipZipFile.item(QueryContext qc,
InputInfo ii) |
Item |
ZipXmlEntry.item(QueryContext qc,
InputInfo ii) |
Item |
ZipUpdateEntries.item(QueryContext qc,
InputInfo ii) |
Item |
ZipTextEntry.item(QueryContext qc,
InputInfo ii) |
Item |
ZipHtmlEntry.item(QueryContext qc,
InputInfo ii) |
Item |
ZipEntries.item(QueryContext qc,
InputInfo ii) |
Item |
ZipBinaryEntry.item(QueryContext qc,
InputInfo ii) |
Modifier and Type | Method and Description |
---|---|
Item |
Iter.get(long i)
Returns the specified item, or an arbitrary item if the index is invalid.
|
Item |
AtomIter.get(long i) |
abstract ANode |
NodeIter.next() |
abstract Item |
Iter.next()
Returns the next item or
null if no other items are found. |
abstract FTNode |
FTIter.next() |
Item |
AtomIter.next() |
Value |
Iter.value()
Returns a value with all iterated items.
|
Modifier and Type | Method and Description |
---|---|
void |
Updates.add(Update up,
QueryContext qc)
Adds an update primitive to the current context modifier.
|
void |
Updates.apply(QueryContext qc)
Executes all updates.
|
HashSet<Data> |
Updates.prepare(QueryContext qc)
Prepares update operations.
|
Modifier and Type | Method and Description |
---|---|
void |
Transform.checkUp() |
void |
Modify.checkUp() |
Expr |
Transform.compile(QueryContext qc,
VarScope scp) |
Expr |
Modify.compile(QueryContext qc,
VarScope scp) |
Expr |
Transform.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
Item |
Replace.item(QueryContext qc,
InputInfo ii) |
Item |
Rename.item(QueryContext qc,
InputInfo ii) |
Item |
Insert.item(QueryContext qc,
InputInfo ii) |
Item |
Delete.item(QueryContext qc,
InputInfo ii) |
ValueIter |
Transform.iter(QueryContext qc) |
ValueIter |
Modify.iter(QueryContext qc) |
Value |
Transform.value(QueryContext qc) |
Value |
Modify.value(QueryContext qc) |
Modifier and Type | Method and Description |
---|---|
void |
DBNew.addDocs(MemData md,
String name,
DBOptions options)
Inserts all documents to be added to a temporary database.
|
void |
DBNew.addDocs(MemData dt,
String name,
MainOptions options)
Inserts all documents to be added to a temporary database.
|
void |
UserUpdate.merge(Update update) |
abstract void |
Update.merge(Update update)
Merges two update operations pointing to the same target.
|
Constructor and Description |
---|
DBOptions(Options options,
List<Option<?>> supported,
InputInfo info)
Constructor.
|
DBOptions(Options options,
Option<?>[] supported,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
Put.apply() |
abstract void |
DBUpdate.apply()
Applies this operation.
|
void |
DBStore.apply() |
void |
DBOptimize.apply() |
abstract void |
DBUpdate.merge(Update update) |
void |
DBRename.merge(Update update) |
abstract void |
DBUpdate.prepare(MemData tmp)
Prepares this operation.
|
void |
DBAdd.prepare(MemData tmp) |
Constructor and Description |
---|
DBAdd(Data data,
NewInput input,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
DBOptimize(Data data,
boolean all,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
NameUpdate.apply()
Applies this operation.
|
void |
DBRestore.apply() |
void |
DBDrop.apply() |
void |
DBCreate.apply() |
void |
DBCopy.apply() |
void |
DBAlter.apply() |
void |
BackupDrop.apply() |
void |
BackupCreate.apply() |
void |
NameUpdate.merge(Update update) |
void |
BackupDrop.merge(Update update) |
abstract void |
NameUpdate.prepare()
Prepares this operation.
|
void |
DBRestore.prepare() |
void |
DBCreate.prepare() |
void |
DBCopy.prepare() |
void |
DBAlter.prepare() |
void |
BackupCreate.prepare() |
Constructor and Description |
---|
DBCreate(String name,
List<NewInput> input,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ReplaceValue.merge(Update update) |
void |
ReplaceNode.merge(Update update) |
void |
ReplaceDoc.merge(Update update) |
void |
RenameNode.merge(Update update) |
abstract void |
NodeUpdate.merge(Update update)
Merges two update primitives, as they have the same target node.
|
void |
ReplaceDoc.prepare(MemData tmp) |
abstract void |
NodeUpdate.prepare(MemData tmp)
Prepares this update primitive before execution.
|
Constructor and Description |
---|
ReplaceDoc(int pre,
Data data,
NewInput input,
Options opts,
QueryContext qc,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
NSContext.add(byte[] pref,
byte[] uri,
InputInfo ii)
Validates and adds the specified namespace at parsing time.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CollationItemSet.add(Item item,
InputInfo ii) |
byte[] |
Collation.after(byte[] string,
byte[] sub,
InputInfo info)
Returns the substring after a specified string.
|
byte[] |
Collation.before(byte[] string,
byte[] sub,
InputInfo info)
Returns the substring before a specified string.
|
boolean |
Collation.contains(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string is contained in another.
|
boolean |
Collation.endsWith(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string ends with another.
|
static Collation |
Collation.get(byte[] uri,
QueryContext qc,
StaticContext sc,
InputInfo info,
QueryError err)
Returns a collation instance for the specified uri.
|
protected abstract int |
Collation.indexOf(String string,
String sub,
Collation.Mode mode,
InputInfo info)
Returns the start or end position of the specified substring.
|
boolean |
Collation.startsWith(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string starts with another.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
DecFormatter.format(InputInfo info,
ANum number,
byte[] picture)
Returns a formatted number.
|
byte[] |
Formatter.formatDate(ADate date,
byte[] lng,
byte[] pic,
byte[] cal,
byte[] plc,
InputInfo ii)
Formats the specified date.
|
Constructor and Description |
---|
DecFormatter()
Default constructor.
|
DecFormatter(InputInfo info,
TokenMap map)
Constructor.
|
IntFormat(byte[] picture,
InputInfo info)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ItemSet.add(Item key,
InputInfo ii)
Stores the specified key if it has not been stored before.
|
boolean |
HashItemSet.add(Item key,
InputInfo ii) |
void |
ItemValueMap.add(Item key,
Value value,
InputInfo ii)
Indexes the specified key and stores the associated value.
|
Value |
ItemValueMap.get(Item key,
InputInfo ii)
Returns the value for the specified key.
|
int |
HashItemSet.id(Item key,
InputInfo ii)
Returns the id of the specified key, or
0 if the key does not exist. |
int |
HashItemSet.put(Item key,
InputInfo ii)
Stores the specified key and returns its id.
|
Modifier and Type | Method and Description |
---|---|
AnnList |
AnnList.check(boolean var)
Checks all annotations for parsing errors.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ModuleLoader.addImport(byte[] uri,
InputInfo ii,
QueryParser qp)
Adds a package from the repository or a Java class.
|
void |
PkgValidator.check(Package pkg)
Checks package descriptor and if packages involved in dependencies are
already installed.
|
void |
RepoManager.delete(String pkg)
Removes a package from the package repository.
|
boolean |
RepoManager.install(String path)
Installs a package.
|
Package |
PkgParser.parse(IO io)
Parses package descriptor.
|
Modifier and Type | Method and Description |
---|---|
static Pattern |
RegExParser.parse(byte[] regex,
byte[] mod,
InputInfo ii,
boolean check)
Compiles this regular expression to a
Pattern . |
Modifier and Type | Method and Description |
---|---|
abstract Value |
Value.atomValue(InputInfo ii)
Evaluates the expression and returns the atomized items.
|
Value |
Value.atomValue(QueryContext qc,
InputInfo ii) |
abstract int |
Value.hash(InputInfo ii)
Returns a hash code for this value.
|
Expr |
Value.inline(QueryContext qc,
VarScope scp,
Var var,
Expr ex) |
abstract Value |
Value.materialize(InputInfo ii)
Materializes streamable values, or returns a self reference.
|
abstract Object |
Value.toJava()
Returns a Java representation of the value.
|
Modifier and Type | Method and Description |
---|---|
Item |
Array.atomItem(InputInfo ii) |
Value |
Array.atomValue(InputInfo ii) |
FItem |
Array.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
boolean |
Array.deep(Item item,
InputInfo ii,
Collation coll) |
Value |
Array.get(Item key,
InputInfo ii)
Gets the value from this array.
|
Item |
Array.invItem(QueryContext qc,
InputInfo ii,
Value... args) |
Value |
Array.invValue(QueryContext qc,
InputInfo ii,
Value... args) |
Array |
Array.materialize(InputInfo ii) |
byte[] |
Array.serialize(InputInfo ii)
Returns a string representation of the array.
|
void |
Array.string(TokenBuilder tb,
InputInfo ii)
Returns a string representation of the array.
|
Object |
Array.toJava() |
Modifier and Type | Method and Description |
---|---|
Item |
Item.atomItem(InputInfo ii)
Evaluates the expression and returns the atomized items.
|
Item |
FItem.atomItem(InputInfo ii) |
Item |
Item.atomItem(QueryContext qc,
InputInfo ii) |
Value |
Item.atomValue(InputInfo ii) |
byte[] |
Bin.binary(InputInfo ii)
Returns the binary content.
|
byte[] |
B64Stream.binary(InputInfo ii) |
boolean |
Item.bool(InputInfo ii)
Returns a boolean representation of the value.
|
boolean |
AStr.bool(InputInfo ii) |
FItem |
FuncItem.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
abstract FItem |
FItem.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt)
Coerces this function item to the given function type.
|
double |
Item.dbl(InputInfo ii)
Returns a double representation of the value.
|
BigDecimal |
Item.dec(InputInfo ii)
Returns a decimal representation of the value.
|
BigDecimal |
Flt.dec(InputInfo ii) |
BigDecimal |
Dbl.dec(InputInfo ii) |
static byte[] |
Hex.decode(byte[] d,
InputInfo ii)
Converts the input into a byte array.
|
boolean |
FItem.deep(Item item,
InputInfo ii,
Collation coll)
Performs a deep comparison of two items.
|
int |
YMDur.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Uln.diff(Item it,
Collation coll,
InputInfo ii) |
int |
QNm.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Jav.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Item.diff(Item it,
Collation coll,
InputInfo ii)
Returns the difference between the current and the specified item.
|
int |
Int.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Hex.diff(Item it,
Collation coll,
InputInfo ii) |
int |
GDt.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Flt.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Dur.diff(Item it,
Collation coll,
InputInfo ii) |
int |
DTDur.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Dec.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Dbl.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Bln.diff(Item it,
Collation coll,
InputInfo ii) |
int |
B64.diff(Item it,
Collation coll,
InputInfo ii) |
int |
Atm.diff(Item it,
Collation coll,
InputInfo ii) |
int |
AStr.diff(Item it,
Collation coll,
InputInfo ii) |
int |
ADate.diff(Item it,
Collation coll,
InputInfo ii) |
boolean |
Uln.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
QNm.eq(Item item,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Jav.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
abstract boolean |
Item.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii)
Checks the items for equality.
|
boolean |
Int.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Hex.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Flt.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
FItem.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Dur.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Dec.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Dbl.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Bln.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
B64.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Atm.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
AStr.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
ADate.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
boolean |
Item.equiv(Item it,
Collation coll,
InputInfo ii)
Checks the items for equivalence.
|
float |
Item.flt(InputInfo ii)
Returns a float representation of the value.
|
static Dbl |
Dbl.get(byte[] value,
InputInfo ii)
Returns an instance of this class.
|
static Str |
Str.get(Object value,
QueryContext qc,
InputInfo ii)
Returns an instance of this class.
|
int |
Item.hash(InputInfo ii) |
int |
ADate.hash(InputInfo ii) |
Expr |
FuncItem.inlineExpr(Expr[] exprs,
QueryContext qc,
VarScope scp,
InputInfo ii) |
TextInput |
StrStream.input(InputInfo ii) |
BufferInput |
Item.input(InputInfo ii)
Returns an input stream.
|
BufferInput |
Bin.input(InputInfo ii) |
BufferInput |
B64Stream.input(InputInfo ii) |
Item |
FuncItem.invItem(QueryContext qc,
InputInfo ii,
Value... args) |
Item |
FItem.invokeItem(QueryContext qc,
InputInfo ii,
Value... args) |
Value |
FItem.invokeValue(QueryContext qc,
InputInfo ii,
Value... args) |
Value |
FuncItem.invValue(QueryContext qc,
InputInfo ii,
Value... args) |
long |
Item.itr(InputInfo ii)
Returns an integer (long) representation of the value.
|
Str |
StrStream.materialize(InputInfo ii) |
Str |
Jav.materialize(InputInfo ii) |
Item |
Item.materialize(InputInfo ii) |
B64 |
B64Stream.materialize(InputInfo ii) |
static long |
Int.parse(byte[] value,
InputInfo ii)
Converts the given item into a long value.
|
static BigDecimal |
Dec.parse(byte[] value,
InputInfo ii)
Converts the given token into a decimal value.
|
static double |
Dbl.parse(byte[] value,
InputInfo ii)
Converts the given token into a double value.
|
static boolean |
Bln.parse(byte[] value,
InputInfo ii)
Converts the specified string to a boolean.
|
static QNm |
QNm.resolve(byte[] name,
byte[] def,
StaticContext sc,
InputInfo info)
Resolves a QName string.
|
Uri |
Uri.resolve(Uri add,
InputInfo info)
Appends the specified address.
|
byte[] |
StrStream.string(InputInfo ii) |
byte[] |
Jav.string(InputInfo ii) |
abstract byte[] |
Item.string(InputInfo ii)
Returns a string representation of the value.
|
byte[] |
Hex.string(InputInfo ii) |
byte[] |
FItem.string(InputInfo ii) |
byte[] |
B64.string(InputInfo ii) |
Item |
Item.test(QueryContext qc,
InputInfo ii) |
Item |
ANum.test(QueryContext qc,
InputInfo ii) |
void |
Tim.timeZone(DTDur zone,
boolean spec,
InputInfo ii) |
void |
Dtm.timeZone(DTDur zone,
boolean spec,
InputInfo ii) |
void |
Dat.timeZone(DTDur zone,
boolean spec,
InputInfo ii) |
abstract void |
ADate.timeZone(DTDur zone,
boolean spec,
InputInfo ii)
Adjusts the timezone.
|
URI |
Uri.toJava() |
String |
StrStream.toJava() |
byte[] |
Bin.toJava() |
Constructor and Description |
---|
B64(Bin bin,
InputInfo ii)
Constructor.
|
B64(byte[] value,
InputInfo ii)
Constructor.
|
Dat(byte[] value,
InputInfo ii)
Constructor.
|
Dat(Dat value,
Dur dur,
boolean plus,
InputInfo ii)
Constructor.
|
DTDur(ADate dat,
ADate sub,
InputInfo ii)
Constructor.
|
DTDur(byte[] value,
InputInfo ii)
Constructor.
|
DTDur(DTDur dur,
DTDur add,
boolean plus,
InputInfo ii)
Constructor.
|
DTDur(Dur dur,
double factor,
boolean mult,
InputInfo ii)
Constructor.
|
Dtm(byte[] date,
InputInfo ii)
Constructor.
|
Dtm(Dat date,
Tim time,
InputInfo ii)
Constructor.
|
Dtm(Dtm date,
Dur dur,
boolean plus,
InputInfo ii)
Constructor.
|
Dtm(long ms,
InputInfo ii)
Constructor.
|
Dur(byte[] value,
InputInfo ii)
Constructor.
|
GDt(byte[] date,
Type type,
InputInfo ii)
Constructor.
|
Hex(Bin bin,
InputInfo ii)
Constructor.
|
Hex(byte[] value,
InputInfo ii)
Constructor.
|
Tim(byte[] value,
InputInfo ii)
Constructor.
|
YMDur(byte[] value,
InputInfo ii)
Constructor.
|
YMDur(Dur value,
double factor,
boolean mult,
InputInfo ii)
Constructor.
|
YMDur(YMDur value,
YMDur dur,
boolean plus,
InputInfo ii)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map |
Map.addAll(Map map,
InputInfo ii)
Adds all bindings from the given map into
this . |
ValueBuilder |
Map.apply(FItem func,
QueryContext qc,
InputInfo ii)
Applies a function on all entries.
|
Map |
Map.coerceTo(FuncType ft,
QueryContext qc,
InputInfo ii,
boolean opt) |
boolean |
Map.contains(Item key,
InputInfo ii)
Checks if the given key exists in the map.
|
boolean |
Map.deep(Item item,
InputInfo ii,
Collation coll) |
Map |
Map.delete(Item key,
InputInfo ii)
Deletes a key from this map.
|
Value |
Map.get(Item key,
InputInfo ii)
Gets the value from this map.
|
int |
Map.hash(InputInfo ii) |
Item |
Map.invItem(QueryContext qc,
InputInfo ii,
Value... args) |
Value |
Map.invValue(QueryContext qc,
InputInfo ii,
Value... args) |
Map |
Map.put(Item key,
Value value,
InputInfo ii)
Puts the given value into this map and replaces existing keys.
|
byte[] |
Map.serialize(InputInfo ii)
Returns a string representation of the map.
|
void |
Map.string(TokenBuilder tb,
int level,
InputInfo ii)
Returns a string representation of the map.
|
HashMap<Object,Object> |
Map.toJava() |
Modifier and Type | Method and Description |
---|---|
double |
DBNode.dbl(InputInfo ii) |
int |
ANode.diff(Item it,
Collation coll,
InputInfo ii) |
boolean |
ANode.eq(Item it,
Collation coll,
StaticContext sc,
InputInfo ii) |
long |
DBNode.itr(InputInfo ii) |
static byte[] |
FPI.parse(byte[] atom,
InputInfo ii)
Checks the specified token for validity.
|
static byte[] |
FComm.parse(byte[] str,
InputInfo ii)
Checks the specified token for validity.
|
Modifier and Type | Method and Description |
---|---|
Item |
Seq.atomItem(QueryContext qc,
InputInfo ii) |
Value |
SubSeq.atomValue(InputInfo ii) |
Value |
DBNodeSeq.atomValue(InputInfo ii) |
Item |
SubSeq.ebv(QueryContext qc,
InputInfo ii) |
Item |
RangeSeq.ebv(QueryContext qc,
InputInfo ii) |
static Value |
StrSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
FltSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
DecSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
DblSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
BytSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
BlnSeq.get(Value[] values,
int size)
Creates a sequence with the items in the specified expressions.
|
static Value |
IntSeq.get(Value[] values,
int size,
Type type)
Creates a sequence with the items in the specified expressions.
|
int |
Seq.hash(InputInfo ii) |
Item |
Seq.item(QueryContext qc,
InputInfo ii) |
Value |
SubSeq.materialize(InputInfo ii) |
Item |
Seq.test(QueryContext qc,
InputInfo ii) |
Object |
Seq.toJava() |
Modifier and Type | Method and Description |
---|---|
Value |
Type.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Casts the specified item to this item type.
|
Item |
NodeType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Map |
MapType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Value |
ListType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
FItem |
FuncType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Item |
AtomType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Array |
ArrayType.cast(Item item,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Value |
SeqType.cast(Item it,
QueryContext qc,
StaticContext sc,
InputInfo info,
boolean error)
Tries to cast the given item to this sequence type.
|
Value |
Type.cast(Object value,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Casts the specified Java value to this item type.
|
Item |
NodeType.cast(Object value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Value |
ListType.cast(Object value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Item |
AtomType.cast(Object value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Value |
SeqType.cast(Value val,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Casts a sequence to this type.
|
Value |
Type.castString(String value,
QueryContext qc,
StaticContext sc,
InputInfo ii)
Casts the specified string to this item type.
|
Item |
NodeType.castString(String value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Value |
ListType.castString(String value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
Item |
AtomType.castString(String value,
QueryContext qc,
StaticContext sc,
InputInfo ii) |
void |
SeqType.promote(QueryContext qc,
StaticContext sc,
InputInfo ii,
Item item,
boolean opt,
ValueBuilder vb)
Promotes an item to the type of this sequence type.
|
Value |
SeqType.promote(QueryContext qc,
StaticContext sc,
InputInfo ii,
Value value,
boolean opt)
Promotes a value to the type of this sequence type.
|
void |
SeqType.treat(Value val,
InputInfo ii)
Checks the specified value for this sequence type.
|
Modifier and Type | Method and Description |
---|---|
void |
Variables.bindExternal(QueryContext qc,
HashMap<QNm,Value> bindings)
Binds all external variables.
|
void |
Variables.check()
Checks if all variables were declared and are visible to all their references.
|
Expr |
Var.checked(Expr ex,
QueryContext qc,
VarScope scp,
InputInfo ii)
Returns an equivalent to the given expression that checks this variable's type.
|
void |
Var.checkType(Expr expr,
InputInfo info)
Checks if the type of the specified expression could be converted to the sequence type
of this variable.
|
Value |
Var.checkType(Value val,
QueryContext qc,
InputInfo ii,
boolean opt)
Checks the type of this value and casts/promotes it when necessary.
|
void |
Variables.checkUp()
Checks if none of the variables contains an updating expression.
|
void |
StaticVar.compile(QueryContext qc) |
StaticVar |
Variables.declare(QNm nm,
SeqType type,
AnnList anns,
Expr expr,
boolean ext,
StaticContext sc,
VarScope scope,
String doc,
InputInfo ii)
Declares a new static variable.
|
Item |
VarRef.item(QueryContext qc,
InputInfo ii) |
org.basex.query.var.StaticVarRef |
Variables.newRef(QNm nm,
StaticContext sc,
InputInfo ii)
Returns a new reference to the (possibly not yet declared) variable with the given name.
|
void |
Var.refineType(SeqType st,
QueryContext qc,
InputInfo ii)
Tries to refine the compile-time type of this variable through the type of the bound
expression.
|
void |
QueryStack.set(Var var,
Value val,
QueryContext qc,
InputInfo ii)
Sets the value of the given variable in the current stack frame.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FTBitapSearch.TokenComparator.equal(byte[] token1,
byte[] token2)
Check if two tokens are equal.
|
boolean |
FTBitapSearch.hasNext()
Is there one more match?
|
int |
FTBitapSearch.next()
Position in the haystack of the next match.
|
Copyright © 2005–2015 BaseX Team. All rights reserved.