com.nicta.scoobi.io.avro

AvroDataSource

case class AvroDataSource[K, A](paths: Seq[Path], inputConverter: InputConverter[AvroKey[K], NullWritable, A], schema: AvroSchema[A], checkSchemas: Boolean = true, check: (Seq[Path], ScoobiConfiguration) ⇒ Unit = core.Source.defaultInputCheck) extends DataSource[AvroKey[K], NullWritable, A] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, DataSource[AvroKey[K], NullWritable, A], Source, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AvroDataSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DataSource
  7. Source
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AvroDataSource(paths: Seq[Path], inputConverter: InputConverter[AvroKey[K], NullWritable, A], schema: AvroSchema[A], checkSchemas: Boolean = true, check: (Seq[Path], ScoobiConfiguration) ⇒ Unit = core.Source.defaultInputCheck)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val check: (Seq[Path], ScoobiConfiguration) ⇒ Unit

  8. def checkInputSchema(p: Path)(implicit sc: ScoobiConfiguration): Unit

    Attributes
    protected
  9. val checkSchemas: Boolean

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromKeyValueConverter: InputConverter[AvroKey[K], NullWritable, A]

    map the key-values of a source's InputFormat to the final type produced by it

    map the key-values of a source's InputFormat to the final type produced by it

    Definition Classes
    DataSource → Source
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. val id: Int

    returns

    a unique id for this source

    Definition Classes
    DataSource → Source
  16. def inputCheck(implicit sc: ScoobiConfiguration): Unit

    Check if the input paths exist and optionally that the reader schema is compatible with the written schema.

    Check if the input paths exist and optionally that the reader schema is compatible with the written schema. For efficiency, the schema checking will only check one file per dir

    Definition Classes
    AvroDataSourceDataSource → Source
  17. def inputConfigure(job: Job)(implicit sc: ScoobiConfiguration): Unit

    configure the source.

    configure the source.

    Definition Classes
    AvroDataSourceDataSource → Source
  18. val inputConverter: InputConverter[AvroKey[K], NullWritable, A]

    Definition Classes
    AvroDataSourceDataSource
  19. val inputFormat: Class[_ >: GenericAvroKeyInputFormat[K] <: AvroKeyInputFormat[K]]

    the InputFormat specifying the type of input for this source

    the InputFormat specifying the type of input for this source

    Definition Classes
    AvroDataSourceDataSource → Source
  20. def inputSize(implicit sc: ScoobiConfiguration): Long

    returns

    the size in bytes of the data being input by this source

    Definition Classes
    AvroDataSourceDataSource → Source
  21. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  25. val paths: Seq[Path]

  26. val schema: AvroSchema[A]

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DataSource[AvroKey[K], NullWritable, A]

Inherited from Source

Inherited from AnyRef

Inherited from Any

Ungrouped