Top "Scala-2.10" questions

Version 2.10 of the Scala language for the JVM.

Compare data in two RDD in spark

I am able to print data in two RDD with the below code. usersRDD.foreach(println) empRDD.foreach(println) I …

apache-spark scala-2.10 cloudera-cdh rdd
Flatten Scala Try

Is there a simple way to flatten a collection of try's to give either a success of the try values, …

scala try-catch scala-2.10
How do you update multiple columns using Slick Lifted Embedding?

How do you update multiple columns using Slick Lifted Embedding ? This document doesn't say much. I expected it to be …

scala scala-2.10 slick
Scala 2.10 reflection, how do I extract the field values from a case class, i.e. field list from case class

How can I extract the field values from a case class in scala using the new reflection model in scala 2.10? …

scala reflection scala-2.10 case-class
Generating a class from string and instantiating it in Scala 2.10

In Scala 2.10 how do I generate a class from string (probably, using the Toolbox api) later to be instantiated with …

scala reflection toolbox scala-2.10
String interpolation in Scala 2.10 - How to interpolate a String variable?

String interpolation is available in Scala starting Scala 2.10 This is the basic example val name = "World" //> name : String = World …

scala scala-2.10 string-interpolation
How to detect Infinity values in Scala?

Scala has Double.isNaN for detecting not-a-number but no Double.isInf for detecting (positive or negative) infinity. Why? I'd like …

scala scala-2.10
Scala Constructor Parameters

What is the difference between a private var constructor parameter and a constructor parameter without val/var? Are they same …

scala scala-2.10
No multipartconfig for servlet error from Jetty using scalatra

I am trying to unit test an upload call but I get this error for the following code: @MultipartConfig(maxFileSize = 3145728) …

unit-testing rest embedded-jetty scala-2.10 scalatra
Passing implicit ExecutionContext to contained objects/called methods

I'm creating an async library using Scala 2.10 futures. The constructor for the library takes a sequence of user-defined objects that …

scala scala-2.10 executioncontext