Package org.rumbledb.runtime.dataframe
Class ItemRuntimeDataFrameFactory
java.lang.Object
org.rumbledb.runtime.dataframe.ItemRuntimeDataFrameFactory
- All Implemented Interfaces:
Serializable,RuntimeDataFrameFactory<Item>
public final class ItemRuntimeDataFrameFactory
extends Object
implements RuntimeDataFrameFactory<Item>
Encodes item RDDs as
HomogeneousItemDataFrames.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfromList(List<Item> items, DynamicContext context, RuntimeStaticContext staticContext) fromPlan(ItemRuntimePlan plan, DynamicContext context) fromRDD(org.apache.spark.api.java.JavaRDD<Item> rdd, DynamicContext context, RuntimeStaticContext staticContext)
-
Field Details
-
INSTANCE
-
-
Method Details
-
fromList
public HomogeneousItemDataFrame fromList(List<Item> items, DynamicContext context, RuntimeStaticContext staticContext) - Specified by:
fromListin interfaceRuntimeDataFrameFactory<Item>
-
fromRDD
public HomogeneousItemDataFrame fromRDD(org.apache.spark.api.java.JavaRDD<Item> rdd, DynamicContext context, RuntimeStaticContext staticContext) - Specified by:
fromRDDin interfaceRuntimeDataFrameFactory<Item>
-
fromPlan
-