Hi , How can i use Map function in java to convert all the lines of csv file into a list of objects , Can some one please help...
JavaRDD<List<Charge>> rdd = sc.textFile("data.csv").map(new
Function<String, List<Charge>>() {
@Override
public List<Charge> call(String s) {
}
});
Thanks,
