public interface SparkHttpServiceContextBase extends SparkExecutionContext
SparkContext and CDAP functionality that are
common to Spark 1 and Spark 2.| Modifier and Type | Method and Description |
|---|---|
org.apache.spark.api.java.JavaSparkContext |
getJavaSparkContext()
Returns the
JavaSparkContext wrapper for the SparkContext object created in the Spark driver. |
SparkHttpServicePluginContext |
getPluginContext()
Returns a
SparkHttpServicePluginContext for adding and using plugins. |
org.apache.spark.SparkContext |
getSparkContext()
Returns the
SparkContext object created in the Spark driver. |
createInterpreter, execute, fromDataset, fromDataset, fromStream, fromStream, fromStream, fromStream, getLocalizationContext, getLogicalStartTime, getMessagingContext, getMetrics, getSecureStore, getServiceDiscoverer, getSpecification, getTriggeringScheduleInfo, getWorkflowInfo, getWorkflowToken, saveAsDataset, saveAsDataset, toJavaSparkExecutionContextgetAdmin, getApplicationSpecification, getClusterName, getDataTracer, getNamespace, getRunId, getRuntimeArgumentsexecutegetMetadata, getMetadataaddProperties, addTags, addTags, removeMetadata, removeProperties, removeProperties, removeTags, removeTagsorg.apache.spark.SparkContext getSparkContext()
SparkContext object created in the Spark driver.org.apache.spark.api.java.JavaSparkContext getJavaSparkContext()
JavaSparkContext wrapper for the SparkContext object created in the Spark driver.SparkHttpServicePluginContext getPluginContext()
SparkHttpServicePluginContext for adding and using plugins.getPluginContext in interface SparkExecutionContextBaseCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.