org
.
emmalanguage
.
cli
SparkExamplesRunner
Related Doc:
package cli
object
SparkExamplesRunner
extends
SparkAware
Linear Supertypes
SparkAware
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
SparkExamplesRunner
SparkAware
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
case class
Config
(
master:
String
=
defaultSparkConfig.master
,
warehouseDir:
String
=
defaultSparkConfig.warehouseDir
,
command:
Option
[
String
] =
None
,
csv:
CSV
=
CSV()
,
epsilon:
Double
=
0
,
iterations:
Int
=
0
,
input:
String
=
sys.props("java.io.tmpdir")
,
D:
Int
=
0
,
k:
Int
=
0
,
lambda:
Double
=
0
,
nbModelType:
ModelType
=
NaiveBayes.ModelType.Bernoulli
,
output:
String
=
sys.props("java.io.tmpdir")
)
extends
SparkConfig
with
Product
with
Serializable
class
Parser
extends
OptionParser
[
Config
]
trait
SparkConfig
extends
AnyRef
Attributes
protected
Definition Classes
SparkAware
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
implicit
def
breezeVectorCSVConverter
[
V
]
(
implicit
V:
CSVColumn
[
V
]
,
ctag:
ClassTag
[
V
]
)
:
CSVConverter
[
Vector
[
V
]]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
connectedComponents
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
val
defaultSparkConfig
:
SparkConfig
Attributes
protected
Definition Classes
SparkAware
lazy val
defaultSparkSession
:
SparkSession
Attributes
protected
Definition Classes
SparkAware
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
kMeans
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
def
main
(
args:
Array
[
String
]
)
:
Unit
def
naiveBayes
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
parser
:
Parser
def
sparkSession
(
c:
SparkConfig
)
:
SparkSession
Attributes
protected
Definition Classes
SparkAware
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
transitiveClosure
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
def
triangleCount
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withDefaultSparkSession
[
T
]
(
f: (
SparkSession
) ⇒
T
)
:
T
Attributes
protected
Definition Classes
SparkAware
def
wordCount
(
c:
Config
)
(
implicit
spark:
SparkSession
)
:
Unit
Inherited from
SparkAware
Inherited from
AnyRef
Inherited from
Any
Ungrouped