Class MapRemoveFunctionIterator
java.lang.Object
org.rumbledb.runtime.plan.RuntimePlan<Item>
org.rumbledb.runtime.plan.ItemRuntimePlan
org.rumbledb.runtime.AbstractAtMostOneItemRuntimePlan
org.rumbledb.runtime.functions.maps.MapRemoveFunctionIterator
- All Implemented Interfaces:
Serializable,AtMostOneLocalRuntimePlan<Item>,LocalRuntimePlan<Item>
W3C XPath/XQuery
map:remove:
map:remove($map as map(*), $keys as xs:anyAtomicType*) as map(*).
Removes all entries whose key is the same-key as any supplied key (op:same-key).
This built-in is local execution only (consistent with other map/array accessors).- See Also:
-
Field Summary
Fields inherited from class org.rumbledb.runtime.plan.RuntimePlan
staticContext -
Constructor Summary
ConstructorsConstructorDescriptionMapRemoveFunctionIterator(List<ItemRuntimePlan> arguments, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptionevaluateAtMostOne(DynamicContext context) Evaluates the plan without allocating a cursor.Methods inherited from class org.rumbledb.runtime.AbstractAtMostOneItemRuntimePlan
createNativeCursorMethods inherited from class org.rumbledb.runtime.plan.ItemRuntimePlan
getChild, getChildren, getStaticType, getVariableDependencies, isSparkJobNeeded, printMethods inherited from class org.rumbledb.runtime.plan.RuntimePlan
getConfiguration, getCursor, getDataFrame, getMetadata, getRDD, getRuntimeStaticContext, materialize, materializeAtMost, materializeAtMostOne, materializeExactlyOne, materializeFirstOrNull
-
Constructor Details
-
MapRemoveFunctionIterator
public MapRemoveFunctionIterator(List<ItemRuntimePlan> arguments, RuntimeStaticContext staticContext)
-
-
Method Details
-
evaluateAtMostOne
Description copied from interface:AtMostOneLocalRuntimePlanEvaluates the plan without allocating a cursor.- Specified by:
evaluateAtMostOnein interfaceAtMostOneLocalRuntimePlan<Item>- Specified by:
evaluateAtMostOnein classAbstractAtMostOneItemRuntimePlan- Parameters:
context- the dynamic context for the evaluation- Returns:
- the value, or
nullfor the empty sequence
-