Class MapFunctionCallIterator
java.lang.Object
org.rumbledb.runtime.plan.RuntimePlan<Item>
org.rumbledb.runtime.plan.ItemRuntimePlan
org.rumbledb.runtime.functions.maps.MapFunctionCallIterator
- All Implemented Interfaces:
Serializable,LocalRuntimePlan<Item>,NativeQueryRuntimePlan
public class MapFunctionCallIterator
extends ItemRuntimePlan
implements LocalRuntimePlan<Item>, NativeQueryRuntimePlan
Dynamic function call when the function item is an XDM map (
$map($key)), equivalent to map:get.- See Also:
-
Field Summary
Fields inherited from class org.rumbledb.runtime.plan.RuntimePlan
staticContext -
Constructor Summary
ConstructorsConstructorDescriptionMapFunctionCallIterator(Item mapItem, ItemRuntimePlan keyIterator, RuntimeStaticContext staticContext) -
Method Summary
Modifier and TypeMethodDescriptioncreateNativeCursor(DynamicContext context) Creates an independent cursor for one native local evaluation.generateNativeQuery(NativeClauseContext nativeClauseContext) Methods 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
-
MapFunctionCallIterator
public MapFunctionCallIterator(Item mapItem, ItemRuntimePlan keyIterator, RuntimeStaticContext staticContext)
-
-
Method Details
-
createNativeCursor
Description copied from interface:LocalRuntimePlanCreates an independent cursor for one native local evaluation.- Specified by:
createNativeCursorin interfaceLocalRuntimePlan<Item>- Parameters:
context- the dynamic context for that evaluation- Returns:
- an unopened cursor
-
generateNativeQuery
- Specified by:
generateNativeQueryin interfaceNativeQueryRuntimePlan
-