com.nicta.scoobi.testing

TempFiles

object TempFiles extends TempFiles

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TempFiles
  2. TempFiles
  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 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

    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

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

    create a temporary file

    create a temporary file

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

    create a temporary file path

    create a temporary file path

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

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

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

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

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

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

    Definition Classes
    TempFiles
  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

    Definition Classes
    TempFiles
  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

    Definition Classes
    TempFiles
  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

    Definition Classes
    TempFiles
  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

    Definition Classes
    TempFiles
  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

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

    Definition Classes
    TempFiles

Inherited from TempFiles

Inherited from AnyRef

Inherited from Any

Ungrouped