public class Spark extends Object
Modifier and Type | Method and Description |
---|---|
static void |
close() |
static void |
create(Configuration configuration) |
static void |
create(SparkContext sparkContext) |
static SparkContext |
getContext() |
static <any> |
getRDD(String name) |
static List<<any>> |
getRDDs() |
static boolean |
hasRDD(String name) |
static void |
refresh() |
static void |
removeRDD(String name) |
public static void create(Configuration configuration)
public static void create(SparkContext sparkContext)
public static SparkContext getContext()
public static void refresh()
public static <any> getRDD(String name)
public static boolean hasRDD(String name)
public static List<<any>> getRDDs()
public static void removeRDD(String name)
public static void close()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.