Class

com.spotify.scio.hdfs

HdfsScioContext

Related Doc: package hdfs

Permalink

implicit final class HdfsScioContext extends AnyVal

Enhanced version of ScioContext with HDFS methods.

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HdfsScioContext
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HdfsScioContext(self: ScioContext)

    Permalink

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. def hadoopDistCache[F](path: String, conf: Configuration = null, username: String = null)(initFn: (File) ⇒ F): DistCache[F]

    Permalink

    Create a new DistCache instance for a file on HDFS.

    Create a new DistCache instance for a file on HDFS.

    path

    to the HDFS artifact

    conf

    optional custom Hadoop configuration

    username

    optional Hadoop Simple Authentication remote username

  7. def hadoopDistCacheMulti[F](paths: Seq[String], conf: Configuration = null, username: String = null)(initFn: (Seq[File]) ⇒ F): DistCache[F]

    Permalink

    Create a new DistCache instance for a list of files on HDFS.

    Create a new DistCache instance for a list of files on HDFS.

    paths

    Sequence of paths to the HDFS artifacts

    conf

    optional custom Hadoop configuration

    username

    optional Hadoop Simple Authentication remote username

  8. def hdfsAvroFile[T](path: String, schema: Schema = null, username: String = null, conf: Configuration = null)(implicit arg0: ClassTag[T]): SCollection[T]

    Permalink

    Get an SCollection for an Avro file on HDFS.

    Get an SCollection for an Avro file on HDFS.

    schema

    must be not null if T is of type GenericRecord.

  9. def hdfsTextFile(path: String, username: String = null, conf: Configuration = null): SCollection[String]

    Permalink

    Get an SCollection for a text file on HDFS.

  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. val self: ScioContext

    Permalink
  12. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped