Class RuntimePlanConversions

java.lang.Object
org.rumbledb.runtime.plan.RuntimePlanConversions

public final class RuntimePlanConversions extends Object
Stateless conversions between the local, RDD, and DataFrame representations used by runtime plans.
  • Method Details

    • rddToCursor

      public static <T> Cursor<T> rddToCursor(org.apache.spark.api.java.JavaRDD<T> rdd, int materializationCap, ExceptionMetadata metadata)
    • collectRDDWithLimit

      public static <T> List<T> collectRDDWithLimit(org.apache.spark.api.java.JavaRDD<T> rdd, int materializationCap, ExceptionMetadata metadata)
    • cursorToRDD

      public static <T> org.apache.spark.api.java.JavaRDD<T> cursorToRDD(Cursor<T> cursor, int materializationCap, ExceptionMetadata metadata)
    • materializeCursor

      public static <T> List<T> materializeCursor(Cursor<T> cursor)