flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject FileSystem exists
Date Mon, 29 Jun 2015 10:39:11 GMT
Hi to all,

in my job I have to check if a directory exists and currently I have to
write:

Path myDir = new Path(...);
boolean exists = FileSystem.get(myDir.toUri()).exists(myDir);

Is there a better way to achieve this?

Best,
Flavio

Mime
View raw message