I have a method which has statement that reads csv file and returns RDD as:
public void method(DataFrameReader sparkDataFrameReader){ JavaRDD