Package org.basex.query.value.item
Class Dummy
java.lang.Object
org.basex.query.expr.ExprInfo
org.basex.query.expr.Expr
org.basex.query.value.Value
org.basex.query.value.item.Item
org.basex.query.value.item.Dummy
Dummy item (only used at compile time).
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a boolean representation of the value.booleancomparable(Item item) Checks if the items can be compared.data()Returns the data reference bound to this expression.booleanddo()Indicates if this expression returns nodes in document order without duplicates.intReturns the difference between the current and the specified item.booleaneq(Item item, Collation coll, StaticContext sc, InputInfo ii) Compares the items for equality.booleanThis function is e.g.voidCreates a query plan.voidplan(QueryString qs) Creates a query string.booleanCompares the items for equality.seqType()Returns the static type of the resulting value.byte[]Returns a string representation of the value.toJava()Returns a Java representation of the value.Methods inherited from class org.basex.query.value.item.Item
atomItem, atomSize, atomValue, cache, dbl, dec, description, ebv, equiv, flt, hash, input, instanceOf, item, itemAt, iter, itr, materialize, persistent, refineType, reverse, score, size, subsequence, test, typeId, xdmInfoMethods inherited from class org.basex.query.value.Value
accept, checkUp, compile, copy, count, exprSize, has, inline, inlineable, isEmpty, isItem, iter, iterator, materialize, serialize, serialize, serialize, valueMethods inherited from class org.basex.query.expr.Expr
arg, args, atomIter, data, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAllMethods inherited from class org.basex.query.expr.ExprInfo
toErrorString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
Dummy
Constructor.- Parameters:
seqType- sequence typedata- data reference (can benull)
-
-
Method Details
-
seqType
Description copied from class:ExprReturns the static type of the resulting value. -
data
Description copied from class:Expr -
ddo
public boolean ddo()Description copied from class:ExprIndicates if this expression returns nodes in document order without duplicates. -
string
Description copied from class:ItemReturns a string representation of the value. -
bool
Description copied from class:ItemReturns a boolean representation of the value. -
eq
Description copied from class:ItemCompares the items for equality. -
sameKey
Description copied from class:ItemCompares the items for equality. -
diff
Description copied from class:ItemReturns the difference between the current and the specified item. This function is overwritten by the corresponding implementations. -
comparable
Description copied from class:ItemChecks if the items can be compared.- Overrides:
comparablein classItem- Parameters:
item- item to be compared- Returns:
- result of check
-
toJava
Description copied from class:ValueReturns a Java representation of the value. -
equals
Description copied from class:ExprThis function is e.g. called by:If.optimize(CompileContext),Switch.optimize(CompileContext),Typeswitch.optimize(CompileContext), in order to discard identical expressions.CmpR.mergeEbv(Expr, boolean, CompileContext)orCmpSR.mergeEbv(Expr, boolean, CompileContext), in order to merge expressions with identical input.CmpG.optimize(CompileContext)orCmpV.optimize(CompileContext), in order to pre-evaluate equality tests.CmpG.optimize(CompileContext)orPos.get(Expr, CmpV.OpV, InputInfo, CompileContext), in order to compare the start and end value.PathCache, in order to find identical root values at runtime.
-
plan
Description copied from class:ExprInfoCreates a query plan. -
plan
Description copied from class:ExprInfoCreates a query string.
-