package api
- Alphabetic
- Public
- All
Type Members
-
trait
BaseFileSystem extends FileSystem with StrictLogging
BaseFileSystem provides default implementations for some FileSystem methods.
BaseFileSystem provides default implementations for some FileSystem methods. If a new file system is implemented in terms of BaseFileSystem, then the implementor needs to implement fewer methods. However, the performance will likely be worse: e.g.
listContentsWithMetadata
callslistContents
and then for each callsmetadata
. A native implementation that does both simultaneously, if available, would be faster. - final case class DirectoryMetadata(modifiedInstant: Option[Instant]) extends FileSystemMetadata with Product with Serializable
- final case class FileBlock(hosts: Array[String], offset: Long, length: Long) extends Product with Serializable
- final case class FileMetadata(modifiedInstant: Option[Instant], size: Option[Long], blocks: Array[FileBlock]) extends FileSystemMetadata with Product with Serializable
-
trait
FileSystem extends InputStreamClient
Path conventions: Only absolute paths allowed: e.g.
Path conventions: Only absolute paths allowed: e.g. "/dir/file". Relative paths NOT allowed: e.g. "foo.csv" is invalid. Wildcards allowed are *, ** and ?. File Systems should implement paths as flexibly as possible, e.g.: "/tmp", "/tmp/" and "/tmp/\*" should all be handled in equivalent ways.
- class FileSystemException extends ByteStreamException
- trait FileSystemLocation extends ByteStreamLocation
- abstract class FileSystemLocationBuilder extends ByteStreamLocationBuilder
- sealed trait FileSystemMetadata extends AnyRef
- class FileSystemTimeoutException extends FileSystemException
- class FileSystemUnavailableException extends FileSystemException
- class HostNotFoundException extends FileSystemException
- class NotAFileException extends FileSystemException
- class PathAlreadyExistsException extends FileSystemException
- class PathInvalidException extends FileSystemException
- class PathNotFoundException extends FileSystemException
- class PathUnauthorizedException extends FileSystemException
- class UnexpectedFileSystemErrorException extends FileSystemException
Value Members
- object FileSystemLocationProvider extends LocationProvider