com.nicta.scoobi.impl.io

Files

Related Docs: trait Files | package io

object Files extends Files

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Files
  2. Files
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def checkFilePermissions(path: Path, action: FsAction)(implicit configuration: Configuration): Unit

    check if a READ or WRITE action can be done on a given file based on the current user and on the file permissions

    check if a READ or WRITE action can be done on a given file based on the current user and on the file permissions

    Definition Classes
    Files
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copyTo(dir: Path)(implicit configuration: Configuration): (Path) ⇒ Boolean

    returns

    a function copying a Path to a given directory

    Definition Classes
    Files
  8. def copyTo(dir: String)(implicit configuration: Configuration): (Path) ⇒ Boolean

    returns

    a function copying a Path to a given directory

    Definition Classes
    Files
  9. def deletePath(p: Path)(implicit configuration: Configuration): Boolean

    delete the file found at a specific path

    delete the file found at a specific path

    Definition Classes
    Files
  10. def dirPath(s: String): String

    returns

    the path with a trailing slash

    Definition Classes
    Files
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def fileStatus(path: Path)(implicit configuration: Configuration): FileStatus

    returns

    the file status of a file

    Definition Classes
    Files
  14. def fileSystem(path: Path)(implicit configuration: Configuration): FileSystem

    returns

    the file system for a given path and configuration

    Definition Classes
    Files
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def getExistingParent(path: Path)(implicit configuration: Configuration): Path

    returns

    the first existing parent for this path

    Definition Classes
    Files
  18. def getFilePermission(path: Path)(implicit configuration: Configuration): FsPermission

    returns

    the permission for a given path

    Definition Classes
    Files
  19. def getSingleFilePerDir(stats: Seq[FileStatus])(implicit configuration: Configuration): Set[Path]

    Definition Classes
    Files
  20. def getSingleFilePerDir(path: Path)(implicit configuration: Configuration): Set[Path]

    Only get one file per dir.

    Only get one file per dir. This helps when checking correctness of input data by reducing the number of files to check. We don't want to check every file as its expensive

    Definition Classes
    Files
  21. def globStatus(path: Path, pathFilter: PathFilter = hiddenFilePathFilter)(implicit configuration: Configuration): Seq[FileStatus]

    Get a Set of FileStatus objects for a given Path specified as a glob

    Get a Set of FileStatus objects for a given Path specified as a glob

    Definition Classes
    Files
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def isDirectory(path: Path)(implicit configuration: Configuration): Boolean

    returns

    true if the path is a directory

    Definition Classes
    Files
  24. def isDirectory(fileStatus: FileStatus): Boolean

    returns

    true if the file is a directory

    Definition Classes
    Files
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def moveTo(dir: Path)(implicit configuration: Configuration): (Path, Path) ⇒ Boolean

    returns

    a function moving a Path to a given directory

    Definition Classes
    Files
  27. def moveTo(dir: String)(implicit configuration: Configuration): (Path) ⇒ Boolean

    returns

    a function moving a Path to a given directory

    Definition Classes
    Files
  28. def moveToS3(from: FileSystem, to: FileSystem, path: Path, destPath: Path)(implicit configuration: Configuration): Boolean

    returns

    true if copy to S3 is successful. S3 is a special cases because it can't rename, can't copy/rename dir simultaneously, ...

    Definition Classes
    Files
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def pathExists(p: String)(implicit configuration: Configuration): Boolean

    Determine whether a path exists or not.

    Determine whether a path exists or not.

    Definition Classes
    Files
  33. def pathExists(p: Path, pathFilter: PathFilter = hiddenFilePathFilter)(implicit configuration: Configuration): Boolean

    Determine whether a path exists or not.

    Determine whether a path exists or not.

    Definition Classes
    Files
  34. def pathSize(p: Path)(implicit configuration: Configuration): Long

    Determine the byte size of data specified by a path.

    Determine the byte size of data specified by a path.

    Definition Classes
    Files
  35. def sameFileSystem(from: FileSystem, to: FileSystem): Boolean

    returns

    true if the 2 fileSystems are the same

    Definition Classes
    Files
  36. def sizeString(bytes: Long): String

    Provide a nicely formatted string for a byte size.

    Provide a nicely formatted string for a byte size.

    Definition Classes
    Files
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def fileStatus(path: Path, pathFilter: PathFilter = hiddenFilePathFilter)(implicit configuration: Configuration): Seq[FileStatus]

    Definition Classes
    Files
    Annotations
    @deprecated
    Deprecated

    (Since version 0.7.3) use globStatus instead

Inherited from Files

Inherited from AnyRef

Inherited from Any

Ungrouped