com.nicta.scoobi.testing

TempFiles

trait TempFiles extends AnyRef

This trait helps with the creation of temporary files and directories

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TempFiles
  2. AnyRef
  3. 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 clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createTempDir(prefix: String): File

    create a temporary directory by creating a temporary file and using that name to create a directory this functionality should be reimplemented with Files.createTempDirectory once Java 7 becomes the default jvm for Scoobi

  7. def createTempFile(prefix: String, suffix: String = ""): File

    create a temporary file

  8. def createTempFilePath(prefix: String, suffix: String = ""): String

    create a temporary file path

  9. def deleteFile(f: File, isRemote: Boolean = false)(implicit fs: FileSystem): Unit

    delete a file that is supposed to be either local or remote

  10. def deleteFile(p: String)(implicit fs: FileSystem): Boolean

    delete a file that is supposed to be either local or remote

  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  15. def getFiles(dir: File, isRemote: Boolean)(implicit fs: FileSystem): Seq[File]

    returns

    all the files in a given directory, bringing them back from the cluster if necessary

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def path(file: File, isRemote: Boolean): String

    returns

    the path of a file, either as an absolute path if it is a local file, or just its name if it is fetched with hdfs

  22. def relativePath(dir: File, path: String): String

    returns

    a path starting with 'dir' path and ending with the part in 'path' that comes after 'dir' path: dir = /var/temp/d1 path = /user/me/temp/d1/1/hello.txt relative = /var/temp/d1/1/hello.txt

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def writeLines(path: String, lines: Seq[String], isRemote: Boolean)(implicit sc: ScoobiConfiguration): String

  29. def writeLines(file: File, lines: Seq[String], isRemote: Boolean)(implicit fs: FileSystem): String

    write lines to a file and return its local or remote path

Inherited from AnyRef

Inherited from Any

Ungrouped