All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hadoop.fs.FileStatus Maven / Gradle / Ivy

Go to download

A lightweight Java library that facilitates reading and writing Apache Parquet files without Hadoop dependencies.

There is a newer version: 1.50
Show newest version
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