public abstract class AbstractExtendedSpark extends AbstractSpark
Spark program through the
ExtendedSparkConfigurer provided by the getConfigurer() method.| Constructor and Description |
|---|
AbstractExtendedSpark() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHandlers(Iterable<? extends SparkHttpServiceHandler> handlers)
Adds a list of
SparkHttpServiceHandlers to runs in the Spark driver. |
protected void |
addHandlers(SparkHttpServiceHandler... handlers)
Adds a list of
SparkHttpServiceHandlers to runs in the Spark driver. |
protected ExtendedSparkConfigurer |
getConfigurer()
Returns the
ExtendedSparkConfigurer for extended features, only available at configuration time. |
configure, configure, destroy, getContext, initialize, initialize, setClientResources, setDescription, setDriverResources, setExecutorResources, setMainClass, setMainClassName, setName, setPropertiesusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDatasetprotected ExtendedSparkConfigurer getConfigurer()
ExtendedSparkConfigurer for extended features, only available at configuration time.getConfigurer in class AbstractSparkprotected void addHandlers(SparkHttpServiceHandler... handlers)
SparkHttpServiceHandlers to runs in the Spark driver.protected void addHandlers(Iterable<? extends SparkHttpServiceHandler> handlers)
SparkHttpServiceHandlers to runs in the Spark driver.Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.