Skip to content

Instantly share code, notes, and snippets.

View baghelamit's full-sized avatar

Amit Baghel baghelamit

View GitHub Profile
@baghelamit
baghelamit / JavaDemoOne.java
Last active June 4, 2018 10:23
Updated pom.xml and Java class to work with new spark and cassandra connector versions. This code is from https://gist.github.com/jacek-lewandowski/278bfc936ca990bee35a
import static com.datastax.spark.connector.japi.CassandraJavaUtil.javaFunctions;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;