Class TransformExpressionIterator
java.lang.Object
org.rumbledb.runtime.plan.RuntimePlan<Item>
org.rumbledb.runtime.plan.ItemRuntimePlan
org.rumbledb.runtime.update.expression.TransformExpressionIterator
- All Implemented Interfaces:
Serializable,LocalRuntimePlan<Item>,RDDRuntimePlan<Item>,UpdatingRuntimePlan
public class TransformExpressionIterator
extends ItemRuntimePlan
implements LocalRuntimePlan<Item>, RDDRuntimePlan<Item>, UpdatingRuntimePlan
- See Also:
-
Field Summary
Fields inherited from class org.rumbledb.runtime.plan.RuntimePlan
staticContext -
Constructor Summary
ConstructorsConstructorDescriptionTransformExpressionIterator(Map<Name, ? extends ItemRuntimePlan> copyDeclMap, ItemRuntimePlan modifyIterator, ItemRuntimePlan returnIterator, RuntimeStaticContext staticContext, int mutabilityLevel, boolean resultMutable) -
Method Summary
Modifier and TypeMethodDescriptioncreateNativeCursor(DynamicContext context) Creates an independent cursor for one native local evaluation.org.apache.spark.api.java.JavaRDD<Item>createNativeRDD(DynamicContext context) Builds the RDD for one evaluation.getPendingUpdateList(DynamicContext context) 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
-
TransformExpressionIterator
public TransformExpressionIterator(Map<Name, ? extends ItemRuntimePlan> copyDeclMap, ItemRuntimePlan modifyIterator, ItemRuntimePlan returnIterator, RuntimeStaticContext staticContext, int mutabilityLevel, boolean resultMutable)
-
-
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
-
createNativeRDD
Description copied from interface:RDDRuntimePlanBuilds the RDD for one evaluation.- Specified by:
createNativeRDDin interfaceRDDRuntimePlan<Item>- Parameters:
context- the dynamic context for that evaluation- Returns:
- the resulting RDD
-
getPendingUpdateList
- Specified by:
getPendingUpdateListin interfaceUpdatingRuntimePlan
-