public class SparkKMeansApp extends AbstractApplication
| Modifier and Type | Class and Description |
|---|---|
static class |
SparkKMeansApp.CentersService
A
Service that responds with calculated center based on index parameter. |
static class |
SparkKMeansApp.CentersServiceHandler
Centers Service handler.
|
static class |
SparkKMeansApp.PointsFlow
This is a simple Flow that consumes points from a Stream and stores them in a dataset.
|
static class |
SparkKMeansApp.PointsReader
This Flowlet reads events from a Stream and saves them to a dataset.
|
static class |
SparkKMeansApp.SparkKMeansSpecification
A Spark Program that uses KMeans algorithm.
|
| Constructor and Description |
|---|
SparkKMeansApp() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure() |
addFlow, addMapReduce, addService, addService, addSpark, addWorker, addWorkflow, configure, getConfig, getConfigurer, getContext, scheduleWorkflow, scheduleWorkflow, scheduleWorkflow, scheduleWorkflow, setDescription, setNameusePlugin, usePlugin, usePluginClass, usePluginClassaddDatasetModule, addDatasetType, addStream, addStream, createDataset, createDataset, createDataset, createDatasetpublic void configure()
configure in class AbstractApplicationCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.