public final class MapMerge extends StandardFunc
Modifier and Type | Class and Description |
---|---|
static class |
MapMerge.MergeOptions
Merge options.
|
definition, sc, UNROLL_LIMIT
Constructor and Description |
---|
MapMerge() |
Modifier and Type | Method and Description |
---|---|
Item |
item(QueryContext qc,
InputInfo ii)
Evaluates the expression and returns the resulting item,
or
Empty.VALUE if the expression yields an empty sequence. |
protected Expr |
opt(CompileContext cc)
Performs function specific optimizations.
|
args, checkAdmin, checkArity, checkArity, checkCreate, checkData, checkPath, checkPath, coerceFunc, copy, ctxArg, dataLock, dateTimeToMs, description, equals, has, isVacuous, optFirst, optimize, plan, preEval, serialize, toBaseUri, toBindings, toCollation, toDBNode, toEncoding, toNodeOrAtomItem, toOptions, toPath, toPath, toQuery, toQuery, toString
accept, allAreValues, checkUp, compile, copyAll, count, emptyExpr, exprSize, inline, inline, inlineable, toString
adoptType, atomValue, checkAllUp, checkNoEmpty, checkNoEmpty, checkNoneUp, checkNoUp, checkType, checkType, checkUp, copyType, ctxValue, ebv, iter, seqType, size, test, toArray, toArray, toAtomItem, toB64, toB64, toBin, toBin, toBoolean, toBoolean, toBytes, toBytes, toDouble, toDouble, toElem, toEmptyNode, toEmptyToken, toFloat, toFunc, toItem, toItem, toLong, toLong, toMap, toMap, toNode, toNode, toNumber, toNumber, toQNm, toQNm, toToken, toToken, toTokenOrNull, value
atomItem, atomIter, data, funcType, hasFreeVars, indexAccessible, inlineAll, isSimple, iterable, markTailCalls, merge, optimizeEbv, typeCheck, uses, visitAll
toErrorString
public Item item(QueryContext qc, InputInfo ii) throws QueryException
Expr
Empty.VALUE
if the expression yields an empty sequence.
If this method is not implemented, Expr.value(QueryContext)
must be implemented instead.item
in class ParseExpr
qc
- query contextii
- input info (only required by Seq
instances, which have no input info)Empty.VALUE
QueryException
- query exceptionprotected Expr opt(CompileContext cc) throws QueryException
StandardFunc
opt
in class StandardFunc
cc
- compilation contextQueryException
- query exceptionCopyright © 2005–2019 BaseX Team. All rights reserved.