Uses of Class org.apache.hadoop.fs.FileContext (Apache Hadoop Main 3.5.0 API)
Description: use: package: org.apache.hadoop.fs, class: FileContext

# Uses of Class
org.apache.hadoop.fs.FileContext

Packages that use FileContext
Package
Description
org.apache.hadoop.fs
Implementations of `AbstractFileSystem` for hdfs over rpc and hdfs over web.
org.apache.hadoop.fs.impl
This package contains implementation classes for use inside filesystems.
org.apache.hadoop.io
Generic i/o code for use when reading and writing data to the network, to databases, and to files.
org.apache.hadoop.mapreduce.v2.hs

- ## Uses of FileContext in org.apache.hadoop.fs

  Methods in org.apache.hadoop.fs that return FileContext
  Modifier and Type
  Method
  Description
  `static FileContext`
  FileContext.`getFileContext()`
  Create a FileContext using the default config read from the $HADOOP_CONFIG/core.xml, Unspecified key-values for config are defaulted from core-defaults.xml in the release jar.
  `static FileContext`
  FileContext.`getFileContext(URI defaultFsUri)`
  Create a FileContext for specified URI using the default config.
  `static FileContext`
  FileContext.`getFileContext(URI defaultFsUri, Configuration aConf)`
  Create a FileContext for specified default URI using the specified config.
  `static FileContext`
  FileContext.`getFileContext(Configuration aConf)`
  Create a FileContext using the passed config.
  `protected static FileContext`
  FileContext.`getFileContext(AbstractFileSystem defaultFS)`
  Create a FileContext for specified file system using the default config.
  `static FileContext`
  FileContext.`getFileContext(AbstractFileSystem defFS, Configuration aConf)`
  Create a FileContext with specified FS as default using the specified config.
  `static FileContext`
  FileContext.`getLocalFSFileContext()`
  `static FileContext`
  FileContext.`getLocalFSFileContext(Configuration aConf)`
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, byte[] bytes)`
  Writes bytes to a file.
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, CharSequence charseq)`
  Write a line of text to a file.
  `static FileContext`
  FileUtil.`write(FileContext fs, Path path, CharSequence charseq, Charset cs)`
  Write a line of text to a file.
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, Iterable<? extends CharSequence> lines, Charset cs)`
  Write lines of text to a file.
  Methods in org.apache.hadoop.fs with parameters of type FileContext
  Modifier and Type
  Method
  Description
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, byte[] bytes)`
  Writes bytes to a file.
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, CharSequence charseq)`
  Write a line of text to a file.
  `static FileContext`
  FileUtil.`write(FileContext fs, Path path, CharSequence charseq, Charset cs)`
  Write a line of text to a file.
  `static FileContext`
  FileUtil.`write(FileContext fileContext, Path path, Iterable<? extends CharSequence> lines, Charset cs)`
  Write lines of text to a file.
  Constructors in org.apache.hadoop.fs with parameters of type FileContext
  Modifier
  Constructor
  Description
  ``
  `AvroFSInput(FileContext fc, Path p)`
  Construct given a `FileContext` and a `Path`.

- ## Uses of FileContext in org.apache.hadoop.fs.impl

  Constructors in org.apache.hadoop.fs.impl with parameters of type FileContext
  Modifier
  Constructor
  Description
  `protected`
  `FutureDataInputStreamBuilderImpl(FileContext fc, Path path)`
  Construct from a `FileContext`.
  `protected`
  `MultipartUploaderBuilderImpl(FileContext fc, Path p)`
  Construct from a `FileContext`.

- ## Uses of FileContext in org.apache.hadoop.io

  Methods in org.apache.hadoop.io with parameters of type FileContext
  Modifier and Type
  Method
  Description
  `static org.apache.hadoop.io.SequenceFile.Writer`
  SequenceFile.`createWriter(FileContext fc, Configuration conf, Path name, Class keyClass, Class valClass, SequenceFile.CompressionType compressionType, CompressionCodec codec, org.apache.hadoop.io.SequenceFile.Metadata metadata, EnumSet<CreateFlag> createFlag, org.apache.hadoop.fs.Options.CreateOpts... opts)`
  Construct the preferred type of SequenceFile Writer.

- ## Uses of FileContext in org.apache.hadoop.mapreduce.v2.hs

  Methods in org.apache.hadoop.mapreduce.v2.hs with parameters of type FileContext
  Modifier and Type
  Method
  Description
  `protected static List<FileStatus>`
  HistoryFileManager.`scanDirectory(Path path, FileContext fc, PathFilter pathFilter)`
  `protected List<FileStatus>`
  HistoryFileManager.`scanDirectoryForHistoryFiles(Path path, FileContext fc)`