queirozf.com

Entries by tag: scala

Including child/synonym tags

Spark dataframe Examples: Reading and Writing Dataframes  23 Feb 2020    spark scala
Some examples on how to read and write spark dataframes from sources such as S3 and databricks file systems. Read More ›

Spark SQL Date/Datetime Function Examples  09 Nov 2019    spark-sql scala
Examples on how to use date and datetime functions for commonly used transformations in spark sql dataframes. Read More ›

Scala Fold Examples  10 Oct 2019    scala
Examples and reference for Scala fold method. Read More ›

Spark Dataframe Examples: Window Functions  22 Aug 2019    spark dataframes scala
Examples on how to do common operations using window functions in apache spark dataframes. Examples using the Spark Scala API. Read More ›

Spark Dataframe Examples: Pivot and Unpivot Data  10 Aug 2019    spark scala
Pivoting and unpivoting are very commonly-used data transformation operations. Use them when you want to switch from a row-based to a column-based view and vice-versa. Read More ›

Jupyter Notebook Kernels: How to Add, Change, Remove  28 Jul 2019    jupyter-notebooks scala spark
Add, remove and change Kernels to use with Jupyter notebook Read More ›

Scala Testing with Scalatest: Reference and Examples  06 Jul 2017    testing scala
Simple examples using ScalaTest to test your Scala projects. Full introduction and examples of all major testing styles supported by this framework. Read More ›

Akka-http Common Operations: Reference + Examples  03 Nov 2016    akka-http akka wip
A couple of things I find myself doing very often when I use akka-http. I believe these may be useful for others too. Read More ›

Publishing an SBT Project onto Bintray: an Example  20 Aug 2016    sbt bintray
A quick example explaining everything you need to do to package an SBT project and publish the binary JAR to bintray, where it can be made available for others too! Read More ›

Add a Github Project as a Dependency in SBT  13 Aug 2016    sbt
Small example on how to quickly add a project you found on github to your own project as a dependency. Read More ›

Packaging an Akka-http Application using SBT and Docker: Simple Example  29 Jun 2016    docker akka-http sbt
A simple example displaying common akka-http use cases and a couple of tips and hints to guide you through packaging a full app as a Docker container, so that you can deploy it anywhere you want. Read More ›

Migrating a Project from Spray to Akka-http: General Tips and Reference  29 May 2016    akka-http spray scala
Troublesshooting Akka: ClassNotFoundException: akka.event.slf4j.Slf4jLoggingFilter  19 May 2016    akka slf4j scala
Java.time API: Examples and Reference in Scala  01 Apr 2016    java 8 datetime scala
Comparing Interactive Solutions for Running Scala and Spark: Zeppelin, Spark-notebook and Jupyter-scala  07 Mar 2016    notebook interactive scala spark zeppelin
Json4s Examples: Common Basic Operations using Jackson as Backend  29 Feb 2016    json scala json4s
Json4s is one of the best libraries for manipulating json in Scala. Here are some examples and common use cases you may have come across and some you perhaps haven't. Read More ›

Fully Customized Json Validators for the Play 2 Framework: Explanation and Example  05 Jan 2016    play 2 json
Play 2 Allows a lot of flexibility for defining custom rules for JSON validation but if you want full control over how JSON is validated against a case class (including conditions that depend on more than one attribute and custom error messages) you need to write custom readers for your classes. Read More ›

Java 8 Timezones: Examples in Scala  23 Dec 2015    java 8 datetime scala
Many Scala examples of the new Java 8 `java.time` API, focusing on ways to deal with and encode Timezone information in your objects. Read More ›

Spark DataFrame UDFs: Scala Examples  11 Nov 2015    spark udf scala
Creating Scala Fat Jars for Spark on SBT with sbt-assembly Plugin  18 Sep 2015    sbt hadoop spark sbt-assembly
Spark-submit: Examples and Reference  13 Sep 2015    spark scala
Deadbolt 2 for the Play Framework in Scala: Defining a custom Handler  02 Sep 2015    deadbolt play play 2 authorization
Slick 3 Reference and Examples  18 Jun 2015    slick 3 slick scala orm frm
Attaching Sources to a Scala Project on IDEA Intellij  24 Apr 2015    scala idea intellij
Play 2 Framework with Scala: Complex JSON Validator Examples  09 Mar 2015    scala play2 json forms validation
Scala Slick: Simple Example on Connecting to a PostgreSQL Database  14 Jan 2015    slick postgres
Slick DB Sessions in Play 2 Framework for Scala  03 Dec 2014    scala implicit slick database
Performance Tips for Scala IDE for Eclipse  25 Nov 2014    performance eclipse scala
Slick 2 Examples: Querying and Modifying Data  20 Nov 2014    slick scala
Scala Goodies: Pattern matching with typed lists or Working around Scala's type erasure  06 Nov 2014    scala types
Scala Imports: Quick Intro and Examples  03 Nov 2014    scala import
Scala Examples - Sorting Lists and other Collections in Scala  26 Oct 2014    scala lists ordering
Templates for Slick Domain Classes mapping to DB Tables  21 Oct 2014    slick
Scala Slick: Dealing with Datetime/Timestamp Attributes  10 Oct 2014    scala slick database orm frm datetime
Play-slick Plugin Error Message: NoClassDefFoundError: org/reflections/scanners/TypesScanner  09 Oct 2014    slick error play2
Working with JSON data on the Play Framework for Scala: Examples  09 Oct 2014    scala json play
Scala Futures: simple Explanation with Examples  07 Oct 2014    scala futures concurrency
Slick Error Message: 'value tupled is not a member of object'  30 Sep 2014    slick scala play
Elastic4s DSL Examples and Reference  20 Sep 2014    elastic4s
Play2 Scala: Forms and Validations  19 Sep 2014    scala forms play-framework
Scala Functions: Examples and Reference  14 Sep 2014    scala functions syntax
Scala Regular Expressions: Examples & Reference  08 Sep 2014    scala regular-expressions string
Querying an Elasticsearch Server using Scala  15 Jul 2014    elasticsearch scala