|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of QueryException in org.basex.core.parse |
---|
Methods in org.basex.core.parse that throw QueryException | |
---|---|
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. |
Uses of QueryException in org.basex.io.serial |
---|
Methods in org.basex.io.serial that return QueryException | |
---|---|
QueryException |
SerializerException.getCause()
|
QueryException |
SerializerException.getCause(InputInfo info)
Returns the query exception. |
Constructors in org.basex.io.serial with parameters of type QueryException | |
---|---|
SerializerException(QueryException qe)
Default constructor. |
Uses of QueryException in org.basex.query |
---|
Methods in org.basex.query that return QueryException | |
---|---|
QueryException |
QueryException.err(Err e)
Sets an error. |
QueryException |
QueryParser.error(Err err,
java.lang.Object... arg)
Throws the specified error. |
QueryException |
QuerySuggest.error(Err err,
java.lang.Object... arg)
|
QueryException |
QueryRTException.getCause()
|
QueryException |
QueryException.info(InputInfo ii)
Sets input info. |
QueryException |
QueryException.notCatchable()
Makes this exception uncatchable by a try/catch expression. |
QueryException |
QueryException.suggest(InputParser qp,
StringList sug)
Sets code suggestions. |
QueryException |
QueryException.value(Value v)
Sets the error value. |
Methods in org.basex.query that throw QueryException | |
---|---|
void |
QueryResources.addCollection(java.lang.String name,
java.lang.String[] paths)
Adds a collection with the specified paths. |
void |
QueryResources.addDoc(java.lang.String name,
java.lang.String path)
Adds a document with the specified path. |
void |
QueryContext.analyze()
Compiles all used functions and the root expression. |
QueryProcessor |
QueryProcessor.bind(java.lang.String name,
java.lang.Object value)
Binds a value to a global variable. |
void |
QueryContext.bind(java.lang.String name,
java.lang.Object val,
java.lang.String type)
Binds a value to a global variable. |
QueryProcessor |
QueryProcessor.bind(java.lang.String name,
java.lang.Object value,
java.lang.String type)
Binds a value with the specified data type to a global variable. |
Value |
QueryResources.collection(InputInfo info)
Returns the default collection. |
Value |
QueryResources.collection(java.lang.String input,
InputInfo info)
Evaluates fn:collection() : opens an existing database collection, or creates
a new data reference. |
void |
QueryContext.compile()
Compiles and optimizes the expression. |
void |
QueryProcessor.compile()
Compiles the query. |
void |
LibraryModule.compile(QueryContext ctx)
|
void |
Scope.compile(QueryContext ctx)
Compiles the expression contained in this scope. |
void |
MainModule.compile(QueryContext ctx)
|
static void |
QueryCompiler.compile(QueryContext ctx,
MainModule root)
Compiles all necessary parts of this query. |
QueryProcessor |
QueryProcessor.context(java.lang.Object value)
Binds a value to the context item. |
void |
QueryContext.context(java.lang.Object val,
java.lang.String type)
Binds a value to the context item, using the same rules as for binding variables . |
QueryProcessor |
QueryProcessor.context(java.lang.Object value,
java.lang.String type)
Binds a value with the specified data type to the context item, using the same rules as for binding variables . |
Data |
QueryResources.data(java.lang.String name,
InputInfo info)
Opens a new database or returns a reference to an already opened database. |
DBNode |
QueryResources.doc(QueryInput qi,
InputInfo info)
Evaluates fn:doc() : opens an existing database document, or creates a new
database and node. |
QueryException |
QueryParser.error(Err err,
java.lang.Object... arg)
Throws the specified error. |
QueryException |
QuerySuggest.error(Err err,
java.lang.Object... arg)
|
Result |
QueryProcessor.execute()
Evaluates the specified query and returns the result. |
Serializer |
QueryProcessor.getSerializer(java.io.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 |
QueryContext.iter()
Returns a result iterator. |
Iter |
QueryProcessor.iter()
Returns a result iterator. |
Iter |
QueryContext.iter(Expr e)
Evaluates the specified expression and returns an iterator. |
Iter |
MainModule.iter(QueryContext ctx)
Creates a result iterator which lazily evaluates this module. |
void |
QueryParser.module(byte[] path,
byte[] uri)
Parses the specified module. |
QueryProcessor |
QueryProcessor.namespace(java.lang.String prefix,
java.lang.String uri)
Declares a namespace. |
void |
StaticContext.namespace(java.lang.String prefix,
java.lang.String uri)
Declares a namespace. |
void |
QueryProcessor.parse()
Parses the query. |
LibraryModule |
QueryParser.parseLibrary(boolean check)
Parses a library module. |
LibraryModule |
QueryContext.parseLibrary(java.lang.String qu,
java.lang.String path)
Parses the specified module. |
MainModule |
QueryParser.parseMain()
Parses a main module. |
MainModule |
QueryContext.parseMain(java.lang.String qu,
java.lang.String path)
Parses the specified query. |
Nodes |
QueryProcessor.queryNodes()
Evaluates the specified query and returns the result nodes. |
void |
QueryContext.set(Var vr,
Value vl,
InputInfo ii)
Binds an expression to a local variable. |
void |
QueryStack.set(Var var,
Value val,
QueryContext ctx,
InputInfo ii)
Sets the value of the given variable in the current stack frame. |
Value |
QueryContext.update()
Performs updates. |
Value |
QueryContext.value()
Returns the result value. |
Value |
QueryProcessor.value()
Returns a result value. |
Value |
QueryContext.value(Expr expr)
Evaluates the specified expression and returns an iterator. |
Value |
MainModule.value(QueryContext ctx)
Evaluates this module and returns the result as a value. |
Constructors in org.basex.query with parameters of type QueryException | |
---|---|
QueryRTException(QueryException qe)
Constructor. |
Constructors in org.basex.query that throw QueryException | |
---|---|
QueryParser(java.lang.String in,
java.lang.String path,
QueryContext c)
Constructor. |
|
QuerySuggest(java.lang.String q,
QueryContext c,
Data d)
Constructor. |
Uses of QueryException in org.basex.query.expr |
---|
Methods in org.basex.query.expr with parameters of type QueryException | |
---|---|
protected Expr |
Catch.asExpr(QueryException ex,
QueryContext ctx,
VarScope scp)
Returns this clause as an inlineable expression. |
protected boolean |
Catch.matches(QueryException qe)
Checks if one of the specified errors match the thrown error. |
static Value[] |
Catch.values(QueryException ex)
Returns all error values. |
Methods in org.basex.query.expr that throw QueryException | |
---|---|
Constr |
Constr.add(Expr... expr)
Constructs child and attribute nodes. |
abstract Filter |
Filter.addPred(QueryContext ctx,
VarScope scp,
Expr p)
Adds a predicate to the filter. |
protected Expr |
Catch.asExpr(QueryException ex,
QueryContext ctx,
VarScope scp)
Returns this clause as an inlineable expression. |
void |
ParseExpr.checkAdmin(QueryContext ctx)
Checks if the current user has create permissions. |
void |
ParseExpr.checkAllUp(Expr... expr)
Ensures that all specified expressions are either updating or vacuous. |
Bin |
ParseExpr.checkBinary(Expr e,
QueryContext ctx)
Checks if the specified expression yields a binary item. |
boolean |
ParseExpr.checkBln(Expr e,
QueryContext ctx)
Checks if the specified expression yields a boolean. |
Collation |
ParseExpr.checkColl(Expr e,
QueryContext ctx)
Checks if the specified collation is supported. |
void |
ParseExpr.checkCreate(QueryContext ctx)
Checks if the current user has create permissions. |
Value |
ParseExpr.checkCtx(QueryContext ctx)
Throws an exception if the context value is not set. |
double |
ParseExpr.checkDbl(Expr e,
QueryContext ctx)
Checks if the specified expression yields a double. |
DBNode |
ParseExpr.checkDBNode(Item it)
Checks if the specified expression is a database node. |
byte[] |
ParseExpr.checkEStr(Expr e,
QueryContext ctx)
Checks if the specified expression yields a string or empty sequence. |
byte[] |
ParseExpr.checkEStr(Item it)
Checks if the specified item is a string or an empty sequence. |
FItem |
ParseExpr.checkFunc(Expr e,
QueryContext ctx)
Checks if the specified expression yields a string or binary item. |
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. |
long |
ParseExpr.checkItr(Item it)
Checks if the specified item is a number. |
Map |
ParseExpr.checkMap(Item it)
Assures that the given (non- null ) item is a map. |
ANode |
ParseExpr.checkNode(Expr e,
QueryContext ctx)
Checks if the specified expression yields a node. |
ANode |
ParseExpr.checkNode(Item it)
Checks if the specified item is a node. |
ANode |
ParseExpr.checkNode(QueryContext ctx)
Throws an exception if the context value is not a node. |
Item |
ParseExpr.checkNoEmpty(Item it)
Checks if the specified item is no empty sequence. |
void |
ParseExpr.checkNoneUp(Expr... expr)
Ensures that none of the specified expressions performs an update. |
void |
Arr.checkNoUp()
Checks if none of the expressions are updating expressions. |
void |
ParseExpr.checkNoUp(Expr e)
Ensures that the specified expression performs no updates. |
QNm |
ParseExpr.checkQNm(Expr e,
QueryContext ctx)
Checks if the specified expression has the specified type; if no, throws an exception. |
byte[] |
ParseExpr.checkStr(Expr e,
QueryContext ctx)
Checks if the specified expression yields a string. |
byte[] |
ParseExpr.checkStr(Item it)
Checks if the specified item is a string. |
byte[] |
ParseExpr.checkStrBin(Item it)
Checks if the specified expression yields a string or binary item. |
Item |
ParseExpr.checkType(Item it,
Type t)
Checks if the specified expression is an empty sequence; if yes, throws an exception. |
void |
Arr.checkUp()
|
void |
Try.checkUp()
|
void |
Preds.checkUp()
|
abstract void |
Expr.checkUp()
Checks if all updating expressions are correctly placed. |
void |
CName.checkUp()
|
void |
Extension.checkUp()
|
void |
List.checkUp()
|
void |
Single.checkUp()
|
void |
Switch.checkUp()
|
void |
SwitchCase.checkUp()
|
void |
Filter.checkUp()
|
void |
TypeSwitch.checkUp()
|
void |
If.checkUp()
|
Data |
ParseExpr.checkWrite(Data data,
QueryContext ctx)
Checks if the current user has write permissions for the specified database. |
Expr |
Instance.compile(QueryContext ctx,
VarScope scp)
|
Expr |
CmpN.compile(QueryContext ctx,
VarScope scp)
|
TypeCase |
TypeCase.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Treat.compile(QueryContext ctx,
VarScope scp)
|
Expr |
CmpG.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Union.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Arr.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Try.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Preds.compile(QueryContext ctx,
VarScope scp)
|
abstract Expr |
Expr.compile(QueryContext ctx,
VarScope scp)
Compiles and optimizes the expression, assigns data types and cardinalities. |
Expr |
CName.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Extension.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Except.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Quantifier.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Or.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Cast.compile(QueryContext ctx,
VarScope scp)
|
Expr |
List.compile(QueryContext ctx,
VarScope scp)
|
CElem |
CElem.compile(QueryContext ctx,
VarScope scp)
|
Expr |
CTxt.compile(QueryContext ctx,
VarScope scp)
|
Expr |
InterSect.compile(QueryContext ctx,
VarScope scp)
|
Expr |
LitMap.compile(QueryContext ctx,
VarScope scp)
|
Expr |
CmpV.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Single.compile(QueryContext ctx,
VarScope scp)
|
Catch |
Catch.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Unary.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Arith.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Switch.compile(QueryContext ctx,
VarScope scp)
|
Expr |
And.compile(QueryContext ctx,
VarScope scp)
|
Expr |
SwitchCase.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Logical.compile(QueryContext ctx,
VarScope scp)
|
Expr |
TypeCheck.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Castable.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Filter.compile(QueryContext ctx,
VarScope scp)
|
Expr |
TypeSwitch.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Range.compile(QueryContext ctx,
VarScope scp)
|
Expr |
If.compile(QueryContext ctx,
VarScope scp)
|
abstract Item |
Expr.ebv(QueryContext ctx,
InputInfo ii)
Checks if the iterator can be dissolved into an effective boolean value. |
Item |
ParseExpr.ebv(QueryContext ctx,
InputInfo ii)
|
abstract Item |
Calc.ev(InputInfo ii,
Item a,
Item b)
Performs the calculation. |
abstract boolean |
CmpV.OpV.eval(Item a,
Item b,
Collation coll,
InputInfo ii)
Evaluates the expression. |
protected NodeSeqBuilder |
Union.eval(Iter[] iter)
|
protected NodeSeqBuilder |
Except.eval(Iter[] iter)
|
protected NodeSeqBuilder |
InterSect.eval(Iter[] iter)
|
boolean |
CmpG.indexAccessible(IndexCosts ic)
|
boolean |
Expr.indexAccessible(IndexCosts ic)
Checks if an expression can be rewritten to an index access. |
boolean |
Or.indexAccessible(IndexCosts ic)
|
boolean |
And.indexAccessible(IndexCosts ic)
|
Expr |
Arr.indexEquivalent(IndexCosts ic)
|
Expr |
Expr.indexEquivalent(IndexCosts ic)
Returns an equivalent expression which accesses an index structure. |
Expr |
Or.indexEquivalent(IndexCosts ic)
|
Expr |
And.indexEquivalent(IndexCosts ic)
|
Expr |
If.indexEquivalent(IndexCosts ic)
|
Expr |
TypeCase.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Arr.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Try.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Preds.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
abstract Expr |
Expr.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
Inlines an expression into this one, replacing all references to the given variable. |
Expr |
CName.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Single.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Catch |
Catch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Switch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
SwitchCase.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
ValueAccess.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Filter.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
TypeSwitch.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Simple.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
If.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
protected static boolean |
Expr.inlineAll(QueryContext ctx,
VarScope scp,
Expr[] arr,
Var v,
Expr e)
Inlines the given expression into all elements of the given array. |
Item |
XQFunction.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function with the given arguments. |
Value |
XQFunction.invValue(QueryContext ctx,
InputInfo ii,
Value... args)
Invokes this function with the given arguments. |
Bln |
Pos.item(QueryContext ctx,
InputInfo ii)
|
Bln |
Instance.item(QueryContext ctx,
InputInfo ii)
|
Bln |
CmpN.item(QueryContext ctx,
InputInfo ii)
|
Bln |
CmpG.item(QueryContext ctx,
InputInfo ii)
|
FPI |
CPI.item(QueryContext ctx,
InputInfo ii)
|
Bln |
CmpR.item(QueryContext ctx,
InputInfo ii)
|
Item |
Context.item(QueryContext ctx,
InputInfo ii)
|
abstract Item |
Expr.item(QueryContext ctx,
InputInfo ii)
Evaluates the expression and returns the resulting item or a null reference, if the expression yields an empty sequence. |
Bln |
Quantifier.item(QueryContext ctx,
InputInfo ii)
|
FNames |
CNSpace.item(QueryContext ctx,
InputInfo ii)
|
Item |
Or.item(QueryContext ctx,
InputInfo ii)
|
FElem |
CElem.item(QueryContext ctx,
InputInfo ii)
|
FTxt |
CTxt.item(QueryContext ctx,
InputInfo ii)
|
Item |
LitMap.item(QueryContext ctx,
InputInfo ii)
|
Bln |
CmpV.item(QueryContext ctx,
InputInfo ii)
|
Bln |
CmpSR.item(QueryContext ctx,
InputInfo ii)
|
FAttr |
CAttr.item(QueryContext ctx,
InputInfo ii)
|
FDoc |
CDoc.item(QueryContext ctx,
InputInfo ii)
|
Item |
Unary.item(QueryContext ctx,
InputInfo ii)
|
abstract ANode |
CFrag.item(QueryContext ctx,
InputInfo ii)
|
Item |
Arith.item(QueryContext ctx,
InputInfo ii)
|
Item |
Switch.item(QueryContext ctx,
InputInfo ii)
|
Bln |
And.item(QueryContext ctx,
InputInfo ii)
|
Item |
ParseExpr.item(QueryContext ctx,
InputInfo ii)
|
FComm |
CComm.item(QueryContext ctx,
InputInfo ii)
|
Item |
If.item(QueryContext ctx,
InputInfo ii)
|
Iter |
Treat.iter(QueryContext ctx)
|
Iter |
Root.iter(QueryContext ctx)
|
Iter |
Try.iter(QueryContext ctx)
|
Iter |
Context.iter(QueryContext ctx)
|
abstract Iter |
Expr.iter(QueryContext ctx)
Evaluates the expression and returns an iterator on the resulting items. |
ValueIter |
Extension.iter(QueryContext ctx)
|
abstract NodeIter |
IndexAccess.iter(QueryContext ctx)
|
Iter |
Cast.iter(QueryContext ctx)
|
Iter |
Switch.iter(QueryContext ctx)
|
NodeIter |
ValueAccess.iter(QueryContext ctx)
|
Iter |
TypeCheck.iter(QueryContext ctx)
|
Iter |
ParseExpr.iter(QueryContext ctx)
|
Iter |
TypeSwitch.iter(QueryContext ctx)
|
Iter |
Range.iter(QueryContext ctx)
|
Iter |
If.iter(QueryContext ctx)
|
Expr |
CmpN.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
Treat.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
CmpG.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
Expr.optimize(QueryContext ctx,
VarScope scp)
Optimizes an already compiled expression without recompiling its sub-expressions. |
Expr |
Quantifier.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
List.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
Arith.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
TypeCheck.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
Filter.optimize(QueryContext ctx,
VarScope scp)
|
boolean |
Preds.preds(Item it,
QueryContext ctx)
Checks if the predicates are successful for the specified item. |
Expr |
ParseExpr.preEval(QueryContext ctx)
Pre-evaluates the specified expression. |
abstract Item |
Expr.test(QueryContext ctx,
InputInfo ii)
Performs a predicate test and returns the item if test was successful. |
Item |
ParseExpr.test(QueryContext ctx,
InputInfo ii)
|
Value |
Treat.value(QueryContext ctx)
|
Value |
Try.value(QueryContext ctx)
|
Value |
Context.value(QueryContext ctx)
|
abstract Value |
Expr.value(QueryContext ctx)
Evaluates the expression and returns the resulting value. |
Value |
Extension.value(QueryContext ctx)
|
Value |
Cast.value(QueryContext ctx)
|
Value |
List.value(QueryContext ctx)
|
Value |
Switch.value(QueryContext ctx)
|
Value |
TypeCheck.value(QueryContext ctx)
|
Value |
ParseExpr.value(QueryContext ctx)
|
Value |
Range.value(QueryContext ctx)
|
Value |
If.value(QueryContext ctx)
|
Uses of QueryException in org.basex.query.ft |
---|
Constructors in org.basex.query.ft that throw QueryException | |
---|---|
FTMildNot(InputInfo ii,
FTExpr e1,
FTExpr e2)
Constructor. |
|
FTWords(InputInfo ii,
IndexContext ic,
Value t,
FTMode m,
QueryContext ctx)
Constructor for index-based evaluation. |
Uses of QueryException in org.basex.query.func |
---|
Methods in org.basex.query.func with parameters of type QueryException | |
---|---|
static FNInfo |
FNInfo.error(QueryException ex)
Creates an error function instance. |
Methods in org.basex.query.func that throw QueryException | |
---|---|
static Item |
FNNum.abs(Item it,
InputInfo ii)
Returns an absolute number. |
static Item |
StandardFunc.atom(Item it,
InputInfo ii)
Atomizes the specified item. |
protected java.util.HashMap<java.lang.String,Value> |
StandardFunc.bindings(int i,
QueryContext ctx)
Returns all keys and values of the specified binding argument. |
protected void |
StandardFunc.cache(Iter ir,
ValueBuilder vb,
QueryContext ctx)
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 Data |
StandardFunc.checkData(QueryContext ctx)
Returns a data instance for the first string argument of the function. |
protected java.io.File |
StandardFunc.checkFile(int i,
QueryContext ctx)
Converts the specified argument to a file instance. |
void |
StaticFunc.checkUp()
Checks if all updating expressions in the function are correctly declared and placed. |
void |
InlineFunc.checkUp()
|
void |
StaticFuncs.checkUp()
Checks if the functions perform updates. |
void |
FuncLit.compile(QueryContext ctx)
|
void |
StaticFunc.compile(QueryContext ctx)
|
void |
InlineFunc.compile(QueryContext ctx)
|
void |
StaticFuncs.compile(QueryContext ctx)
Compiles the functions. |
Expr |
FuncLit.compile(QueryContext ctx,
VarScope o)
|
Expr |
StandardFunc.compile(QueryContext ctx,
VarScope scp)
|
Expr |
StaticFuncCall.compile(QueryContext ctx,
VarScope scp)
|
Expr |
PartFunc.compile(QueryContext ctx,
VarScope scp)
|
Expr |
InlineFunc.compile(QueryContext ctx,
VarScope scp)
|
Expr |
DynFuncCall.compile(QueryContext ctx,
VarScope scp)
|
protected long |
StandardFunc.dateTimeToMs(Expr e,
QueryContext ctx)
Converts the specified dateTime to milliseconds. |
StaticFunc |
StaticFuncs.declare(Ann ann,
QNm nm,
Var[] args,
SeqType ret,
Expr body,
StaticContext sc,
VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Declares a new user-defined function. |
protected java.lang.String |
StandardFunc.encoding(int i,
Err err,
QueryContext ctx)
Returns a normalized encoding representation. |
void |
StaticFuncs.errorIfSimilar(QNm name,
InputInfo ii)
Throws an error if the name of a function is similar to the specified function name. |
protected abstract java.lang.Object |
JavaMapping.eval(Value[] args,
QueryContext ctx)
Returns the result of the evaluated Java function. |
protected java.lang.Object |
JavaFunc.eval(Value[] args,
QueryContext ctx)
|
protected java.lang.Object |
JavaModuleFunc.eval(Value[] vals,
QueryContext ctx)
|
static TypedFunc |
Functions.get(QNm name,
Expr[] args,
boolean dyn,
QueryContext ctx,
InputInfo ii)
Returns an instance of a with the specified name and number of arguments, or null . |
StandardFunc |
Functions.get(QNm name,
Expr[] args,
InputInfo ii)
Returns the specified function. |
StaticFunc |
StaticFuncs.get(QNm name,
long arity,
InputInfo ii)
Returns the function with the given name and arity. |
TypedFunc |
StaticFuncs.getFuncRef(QNm name,
Expr[] args,
StaticContext sc,
InputInfo ii)
Returns a new reference to the function with the given name and arity. |
static Expr |
Functions.getLiteral(QNm name,
int arity,
QueryContext ctx,
InputInfo ii)
Gets a function literal for a known function. |
static FuncItem |
Functions.getUser(StaticFunc sf,
QueryContext ctx,
InputInfo info)
Returns a function item for a user-defined function. |
StaticFuncCall |
StaticFuncCall.init(StaticFunc f)
Initializes the function and checks for visibility. |
Expr |
InlineFunc.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Item |
StaticFunc.invItem(QueryContext ctx,
InputInfo ii,
Value... arg)
|
Value |
StaticFunc.invValue(QueryContext ctx,
InputInfo ii,
Value... arg)
|
Item |
FNProc.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNSql.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNDate.item(QueryContext ctx,
InputInfo ii)
|
Item |
TailFuncCall.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNContext.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNDb.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNInfo.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNIndex.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNSimple.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNGen.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNUnit.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNAcc.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNZip.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNXslt.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNId.item(QueryContext ctx,
InputInfo ii)
|
Item |
FuncLit.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNHash.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNJson.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNNum.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNNode.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNHtml.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNStr.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNFt.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNPat.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNArchive.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNFunc.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNSeq.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNAggr.item(QueryContext ctx,
InputInfo ii)
|
Item |
BaseFuncCall.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNMath.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNMap.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNFormat.item(QueryContext ctx,
InputInfo ii)
|
Item |
PartFunc.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNRepo.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNValidate.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNClient.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNConvert.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNCrypto.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNOut.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNProf.item(QueryContext ctx,
InputInfo ii)
|
FuncItem |
InlineFunc.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNInspect.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNStream.item(QueryContext ctx,
InputInfo ii)
|
Item |
DynFuncCall.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNRandom.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNHof.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNFile.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNFetch.item(QueryContext ctx,
InputInfo ii)
|
Item |
FNQName.item(QueryContext ctx,
InputInfo ii)
|
Iter |
FNSql.iter(QueryContext ctx)
|
Iter |
FNDb.iter(QueryContext ctx)
|
Iter |
FNInfo.iter(QueryContext ctx)
|
Iter |
FNIndex.iter(QueryContext ctx)
|
Iter |
FNSimple.iter(QueryContext ctx)
|
Iter |
FNGen.iter(QueryContext ctx)
|
Iter |
JavaMapping.iter(QueryContext ctx)
|
Iter |
FNId.iter(QueryContext ctx)
|
Iter |
FNAdmin.iter(QueryContext ctx)
|
Iter |
StaticFuncCall.iter(QueryContext ctx)
|
Iter |
FNStr.iter(QueryContext ctx)
|
Iter |
FNFt.iter(QueryContext ctx)
|
Iter |
FNPat.iter(QueryContext ctx)
|
Iter |
FNArchive.iter(QueryContext ctx)
|
Iter |
FNFunc.iter(QueryContext ctx)
|
Iter |
FNSeq.iter(QueryContext ctx)
|
Iter |
FNMap.iter(QueryContext ctx)
|
Iter |
FNRepo.iter(QueryContext ctx)
|
Iter |
FNValidate.iter(QueryContext ctx)
|
Iter |
FNClient.iter(QueryContext ctx)
|
Iter |
FNConvert.iter(QueryContext ctx)
|
Iter |
FNProf.iter(QueryContext ctx)
|
Iter |
FNHttp.iter(QueryContext ctx)
|
ValueIter |
InlineFunc.iter(QueryContext ctx)
|
Iter |
FNInspect.iter(QueryContext ctx)
|
Iter |
FNXQuery.iter(QueryContext ctx)
|
Iter |
DynFuncCall.iter(QueryContext ctx)
|
Iter |
FNRandom.iter(QueryContext ctx)
|
Iter |
FNHof.iter(QueryContext ctx)
|
Iter |
FNFile.iter(QueryContext ctx)
|
Iter |
FNQName.iter(QueryContext ctx)
|
protected Expr |
FNInfo.opt(QueryContext ctx)
|
protected Expr |
FNSimple.opt(QueryContext ctx)
|
protected Expr |
FNGen.opt(QueryContext ctx)
|
protected Expr |
StandardFunc.opt(QueryContext ctx)
Performs function specific optimizations. |
protected Expr |
FNSeq.opt(QueryContext ctx)
|
protected Expr |
FNAggr.opt(QueryContext ctx)
|
protected Expr |
FNStream.opt(QueryContext ctx)
|
protected Expr |
FNXQuery.opt(QueryContext ctx)
|
protected Expr |
FNHof.opt(QueryContext ctx)
|
Expr |
StandardFunc.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
PartFunc.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
InlineFunc.optimize(QueryContext ctx,
VarScope scp)
|
TokenMap |
FuncParams.parse(Item it)
Converts the parameters of the argument to a token map. |
TokenMap |
FuncParams.parse(Item it,
boolean ignore)
Converts the parameters of the argument to a token map. |
static Item |
FNNum.round(Item it,
double d,
long prec,
boolean h2e,
InputInfo ii)
Returns a rounded item. |
static TokenMap |
FuncParams.serializerMap(Item it,
InputInfo info)
Converts the specified parameter item to a map. |
static SerializerProp |
FuncParams.serializerProp(Item it,
InputInfo info)
Converts the specified parameters to serialization properties. |
static SerializerProp |
FuncParams.serializerProp(TokenMap map,
InputInfo info)
Converts the specified parameters to serialization properties. |
static Value |
JavaMapping.toValue(java.lang.Object obj,
QueryContext ctx)
Converts the specified result to an XQuery value. |
static FuncLit |
FuncLit.unknown(QNm nm,
long ar,
QueryContext ctx,
InputInfo ii)
Creates a function literal for a function that was not yet encountered while parsing. |
Value |
TailFuncCall.value(QueryContext ctx)
|
Value |
FNDb.value(QueryContext ctx)
|
Value |
FNSimple.value(QueryContext ctx)
|
Value |
FNGen.value(QueryContext ctx)
|
Value |
JavaMapping.value(QueryContext ctx)
|
Value |
FNStr.value(QueryContext ctx)
|
Value |
FNPat.value(QueryContext ctx)
|
Value |
BaseFuncCall.value(QueryContext ctx)
|
Value |
FNMap.value(QueryContext ctx)
|
Value |
PartFunc.value(QueryContext ctx)
|
Value |
FNValidate.value(QueryContext ctx)
|
Value |
FNClient.value(QueryContext ctx)
|
Value |
FNConvert.value(QueryContext ctx)
|
Value |
InlineFunc.value(QueryContext ctx)
|
Value |
FNXQuery.value(QueryContext ctx)
|
Value |
DynFuncCall.value(QueryContext ctx)
|
Value |
FNHof.value(QueryContext ctx)
|
Uses of QueryException in org.basex.query.gflwor |
---|
Constructors in org.basex.query.gflwor that throw QueryException | |
---|---|
Window(InputInfo ii,
boolean slide,
Var v,
Expr in,
Window.Condition st,
boolean o,
Window.Condition nd)
Constructor. |
Uses of QueryException in org.basex.query.iter |
---|
Methods in org.basex.query.iter that throw QueryException | |
---|---|
Item |
Iter.get(long i)
Returns the specified item, or an arbitrary item if the index is invalid. |
abstract FTNode |
FTIter.next()
|
abstract Item |
Iter.next()
Returns the next item or null if no other items are found. |
abstract ANode |
NodeIter.next()
|
Value |
Iter.value()
Returns a sequence with all iterator values. |
Uses of QueryException in org.basex.query.path |
---|
Methods in org.basex.query.path that throw QueryException | |
---|---|
Expr |
Path.addPreds(QueryContext ctx,
VarScope scp,
Expr... pred)
Adds a predicate to the last step. |
void |
Path.checkUp()
|
Expr |
Step.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Bang.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Path.compile(QueryContext ctx,
VarScope scp)
|
protected Expr |
MixedPath.compilePath(QueryContext ctx,
VarScope scp)
|
protected Expr |
AxisPath.compilePath(QueryContext ctx,
VarScope scp)
|
protected abstract Expr |
Path.compilePath(QueryContext ctx,
VarScope scp)
Compiles the location path. |
Expr |
Step.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
Path.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Iter |
MixedPath.iter(QueryContext ctx)
|
Iter |
Bang.iter(QueryContext ctx)
|
Expr |
AxisPath.optimize(QueryContext ctx,
VarScope scp)
|
Expr |
Path.optimize(QueryContext ctx,
VarScope scp)
|
Value |
Bang.value(QueryContext ctx)
|
Uses of QueryException in org.basex.query.regex.parse |
---|
Methods in org.basex.query.regex.parse that throw QueryException | |
---|---|
static java.util.regex.Pattern |
RegExParser.parse(byte[] regex,
byte[] mod,
boolean ext,
InputInfo ii)
Compiles this regular expression to a Pattern . |
Uses of QueryException in org.basex.query.up |
---|
Methods in org.basex.query.up that throw QueryException | |
---|---|
void |
Updates.add(Operation up,
QueryContext ctx)
Adds an update primitive to the current context modifier. |
void |
Updates.apply()
Executes all updates. |
Uses of QueryException in org.basex.query.up.expr |
---|
Methods in org.basex.query.up.expr that throw QueryException | |
---|---|
void |
Transform.checkUp()
|
Expr |
Transform.compile(QueryContext ctx,
VarScope scp)
|
Expr |
Transform.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Item |
Delete.item(QueryContext ctx,
InputInfo ii)
|
Item |
Insert.item(QueryContext ctx,
InputInfo ii)
|
Item |
Replace.item(QueryContext ctx,
InputInfo ii)
|
Item |
Rename.item(QueryContext ctx,
InputInfo ii)
|
ValueIter |
Transform.iter(QueryContext ctx)
|
Value |
Transform.value(QueryContext ctx)
|
Uses of QueryException in org.basex.query.up.primitives |
---|
Methods in org.basex.query.up.primitives that throw QueryException | |
---|---|
protected void |
DBNew.addDocs(MemData dt,
java.lang.String name)
Inserts all documents to be added to a temporary database. |
void |
DBStore.apply()
|
void |
DBDrop.apply()
|
void |
DBOptimize.apply()
|
void |
Put.apply()
|
abstract void |
BasicOperation.apply()
Applies this operation. |
void |
DBCreate.apply()
|
protected void |
DBNew.check(boolean create)
Checks the validity of the assigned database options. |
void |
DBDrop.merge(BasicOperation o)
|
void |
Put.merge(BasicOperation o)
|
abstract void |
BasicOperation.merge(BasicOperation o)
Merges this operation with the given one. |
void |
DBCreate.merge(BasicOperation o)
|
void |
DBRename.merge(BasicOperation o)
|
void |
ReplaceNode.merge(UpdatePrimitive p)
|
void |
InsertAttribute.merge(UpdatePrimitive p)
|
void |
RenameNode.merge(UpdatePrimitive p)
|
void |
ReplaceValue.merge(UpdatePrimitive p)
|
abstract void |
UpdatePrimitive.merge(UpdatePrimitive p)
Merges two update primitives, as they have the same target node. |
void |
InsertBefore.merge(UpdatePrimitive p)
|
void |
InsertAfter.merge(UpdatePrimitive p)
|
void |
InsertIntoAsFirst.merge(UpdatePrimitive p)
|
void |
DBStore.prepare(MemData tmp)
|
void |
DBDrop.prepare(MemData tmp)
|
void |
DBDelete.prepare(MemData tmp)
|
void |
DBFlush.prepare(MemData tmp)
|
void |
DBOptimize.prepare(MemData tmp)
|
void |
DBAdd.prepare(MemData tmp)
|
void |
Put.prepare(MemData tmp)
|
abstract void |
BasicOperation.prepare(MemData tmp)
Prepares this operation. |
void |
DBCreate.prepare(MemData tmp)
|
void |
DBRename.prepare(MemData tmp)
|
Constructors in org.basex.query.up.primitives that throw QueryException | |
---|---|
DBCreate(InputInfo ii,
java.lang.String nm,
java.util.List<NewInput> in,
TokenMap map,
QueryContext c)
Constructor. |
|
DBOptimize(Data dt,
QueryContext ctx,
boolean al,
TokenMap map,
InputInfo ii)
Constructor. |
Uses of QueryException in org.basex.query.util |
---|
Methods in org.basex.query.util that return QueryException | |
---|---|
static QueryException |
Err.cast(InputInfo ii,
Type t,
Value v)
Throws a type cast exception. |
static QueryException |
Err.circVar(QueryContext ctx,
StaticVar var)
Throws an exception for circular static variables. |
static QueryException |
Err.diff(InputInfo ii,
Item it1,
Item it2)
Throws a comparison exception. |
static QueryException |
Err.number(ParseExpr e,
Item it)
Throws a number exception. |
QueryException |
Err.thrw(InputInfo ii,
java.lang.Object... ext)
Throws a query exception. |
static QueryException |
Err.thrw(java.lang.String name,
InputInfo ii,
java.lang.String msg)
Returns an error for the specified name. |
static QueryException |
Err.treat(InputInfo ii,
SeqType t,
Expr e)
Throws a type promoting exception. |
static QueryException |
Err.type(ParseExpr e,
Type t,
Item it)
Throws a type exception. |
static QueryException |
Err.value(InputInfo ii,
Type t,
java.lang.Object v)
Throws an invalid value exception. |
Methods in org.basex.query.util that throw QueryException | |
---|---|
void |
NSContext.add(byte[] pref,
byte[] uri,
InputInfo ii)
Validates and adds the specified namespace at parsing time. |
boolean |
CollationItemSet.add(Item item,
InputInfo ii)
|
boolean |
HashItemSet.add(Item key,
InputInfo ii)
|
boolean |
ItemSet.add(Item key,
InputInfo ii)
Stores the specified key if it has not been stored before. |
void |
ItemValueMap.add(Item key,
Value value,
InputInfo ii)
Indexes the specified key and stores the associated value. |
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. |
static QueryException |
Err.cast(InputInfo ii,
Type t,
Value v)
Throws a type cast exception. |
void |
Ann.check(boolean var)
Checks all annotations for parsing errors. |
static QueryException |
Err.circVar(QueryContext ctx,
StaticVar var)
Throws an exception for circular static variables. |
boolean |
Collation.contains(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string is contained in another. |
abstract ANode |
JsonXMLConverter.convert(java.lang.String in)
|
boolean |
Compare.deep(Iter iter1,
Iter iter2)
Checks values for deep equality. |
static boolean |
Compare.deep(Iter iter1,
Iter iter2,
InputInfo info)
Checks items for deep equality. |
static boolean |
Compare.deep(Value val1,
Value val2,
InputInfo info)
Checks items for deep equality. |
static QueryException |
Err.diff(InputInfo ii,
Item it1,
Item it2)
Throws a comparison exception. |
boolean |
Collation.endsWith(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string ends with another. |
static Collation |
Collation.get(byte[] uri,
QueryContext ctx,
InputInfo info,
Err err)
Returns a collation instance for the specified uri. |
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. |
static QueryException |
Err.number(ParseExpr e,
Item it)
Throws a number exception. |
int |
HashItemSet.put(Item key,
InputInfo ii)
Stores the specified key and returns its id. |
boolean |
Collation.startsWith(byte[] string,
byte[] sub,
InputInfo info)
Checks if a string starts with another. |
QueryException |
Err.thrw(InputInfo ii,
java.lang.Object... ext)
Throws a query exception. |
static QueryException |
Err.thrw(java.lang.String name,
InputInfo ii,
java.lang.String msg)
Returns an error for the specified name. |
static QueryException |
Err.treat(InputInfo ii,
SeqType t,
Expr e)
Throws a type promoting exception. |
static QueryException |
Err.type(ParseExpr e,
Type t,
Item it)
Throws a type exception. |
static QueryException |
Err.value(InputInfo ii,
Type t,
java.lang.Object v)
Throws an invalid value exception. |
Uses of QueryException in org.basex.query.util.archive |
---|
Methods in org.basex.query.util.archive that throw QueryException | |
---|---|
static ArchiveIn |
ArchiveIn.get(BufferInput bi,
InputInfo info)
Returns a new instance of an archive reader. |
static ArchiveOut |
ArchiveOut.get(java.lang.String format,
InputInfo info)
Returns a new instance of an archive writer. |
Uses of QueryException in org.basex.query.util.crypto |
---|
Methods in org.basex.query.util.crypto that throw QueryException | |
---|---|
Str |
Encryption.encryption(byte[] in,
byte[] s,
byte[] k,
byte[] a,
boolean ec)
Encrypts or decrypts the given input. |
Item |
DigitalSignature.generateSignature(ANode node,
byte[] c,
byte[] d,
byte[] sig,
byte[] ns,
byte[] t,
byte[] expr,
ANode ce,
QueryContext ctx,
InputInfo ii)
Generates a signature. |
Item |
Encryption.hmac(byte[] msg,
byte[] k,
byte[] a,
byte[] enc)
Creates a message authentication code (MAC) for the given input. |
Item |
DigitalSignature.validateSignature(ANode node)
Validates a signature. |
Uses of QueryException in org.basex.query.util.format |
---|
Methods in org.basex.query.util.format that throw QueryException | |
---|---|
byte[] |
DecFormatter.format(InputInfo ii,
Item number,
byte[] pict)
Returns a formatted number. |
byte[] |
Formatter.formatDate(ADate date,
byte[] lng,
byte[] pic,
byte[] cal,
byte[] plc,
InputInfo ii)
Formats the specified date. |
byte[] |
Formatter.formatZone(int num,
FormatParser fp,
byte[] marker)
Returns a formatted timezone. |
protected byte[] |
FormatParser.presentation(byte[] pic,
byte[] def,
boolean date)
Parses and returns the presentation modifier. |
Constructors in org.basex.query.util.format that throw QueryException | |
---|---|
DateFormat(byte[] pic,
byte[] df,
InputInfo ii)
Constructor. |
|
DecFormatter()
Default constructor. |
|
DecFormatter(InputInfo ii,
TokenMap map)
Constructor. |
|
IntFormat(byte[] p,
InputInfo ii)
Constructor. |
Uses of QueryException in org.basex.query.util.http |
---|
Methods in org.basex.query.util.http that throw QueryException | |
---|---|
ValueIter |
HTTPResponse.getResponse(java.net.HttpURLConnection conn,
byte[] status,
java.lang.String utype)
Constructs http:response element and reads HTTP response content. |
java.util.HashMap<java.lang.String,Value> |
HTTPPayload.multiForm(java.lang.String ext)
Returns a map with multipart form data. |
HTTPRequest |
HTTPRequestParser.parse(ANode request,
ValueBuilder bodies)
Parses an |
FElem |
HTTPPayload.parse(boolean error,
java.lang.String ctype,
java.lang.String utype)
Parses the HTTP payload and returns a result body element. |
Iter |
HTTPClient.sendRequest(byte[] href,
ANode request,
ValueBuilder bodies)
Sends an HTTP request and returns the response. |
void |
HTTPClient.setRequestContent(java.io.OutputStream out,
HTTPRequest r)
Set HTTP request content. |
static Value |
HTTPPayload.value(IO in,
Prop prop,
java.lang.String ctype,
java.lang.String ext)
Returns an XQuery value for the specified content type. |
Uses of QueryException in org.basex.query.util.inspect |
---|
Methods in org.basex.query.util.inspect that throw QueryException | |
---|---|
protected void |
Inspect.annotation(Ann ann,
FElem parent,
boolean uri)
Creates annotation child elements. |
FElem |
PlainDoc.context()
Parses a module and returns an inspection element. |
FElem |
PlainDoc.function(QNm fname,
StaticFunc sf,
FuncType ftype,
FElem parent)
Creates a description for the specified function. |
FElem |
PlainDoc.parse(IO io)
|
abstract FElem |
Inspect.parse(IO io)
Parses a module and returns an inspection element. |
FElem |
XQDoc.parse(IO io)
|
QueryParser |
Inspect.parseQuery(IO io)
Parses a module. |
Uses of QueryException in org.basex.query.util.json |
---|
Methods in org.basex.query.util.json that throw QueryException | |
---|---|
void |
JsonStringConverter.booleanLit(boolean b)
|
void |
JsonHandler.booleanLit(boolean b)
Called when a boolean literal is encountered. |
void |
JsonStringConverter.closeArg()
|
void |
JsonHandler.closeArg()
Called when an argument of a constructor function is closed. |
void |
JsonMapConverter.closeArg()
|
void |
JsonStringConverter.closeArray()
|
void |
JsonHandler.closeArray()
Called when a JSON array is closed. |
void |
JsonStringConverter.closeArrayEntry()
|
void |
JsonHandler.closeArrayEntry()
Called when an entry of a JSON array is closed. |
void |
JsonMapConverter.closeArrayEntry()
|
void |
JsonStringConverter.closeConstr()
|
void |
JsonHandler.closeConstr()
Called when a constructor function is closed. |
void |
JsonMapConverter.closeConstr()
|
void |
JsonStringConverter.closeEntry()
|
void |
JsonHandler.closeEntry()
Called when an entry of a JSON object is closed. |
void |
JsonMapConverter.closeEntry()
|
void |
JsonStringConverter.closeObject()
|
void |
JsonHandler.closeObject()
Called when a JSON object is closed. |
abstract Item |
JsonConverter.convert(java.lang.String in)
Converts the given JSON string into an XQuery value. |
Item |
JsonMapConverter.convert(java.lang.String in)
|
ANode |
JsonMLConverter.convert(java.lang.String in)
|
ANode |
JsonCGConverter.convert(java.lang.String in)
|
void |
JsonStringConverter.nullLit()
|
void |
JsonHandler.nullLit()
Called when a null literal is encountered. |
void |
JsonStringConverter.numberLit(byte[] value)
|
void |
JsonHandler.numberLit(byte[] value)
Called when a number literal is encountered. |
void |
JsonMapConverter.numberLit(byte[] val)
|
void |
JsonStringConverter.openArg()
|
void |
JsonHandler.openArg()
Called when an argument of a constructor function is opened. |
void |
JsonStringConverter.openArray()
|
void |
JsonHandler.openArray()
Called when a JSON array is opened. |
void |
JsonStringConverter.openArrayEntry()
|
void |
JsonHandler.openArrayEntry()
Called when an entry of a JSON array is opened. |
void |
JsonStringConverter.openConstr(byte[] name)
|
void |
JsonHandler.openConstr(byte[] name)
Called when a constructor function is opened. |
void |
JsonStringConverter.openEntry(byte[] key)
|
void |
JsonHandler.openEntry(byte[] key)
Called when an entry of a JSON object is opened. |
void |
JsonStringConverter.openObject()
|
void |
JsonHandler.openObject()
Called when a JSON object is opened. |
static void |
JsonParser.parse(java.lang.String json,
JsonParser.Spec sp,
boolean unesc,
JsonHandler h,
InputInfo ii)
Parses the input JSON string and directs the parse events to the given handler. |
static TokenBuilder |
JsonStringConverter.print(java.lang.String json,
JsonParser.Spec spec,
boolean un,
TokenBuilder tb)
Writes a pretty-printed representation of the given JSON string to the given builder. |
void |
JsonHandler.stringLit(byte[] bs)
Called when a string literal is encountered. |
Uses of QueryException in org.basex.query.util.pkg |
---|
Methods in org.basex.query.util.pkg that throw QueryException | |
---|---|
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(java.lang.String pkg)
Removes a package from the package repository. |
boolean |
RepoManager.install(java.lang.String path)
Installs a package. |
JarDesc |
JarParser.parse(IO io)
Parses a jar descriptor. |
Package |
PkgParser.parse(IO io)
Parses package descriptor. |
Uses of QueryException in org.basex.query.util.unit |
---|
Methods in org.basex.query.util.unit that throw QueryException | |
---|---|
FElem |
Unit.test()
Performs the test function. |
FElem |
Unit.test(java.util.ArrayList<StaticFunc> funcs)
Performs the test function. |
Item |
Suite.test(TokenList libs)
Tests all specified libraries. |
Uses of QueryException in org.basex.query.value |
---|
Methods in org.basex.query.value that throw QueryException | |
---|---|
abstract int |
Value.hash(InputInfo ii)
Returns a hash code for this value. |
Expr |
Value.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
ArrayOutput |
Value.serialize()
Serializes the value, using the standard XML serializer, and returns the cached result. |
abstract java.lang.Object |
Value.toJava()
Returns a Java representation of the value. |
Uses of QueryException in org.basex.query.value.item |
---|
Methods in org.basex.query.value.item that return QueryException | |
---|---|
protected QueryException |
Item.castErr(java.lang.Object val,
InputInfo ii)
Throws a cast error. |
protected QueryException |
ADateDur.dateErr(byte[] i,
java.lang.String ex,
InputInfo ii)
Throws a date format exception. |
Methods in org.basex.query.value.item that throw QueryException | |
---|---|
byte[] |
B64Stream.binary(InputInfo ii)
|
byte[] |
Bin.binary(InputInfo ii)
Returns the binary content. |
boolean |
Atm.bool(InputInfo ii)
|
boolean |
AStr.bool(InputInfo ii)
|
boolean |
Item.bool(InputInfo ii)
Returns a boolean representation of the value. |
protected QueryException |
Item.castErr(java.lang.Object val,
InputInfo ii)
Throws a cast error. |
FItem |
FuncItem.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii)
|
abstract FItem |
FItem.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii)
Coerces this function item to the given function type. |
void |
FuncItem.compile(QueryContext ctx)
|
protected QueryException |
ADateDur.dateErr(byte[] i,
java.lang.String ex,
InputInfo ii)
Throws a date format exception. |
protected void |
Dur.dayTime(byte[] vl,
java.util.regex.Matcher mt,
int p,
InputInfo ii)
Initializes the dayTime component. |
double |
Item.dbl(InputInfo ii)
Returns a double representation of the value. |
java.math.BigDecimal |
Dbl.dec(InputInfo ii)
|
java.math.BigDecimal |
Item.dec(InputInfo ii)
Returns a decimal representation of the value. |
java.math.BigDecimal |
Flt.dec(InputInfo ii)
|
int |
Dur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Bln.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
ADate.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Dbl.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Atm.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
GDt.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
QNm.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Dec.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
YMDur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
AStr.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 |
DTDur.diff(Item it,
Collation coll,
InputInfo ii)
|
int |
Flt.diff(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dur.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Hex.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Bln.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
ADate.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dbl.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Atm.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
QNm.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Dec.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
AStr.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Jav.eq(Item it,
Collation coll,
InputInfo ii)
|
abstract boolean |
Item.eq(Item it,
Collation coll,
InputInfo ii)
Checks the items for equality. |
boolean |
Int.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
FItem.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
B64.eq(Item it,
Collation coll,
InputInfo ii)
|
boolean |
Flt.eq(Item it,
Collation coll,
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[] v,
InputInfo ii)
Returns an instance of this class. |
static Str |
Str.get(java.lang.Object v,
QueryContext ctx,
InputInfo ii)
Returns an instance of this class. |
int |
ADate.hash(InputInfo ii)
|
int |
QNm.hash(InputInfo ii)
|
int |
Item.hash(InputInfo ii)
|
BufferInput |
B64Stream.input(InputInfo ii)
|
TextInput |
StrStream.input(InputInfo ii)
|
BufferInput |
Bin.input(InputInfo ii)
|
BufferInput |
Item.input(InputInfo ii)
Returns an input stream. |
Item |
FuncItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
|
Item |
FItem.invItem(QueryContext ctx,
InputInfo ii,
Value... args)
|
Value |
FuncItem.invValue(QueryContext ctx,
InputInfo ii,
Value... args)
|
long |
Item.itr(InputInfo ii)
Returns an integer (long) representation of the value. |
Item |
B64Stream.materialize(InputInfo ii)
|
Item |
StrStream.materialize(InputInfo ii)
|
Str |
Jav.materialize(InputInfo ii)
|
Item |
Item.materialize(InputInfo ii)
Materializes streamable values, or returns a self reference. |
static boolean |
Bln.parse(byte[] str,
InputInfo ii)
Converts the specified string to a boolean. |
static double |
Dbl.parse(byte[] val,
InputInfo ii)
Converts the given token into a double value. |
static java.math.BigDecimal |
Dec.parse(byte[] val,
InputInfo ii)
Converts the given token into a decimal value. |
static long |
Int.parse(byte[] val,
InputInfo ii)
Converts the given item into a long value. |
static java.math.BigDecimal |
Dec.parse(double val,
InputInfo ii)
Converts the given double into a decimal value. |
Uri |
Uri.resolve(Uri add,
InputInfo info)
Appends the specified address. |
byte[] |
Hex.string(InputInfo ii)
|
byte[] |
StrStream.string(InputInfo ii)
|
byte[] |
Jav.string(InputInfo ii)
|
abstract byte[] |
Item.string(InputInfo ii)
Returns a string representation of the value. |
byte[] |
FItem.string(InputInfo ii)
|
byte[] |
B64.string(InputInfo ii)
|
Item |
ANum.test(QueryContext ctx,
InputInfo ii)
|
Item |
Item.test(QueryContext ctx,
InputInfo ii)
|
Item |
Int.test(QueryContext ctx,
InputInfo ii)
|
abstract void |
ADate.timeZone(DTDur tz,
boolean spec,
InputInfo ii)
Adjusts the timezone. |
void |
Dtm.timeZone(DTDur tz,
boolean spec,
InputInfo ii)
|
void |
GDt.timeZone(DTDur tz,
boolean d,
InputInfo ii)
|
void |
Dat.timeZone(DTDur tz,
boolean spec,
InputInfo ii)
|
void |
Tim.timeZone(DTDur tz,
boolean spec,
InputInfo ii)
|
protected java.math.BigDecimal |
ADateDur.toDecimal(java.lang.String s,
boolean dur,
InputInfo ii)
Date and durations: converts the specified string to a decimal value. |
java.lang.String |
StrStream.toJava()
|
byte[] |
Bin.toJava()
|
java.lang.Object |
FItem.toJava()
|
protected long |
ADateDur.toLong(java.lang.String s,
boolean dur,
InputInfo ii)
Date and durations: converts the specified string to an integer value. |
protected void |
ADate.tz(DTDur tz,
boolean spec,
InputInfo ii)
Adjusts the timezone. |
protected void |
Dur.yearMonth(byte[] vl,
java.util.regex.Matcher mt,
InputInfo ii)
Initializes the yearMonth component. |
Constructors in org.basex.query.value.item that throw QueryException | |
---|---|
B64(Bin b,
InputInfo ii)
Constructor. |
|
B64(byte[] v,
InputInfo ii)
Constructor. |
|
Dat(byte[] date,
InputInfo ii)
Constructor. |
|
Dat(Dat date,
Dur dur,
boolean plus,
InputInfo ii)
Constructor. |
|
DTDur(ADate dat,
ADate sub,
InputInfo ii)
Constructor. |
|
DTDur(byte[] vl,
InputInfo ii)
Constructor. |
|
DTDur(DTDur it,
DTDur a,
boolean p,
InputInfo ii)
Constructor. |
|
DTDur(Dur it,
double f,
boolean m,
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[] v,
InputInfo ii)
Constructor. |
|
GDt(byte[] d,
Type t,
InputInfo ii)
Constructor. |
|
Hex(Bin b,
InputInfo ii)
Constructor. |
|
Hex(byte[] v,
InputInfo ii)
Constructor. |
|
Tim(byte[] time,
InputInfo ii)
Constructor. |
|
YMDur(byte[] vl,
InputInfo ii)
Constructor. |
|
YMDur(Dur it,
double f,
boolean m,
InputInfo ii)
Constructor. |
|
YMDur(YMDur it,
YMDur a,
boolean p,
InputInfo ii)
Constructor. |
Uses of QueryException in org.basex.query.value.map |
---|
Methods in org.basex.query.value.map that throw QueryException | |
---|---|
Map |
Map.addAll(Map other,
InputInfo ii)
Adds all bindings from the given map into this . |
Map |
Map.coerceTo(FuncType ft,
QueryContext ctx,
InputInfo ii)
|
Bln |
Map.contains(Item k,
InputInfo ii)
Checks if the given key exists in the map. |
boolean |
Map.deep(InputInfo ii,
Map o)
Checks if the this map is deep-equal to the given one. |
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)
|
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)
|
java.util.HashMap<java.lang.Object,java.lang.Object> |
Map.toJava()
|
TokenMap |
Map.tokenMap(InputInfo ii)
Converts the map to a map with keys and values represented as tokens. |
Uses of QueryException in org.basex.query.value.node |
---|
Methods in org.basex.query.value.node that throw QueryException | |
---|---|
double |
DBNode.dbl(InputInfo ii)
|
int |
ANode.diff(Item it,
Collation coll,
InputInfo ii)
|
boolean |
ANode.eq(Item it,
Collation coll,
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. |
Uses of QueryException in org.basex.query.value.seq |
---|
Methods in org.basex.query.value.seq that throw QueryException | |
---|---|
Item |
ItemSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
NativeSeq.ebv(QueryContext ctx,
InputInfo ii)
|
Item |
RangeSeq.ebv(QueryContext ctx,
InputInfo ii)
|
static Value |
StrSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
FltSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
DecSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
BlnSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
DblSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
BytSeq.get(Value[] vals,
int size)
Creates a sequence with the items in the specified expressions. |
static Value |
IntSeq.get(Value[] vals,
int size,
Type type)
Creates a sequence with the items in the specified expressions. |
int |
Seq.hash(InputInfo ii)
|
Item |
Seq.item(QueryContext ctx,
InputInfo ii)
|
Item |
Seq.test(QueryContext ctx,
InputInfo ii)
|
java.lang.Object |
IntSeq.toJava()
|
java.lang.Object |
Seq.toJava()
|
Uses of QueryException in org.basex.query.value.type |
---|
Methods in org.basex.query.value.type that throw QueryException | |
---|---|
Item |
AtomType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Map |
MapType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
abstract Value |
ListType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
FItem |
FuncType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.cast(Item it,
QueryContext ctx,
InputInfo ii)
|
Value |
Type.cast(Item it,
QueryContext ctx,
InputInfo ii)
Casts the specified item to the XQuery data type. |
Value |
SeqType.cast(Item it,
QueryContext ctx,
InputInfo ii,
ExprInfo e)
Tries to cast the given item to this sequence type. |
Item |
AtomType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Value |
ListType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
|
Value |
Type.cast(java.lang.Object o,
QueryContext ctx,
InputInfo ii)
Casts the specified Java object to the XQuery data type. |
Value |
SeqType.cast(Value val,
QueryContext ctx,
InputInfo ii,
ExprInfo e)
Casts a sequence to this type. |
Item |
AtomType.castString(java.lang.String o,
QueryContext ctx,
InputInfo ii)
|
Value |
ListType.castString(java.lang.String o,
QueryContext ctx,
InputInfo ii)
|
Item |
NodeType.castString(java.lang.String o,
QueryContext ctx,
InputInfo ii)
|
Value |
Type.castString(java.lang.String s,
QueryContext ctx,
InputInfo ii)
Casts the specified string to the XQuery data type. |
protected static Value |
ListType.create(Item it,
QueryContext ctx,
InputInfo ii,
AtomType type)
Creates a sequence with the resulting list items. |
Value |
SeqType.funcConvert(QueryContext ctx,
InputInfo ii,
Value val)
Performs function conversion on the given value. |
Value |
SeqType.treat(Value val,
InputInfo ii)
Treats the specified value as this sequence type. |
Uses of QueryException in org.basex.query.var |
---|
Methods in org.basex.query.var that throw QueryException | |
---|---|
boolean |
StaticVar.bind(Expr e,
QueryContext ctx)
Binds an expression to this variable from outside the query. |
void |
Variables.bindExternal(QueryContext ctx,
java.util.HashMap<QNm,Expr> bindings)
Binds all external variables. |
void |
Variables.check(QueryContext ctx)
Checks if all variables were declared and are visible to all their references. |
Expr |
Var.checked(Expr e,
QueryContext ctx,
VarScope scp,
InputInfo ii)
Returns an equivalent to the given expression that checks this variable's type. |
Value |
Var.checkType(Value val,
QueryContext ctx,
InputInfo ii)
Checks the type of this value and casts/promotes it when necessary. |
void |
VarRef.checkUp()
|
void |
StaticVar.checkUp()
Checks for the correct placement of updating expressions in this variable. |
void |
StaticVarRef.checkUp()
|
void |
Variables.checkUp()
Checks if none of the variables contains an updating expression. |
void |
StaticVar.compile(QueryContext ctx)
|
Expr |
VarRef.compile(QueryContext ctx,
VarScope scp)
|
Expr |
StaticVarRef.compile(QueryContext ctx,
VarScope o)
|
StaticVar |
Variables.declare(QNm nm,
SeqType t,
Ann a,
Expr e,
boolean ext,
StaticContext sctx,
VarScope scp,
java.lang.String xqdoc,
InputInfo ii)
Declares a new static variable. |
void |
StaticVarRef.init(StaticVar vr)
Initializes this reference with the given variable. |
Expr |
VarRef.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Expr |
StaticVarRef.inline(QueryContext ctx,
VarScope scp,
Var v,
Expr e)
|
Item |
VarRef.item(QueryContext ctx,
InputInfo ii)
|
Iter |
VarRef.iter(QueryContext ctx)
|
Iter |
StaticVarRef.iter(QueryContext ctx)
|
StaticVarRef |
Variables.newRef(QNm nm,
StaticContext sctx,
InputInfo ii)
returns a new reference to the (possibly not yet declared) variable with the given name. |
void |
Var.refineType(SeqType t,
QueryContext ctx,
InputInfo ii)
Tries to refine the compile-time type of this variable through the type of the bound expression. |
Value |
VarRef.value(QueryContext ctx)
|
Value |
StaticVar.value(QueryContext ctx)
Evaluates this variable lazily. |
Value |
StaticVarRef.value(QueryContext ctx)
|
Uses of QueryException in org.basex.util.ft |
---|
Methods in org.basex.util.ft that throw QueryException | |
---|---|
boolean |
FTBitapSearch.TokenComparator.equal(byte[] t1,
byte[] t2)
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |