public class Spark extends Object
Modifier and Type | Method and Description |
---|---|
static void |
close() |
static SparkContext |
create(Configuration configuration) |
static SparkContext |
create(org.apache.hadoop.conf.Configuration hadoopConfiguration) |
static SparkContext |
create(SparkConf sparkConf) |
static SparkContext |
create(SparkContext sparkContext) |
static SparkContext |
create(String master) |
static SparkContext |
getContext() |
static <any> |
getRDD(String name) |
static List<<any>> |
getRDDs() |
static boolean |
hasRDD(String name) |
static boolean |
isContextNullOrStopped() |
static SparkContext |
recreateStopped() |
static void |
refresh() |
static void |
removeRDD(String name) |
public static SparkContext create(SparkConf sparkConf)
public static SparkContext create(org.apache.hadoop.conf.Configuration hadoopConfiguration)
public static SparkContext create(Configuration configuration)
public static SparkContext create(String master)
public static SparkContext create(SparkContext sparkContext)
public static SparkContext recreateStopped()
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()
public static boolean isContextNullOrStopped()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.