Interface RFile.ScannerFSOptions

  • All Superinterfaces:
    RFile.ScannerOptions
    Enclosing class:
    RFile

    public static interface RFile.ScannerFSOptions
    extends RFile.ScannerOptions
    This is an intermediate interface in a larger builder pattern. Enables optionally setting a FileSystem to read RFile(s) from.
    Since:
    1.8.0
    • Method Detail

      • withFileSystem

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