class FileSCollectionFunctions extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileSCollectionFunctions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FileSCollectionFunctions(self: SCollection[String])

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def readFiles[A](filesTransform: PTransform[_ >: PCollection[ReadableFile], PCollection[A]], directoryTreatment: DirectoryTreatment = DirectoryTreatment.SKIP, compression: Compression = Compression.AUTO)(implicit arg0: Coder[A]): SCollection[A]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    directoryTreatment

    Controls how to handle directories in the input.

    compression

    Reads files using the given org.apache.beam.sdk.io.Compression.

    See also

    readFilesAsBytes, readFilesAsString, readFiles

  16. def readFiles[A](desiredBundleSizeBytes: Long, directoryTreatment: DirectoryTreatment, compression: Compression)(f: (String) => FileBasedSource[A])(implicit arg0: Coder[A]): SCollection[A]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection. Files are split into multiple offset ranges and read with the FileBasedSource.

    desiredBundleSizeBytes

    Desired size of bundles read by the sources.

    directoryTreatment

    Controls how to handle directories in the input.

    compression

    Reads files using the given org.apache.beam.sdk.io.Compression.

  17. def readFiles[A](directoryTreatment: DirectoryTreatment, compression: Compression)(f: (ReadableFile) => A)(implicit arg0: Coder[A]): SCollection[A]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    directoryTreatment

    Controls how to handle directories in the input.

    compression

    Reads files using the given org.apache.beam.sdk.io.Compression.

    See also

    readFilesAsBytes, readFilesAsString

  18. def readFiles[A](f: (ReadableFile) => A)(implicit arg0: Coder[A]): SCollection[A]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    See also

    readFilesAsBytes, readFilesAsString

  19. def readFilesAsBytes(): SCollection[Array[Byte]]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    returns

    each file fully read as Array[Byte.

  20. def readFilesAsString(): SCollection[String]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    returns

    each file fully read as String.

  21. def readFilesWithPath[A](desiredBundleSizeBytes: Long = DefaultBundleSizeBytes, directoryTreatment: DirectoryTreatment = DirectoryTreatment.SKIP, compression: Compression = Compression.AUTO)(f: (String) => FileBasedSource[A])(implicit arg0: Coder[A]): SCollection[(String, A)]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection. Files are split into multiple offset ranges and read with the FileBasedSource.

    desiredBundleSizeBytes

    Desired size of bundles read by the sources.

    directoryTreatment

    Controls how to handle directories in the input.

    compression

    Reads files using the given org.apache.beam.sdk.io.Compression.

    returns

    origin file name paired with read element.

  22. def readTextFiles(): SCollection[String]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection.

    returns

    each line of the input files.

  23. def readTextFilesWithPath(desiredBundleSize: Long = DefaultBundleSizeBytes, directoryTreatment: DirectoryTreatment = DirectoryTreatment.SKIP, compression: Compression = Compression.AUTO): SCollection[(String, String)]

    Reads each file, represented as a pattern, in this SCollection.

    Reads each file, represented as a pattern, in this SCollection. Files are split into multiple offset ranges and read with the FileBasedSource.

    directoryTreatment

    Controls how to handle directories in the input.

    compression

    Reads files using the given org.apache.beam.sdk.io.Compression.

    returns

    origin file name paired with read line.

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped