Class

com.swoop.spark.records

RecordBuilderLike

Related Doc: package records

Permalink

abstract class RecordBuilderLike[Rec <: Record[_, _], Ctx <: JobContext] extends BuildsRecords[Rec] with HasJobContext[Ctx] with ThrowsErrors

Base class for single and composite record builders.

Rec

The record

Ctx

The job context

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordBuilderLike
  2. ThrowsErrors
  3. HasJobContext
  4. BuildsRecords
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RecordBuilderLike(jobContext: Ctx)

    Permalink

    jobContext

    the job context

Abstract Value Members

  1. abstract def build: TraversableOnce[Rec]

    Permalink

    Returns zero or more records based on the builder type and the input.

    Returns zero or more records based on the builder type and the input.

    Definition Classes
    BuildsRecords
  2. abstract def errorRecord(issues: Seq[Issue]): Rec

    Permalink

    Builds an error record.

    Builds an error record. Should never throw an exception.

    Attributes
    protected
  3. abstract def jobContext: Ctx

    Permalink

    Returns the job context.

    Returns the job context.

    Definition Classes
    HasJobContext

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to any2stringadd[RecordBuilderLike[Rec, Ctx]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RecordBuilderLike[Rec, Ctx], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to ArrowAssoc[RecordBuilderLike[Rec, Ctx]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collectInputStatistics(): Unit

    Permalink

    Called once for each top-level build() call for AnyRecordBuilder.

    Called once for each top-level build() call for AnyRecordBuilder.

    Attributes
    protected
  9. def collectIssueStats(record: Rec): Unit

    Permalink

    Called every time a record is emitted, independent of whether it has data or not and whether it is an error or not.

    Called every time a record is emitted, independent of whether it has data or not and whether it is an error or not.

    Will not be called on skipped records.

    record

    The record about to be emitted.

    Attributes
    protected
  10. def collectUnhandledExceptionStatistics(record: Rec, ex: Throwable): Unit

    Permalink

    Called when there is an internal error as part of record building.

    Called when there is an internal error as part of record building.

    An error issue will be created for this exception and collectIssueStats will take it into account. This method is called in order to specifically capture statistics about this internal error.

    record

    The record with the unhandled exception in issues.

    ex

    The unhandled exception.

    Attributes
    protected
  11. def ensuring(cond: (RecordBuilderLike[Rec, Ctx]) ⇒ Boolean, msg: ⇒ Any): RecordBuilderLike[Rec, Ctx]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to Ensuring[RecordBuilderLike[Rec, Ctx]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (RecordBuilderLike[Rec, Ctx]) ⇒ Boolean): RecordBuilderLike[Rec, Ctx]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to Ensuring[RecordBuilderLike[Rec, Ctx]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): RecordBuilderLike[Rec, Ctx]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to Ensuring[RecordBuilderLike[Rec, Ctx]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): RecordBuilderLike[Rec, Ctx]

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to Ensuring[RecordBuilderLike[Rec, Ctx]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to StringFormat[RecordBuilderLike[Rec, Ctx]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def jc: Ctx

    Permalink

    Shorthand for jobContext.

    Shorthand for jobContext.

    Definition Classes
    HasJobContext
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def throwError(message: String, messageId: Int, cause: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  28. def throwError(message: String, detail: String, messageId: Int, cause: Throwable): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  29. def throwError(message: String, messageId: Int): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  30. def throwError(message: String, detail: String, messageId: Int): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  31. def throwError(message: String): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  32. def throwError(message: String, detail: String): Nothing

    Permalink
    Definition Classes
    ThrowsErrors
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. def unhandledException(ex: Throwable): Rec

    Permalink

    Returns an error record for an unhandled exception.

    Returns an error record for an unhandled exception. Collects unhandled error metrics.

    Attributes
    protected
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (RecordBuilderLike[Rec, Ctx], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from RecordBuilderLike[Rec, Ctx] to ArrowAssoc[RecordBuilderLike[Rec, Ctx]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ThrowsErrors

Inherited from HasJobContext[Ctx]

Inherited from BuildsRecords[Rec]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RecordBuilderLike[Rec, Ctx] to any2stringadd[RecordBuilderLike[Rec, Ctx]]

Inherited by implicit conversion StringFormat from RecordBuilderLike[Rec, Ctx] to StringFormat[RecordBuilderLike[Rec, Ctx]]

Inherited by implicit conversion Ensuring from RecordBuilderLike[Rec, Ctx] to Ensuring[RecordBuilderLike[Rec, Ctx]]

Inherited by implicit conversion ArrowAssoc from RecordBuilderLike[Rec, Ctx] to ArrowAssoc[RecordBuilderLike[Rec, Ctx]]

Ungrouped