Get file metadata
Posted by Ronny Bräunlich on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Get-file-metadata-tp1891.html
Hello,
I want to read a file containing textfiles with Flink.
As I already found out I can simply point the environment to the directory and it will read all the files.
What I couldn’t find out is if it’s possible to keep the file metadata somehow.
Concrete, I need the timestamp, the filename and the file content. Is there a way to do this with the ExecutionEnvironment?
Cheers,
Ronny