Interface RFile.WriterFSOptions

  • All Superinterfaces:
    RFile.WriterOptions
    Enclosing class:
    RFile

    public static interface RFile.WriterFSOptions
    extends RFile.WriterOptions
    This is an intermediate interface in a larger builder pattern. Enables optionally setting a FileSystem to write to.
    Since:
    1.8.0
    • Method Detail

      • withFileSystem

        RFile.WriterOptions withFileSystem​(org.apache.hadoop.fs.FileSystem fs)
        Optionally provide a FileSystem to open a file to write a RFile. If not specified, the FileSystem will be constructed using configuration on the classpath.
        Parameters:
        fs - use this FileSystem to open files.
        Returns:
        this