Apache Spark Actions

Spark Actions

Table of Contents1. Overview1.1 count()1.2 collect()1.3 take(n)1.4 top(n)1.5 countByValue()1.6 reduce()1.7 fold()1.8 aggregate()1.9 foreach()1.10 saveAsTextFile()2. API & References3. Conclusion 1. Overview In our Apache Spark tutorial journey, we have learnt how…

spark transformations

Spark Transformations

Table of Contents1. OverviewNarrow Transformationmap()filter()flatMap()union()Wide TransformationsreduceByKey()Associativity 1. Overview In one of our previous article, we have explained Spark RDD example, in this article we are going to explain Spark Transformations….

Java Multikey map example

Java Multikey map example

Table of Contents1. Overview2. Examples of Java MultiKeyMap2.1 Add elements to multikey Map2.2 Remove element from MultiKeyMap2.3 MultiKeymap Iteration3. Conclusion 1. Overview This article is about how to java multikey…

Spring JPA order by query

Spring JPA order by query

Table of Contents1. Overview2. Sorting/Order by query examples2.1 Static sorting2.2 Dynamic sorting based on parameters2.3 Order By with JpaSpecificationExecutor3. Conclusion4. References 1. Overview This article is about Spring JPA order…

Spring Jackson enable pretty Json

Spring Jackson enable pretty Json

Table of Contents1. Overview2. Ways to enable Jackson pretty/readable Json1. application.properties2. Bean configuration3. Concussion 1. Overview This article is about sping Jackson enable pretty Json or enable readable Json format….