Open the reader, allocating any necessary resources required to produce entities.
This method must be invoked prior to any calls of {@link #hasNext()} or {@link #next()}.
2021222324252627282930
DatasetRepository repo = DatasetRepositories.open("repo:hdfs://localhost:8020/user/cloudera"); Dataset movies = repo.load("movies"); DatasetReader reader = movies.newReader(); try { reader.open(); for (Object rec : reader) { System.err.println("Movie: " + rec); } } finally { reader.close();