After correctly setting up my project I need to read/import several .bsq
files into my environment. I tried to use the env.readFile() method like this:
DataSet<T> data = env.readFile(*insertFileInputFormatHere*, filePath);
But I am not able to get a proper FileInputFormat
. Since it is abstract I can't have my own instance. Should I extend the abstract class FileInputFormat
and use my own extension to instantiate a FileInputFormat
? Or is there another way I did not recognize?