Quantcast
Channel: Scala – Applied Math Bytes
Browsing all 10 articles
Browse latest View live

Cassandra Spark Working with CSV’s, TSV’s

Using Apache Spark DataFrames for Processing of Tabular Data Working with CSV / TSV files in Spark Import TSV File in spark Importing a Text File into a CQL Table Saving data to Cassandra

View Article


Anonymous Functions in Scala

Anonymous Function Syntax Scala – Passing a function literal as a function argument 9.2. Using Functions as Variables Don’t Use Return in Scala Fun With Scala Functions

View Article

Scala Java Conversions

Conversions Between Java and Scala Collections scala.collection.JavaConversions api docs

View Article

Scala headOption

Prefer headOption to Head in Scala Collection Scala headOption example

View Article

Typesafe Config Stuff

Java Code Examples for com.typesafe.config.Config

View Article


Scala Regex Stuff

Scala: How to extract parts of a string that match a regex scala.util.matching.Regex Safari Scala Cookbook – 1.6. Finding Patterns in Strings Daily Scala – Regular Expression 1 : Basics and findAllIn

View Article

Jetty’s Server in Spark Stack

Spark has a web accessible monitoring interface, as well as, several other mechanisms like remoting, and file-serving that use http protocols. Spark uses the Jetty web server, client and java servlet...

View Article

How to generate TimeUUID in Java/Scala for Cassandra

How to generate TimeUUID in Java/Scala UUIDGen.java

View Article


Reflective Instantiation of Classes at Runtime

Dynamic and Reflective Variable and Method Processing Roughly stated, Reflection is the ability for a program to inspect properties of itself and dynamically identify and invoke particular variables...

View Article


Spark Programmatic Node Communication

Distributed Computing Distributed and parallel data processing has been discussed and explained a million different ways in a million different places, so we’ll keep it brief here. Some of the best...

View Article
Browsing all 10 articles
Browse latest View live