
org.apache.hadoop.fs.FileStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of parquet-floor Show documentation
Show all versions of parquet-floor Show documentation
A lightweight Java library that facilitates reading and writing Apache Parquet files without Hadoop dependencies.
package org.apache.hadoop.fs;
public class FileStatus {
private final org.apache.hadoop.fs.Path path;
public FileStatus(org.apache.hadoop.fs.Path p) {
path = p;
}
public boolean isFile() {
return true;
}
public org.apache.hadoop.fs.Path getPath() {
return path;
}
public long getLen() {
return path.file().length();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy