3738394041424344
String fileName = tempDir.toString() + "/testRdd"; recordRdd.adamSave(fileName); // create a new adam context and load the file JavaADAMContext jac = new JavaADAMContext(rdd.context()); return jac.adamRecordLoad(fileName); } }