c

org.checkita.dqf.config.jobconf.Sources

DelimitedFileSourceConfig

final case class DelimitedFileSourceConfig(id: ID, description: Option[NonEmptyString], path: URI, schema: Option[ID], persist: Option[StorageLevel], delimiter: NonEmptyString = ",", quote: NonEmptyString = "\"", escape: NonEmptyString = "\\", header: Boolean = false, windowBy: StreamWindowing = ProcessingTime, options: Seq[SparkParam] = Seq.empty, keyFields: Seq[NonEmptyString] = Seq.empty, metadata: Seq[SparkParam] = Seq.empty) extends FileSourceConfig with DelimitedFileConfig with Product with Serializable

Delimited file source configuration

id

Source ID

description

Source description

path

Path to file

schema

Schema ID (only if header = false)

persist

Spark storage level in order to persist dataframe during job execution.

delimiter

Column delimiter (default: ,)

quote

Quotation symbol (default: ")

escape

Escape symbol (default: \)

header

Boolean flag indicating whether schema should be read from file header (default: false)

windowBy

Source of timestamp used to build windows. Applicable only for streaming jobs! Default: processingTime - uses current timestamp at the moment when Spark processes row. Other options are:

  • eventTime - uses column with name 'timestamp' (column must be of TimestampType).
  • customTime(columnName) - uses arbitrary user-defined column (column must be of TimestampType)
options

List of additional spark options required to read the source (if any)

keyFields

Sequence of key fields (columns that identify data row)

metadata

List of metadata parameters specific to this source

Linear Supertypes
Product, Equals, DelimitedFileConfig, FileConfig, FileSourceConfig, SourceConfig, JobConfigEntity, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DelimitedFileSourceConfig
  2. Product
  3. Equals
  4. DelimitedFileConfig
  5. FileConfig
  6. FileSourceConfig
  7. SourceConfig
  8. JobConfigEntity
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DelimitedFileSourceConfig(id: ID, description: Option[NonEmptyString], path: URI, schema: Option[ID], persist: Option[StorageLevel], delimiter: NonEmptyString = ",", quote: NonEmptyString = "\"", escape: NonEmptyString = "\\", header: Boolean = false, windowBy: StreamWindowing = ProcessingTime, options: Seq[SparkParam] = Seq.empty, keyFields: Seq[NonEmptyString] = Seq.empty, metadata: Seq[SparkParam] = Seq.empty)

    id

    Source ID

    description

    Source description

    path

    Path to file

    schema

    Schema ID (only if header = false)

    persist

    Spark storage level in order to persist dataframe during job execution.

    delimiter

    Column delimiter (default: ,)

    quote

    Quotation symbol (default: ")

    escape

    Escape symbol (default: \)

    header

    Boolean flag indicating whether schema should be read from file header (default: false)

    windowBy

    Source of timestamp used to build windows. Applicable only for streaming jobs! Default: processingTime - uses current timestamp at the moment when Spark processes row. Other options are:

    • eventTime - uses column with name 'timestamp' (column must be of TimestampType).
    • customTime(columnName) - uses arbitrary user-defined column (column must be of TimestampType)
    options

    List of additional spark options required to read the source (if any)

    keyFields

    Sequence of key fields (columns that identify data row)

    metadata

    List of metadata parameters specific to this source

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( ... ) @native()
  6. val delimiter: NonEmptyString
  7. val description: Option[NonEmptyString]
    Definition Classes
    DelimitedFileSourceConfig → JobConfigEntity
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. val escape: NonEmptyString
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val header: Boolean
  13. val id: ID
    Definition Classes
    DelimitedFileSourceConfig → JobConfigEntity
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val keyFields: Seq[NonEmptyString]
  16. val metadata: Seq[SparkParam]
    Definition Classes
    DelimitedFileSourceConfig → JobConfigEntity
  17. val metadataString: Option[String]
    Definition Classes
    JobConfigEntity
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val options: Seq[SparkParam]
  22. val path: URI
    Definition Classes
    DelimitedFileSourceConfigFileConfig
  23. val persist: Option[StorageLevel]
  24. val quote: NonEmptyString
  25. val schema: Option[ID]
    Definition Classes
    DelimitedFileSourceConfigFileConfig
  26. val streamable: Boolean
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. val windowBy: StreamWindowing

Inherited from Product

Inherited from Equals

Inherited from DelimitedFileConfig

Inherited from FileConfig

Inherited from FileSourceConfig

Inherited from SourceConfig

Inherited from JobConfigEntity

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped