Sha256: e273d744475b7f45d0c69ab2740a5dea2f12e2fbf7b038453513bb1f3e4328fe
Contents?: true
Size: 609 Bytes
Versions: 5
Compression:
Stored size: 609 Bytes
Contents
package org.embulk.output.orc; import com.google.common.base.Throwables; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; class OrcOutputPluginHelper { protected OrcOutputPluginHelper() { throw new UnsupportedOperationException(); } static void removeOldFile(String fpath) { Path path = Paths.get(fpath); // TODO: Check local file. not HDFS or S3. try { Files.deleteIfExists(path); } catch (IOException e) { Throwables.propagate(e); } } }
Version data entries
5 entries across 5 versions & 1 rubygems