Package

com.spotify.scio.io

dynamic

Permalink

package dynamic

IO package for dynamic destinations. Import All.

import com.spotify.scio.io.dynamic._
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. dynamic
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class DynamicIoSCollection[T] extends AnyVal

    Permalink

    Enhanced version of SCollection with dynamic destinations methods.

  2. case class FileDestinations(path: String, default: String = "default", windowedWrites: Boolean = false, numShards: Int = 0) extends Product with Serializable

    Permalink

    Dynamic file destinations settings.

    Dynamic file destinations settings. Output path is <path>/<destination>/part-<shard><suffix> for regular writes and <path>/<destination>/part-<window>-<shard><suffix> for windowed writes, where <destination> is computed with destinationFn.

    path

    path

    default

    default <destination> for empty collections

    windowedWrites

    preserves windowing of input elements and writes them to files based on the element's window

    numShards

    the number of shards to use, or 0 to let the system decide, must be > 0 when windowedWrites is true

Value Members

  1. object FileDestinations extends Serializable

    Permalink

    Companion object for FileDestinations.

Inherited from AnyRef

Inherited from Any

Ungrouped