Package org.basex.query.value.item
Class Bin
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.Bin
Abstract class for binary items.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Field Summary
-
Method Summary
Methods inherited from class org.basex.query.value.item.Item
atomItem, atomSize, atomValue, bool, cache, comparable, dbl, ddo, dec, description, diff, ebv, eq, equiv, flt, hash, instanceOf, item, itemAt, iter, itr, materialize, persistent, plan, refineType, reverse, sameKey, score, seqType, size, string, 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, data, funcType, hasFreeVars, indexAccessible, isSimple, markTailCalls, mergeEbv, optimize, simplifyFor, typeCheck, uses, vacuous, visitAllMethods inherited from class org.basex.query.expr.ExprInfo
plan, 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
-
Method Details
-
binary
Returns the binary content.- Parameters:
ii- input info- Returns:
- content
- Throws:
QueryException- query exception
-
input
Description copied from class:ItemReturns an input stream.- Overrides:
inputin classItem- Parameters:
ii- input info (can benull)- Returns:
- input stream
- Throws:
QueryException- query exception
-
toJava
Description copied from class:ValueReturns a Java representation of the value.- Specified by:
toJavain classValue- Returns:
- Java object
- Throws:
QueryException- query exception
-
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.
-