Trait

com.swoop.spark.records

RecordEnvironment

Related Doc: package records

Permalink

trait RecordEnvironment extends Serializable

Base trait for the implicits that provide hints about how records are persisted.

Annotations
@implicitNotFound( ... )
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RecordEnvironment
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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

Abstract Value Members

  1. abstract def errorFilter: Column

    Permalink

    Returns a filter that identifies error records.

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 RecordEnvironment to any2stringadd[RecordEnvironment] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (RecordEnvironment, B)

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

    Permalink
    Definition Classes
    AnyRef → Any
  6. val REQUIRED_RECORD_FIELDS: Seq[String]

    Permalink
  7. def allRecordFields: Seq[String]

    Permalink

    Returns the concatenation of REQUIRED_RECORD_FIELDS and customRecordFields.

  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def customRecordFields: Seq[String]

    Permalink

    Returns any custom fields in the record, beyond REQUIRED_RECORD_FIELDS.

    Returns any custom fields in the record, beyond REQUIRED_RECORD_FIELDS.

    By default, there are none.

  11. def dataFilter: Column

    Permalink

    Returns a filter that identifies data records.

    Returns a filter that identifies data records. The default implementation is to invert errorFilter.

  12. def ensuring(cond: (RecordEnvironment) ⇒ Boolean, msg: ⇒ Any): RecordEnvironment

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def errorRecords(dfRecords: DataFrame): DataFrame

    Permalink

    Returns only the error records in the provided dataframe

  19. def errorRecords[Rec](dsRecords: Dataset[Rec])(implicit ev: <:<[Rec, Record[_, _]]): Dataset[Rec]

    Permalink

    Returns only the error records in the provided dataset

  20. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def recordData[A <: Product, Rec <: Record[A, _]](dsRecords: Dataset[Rec])(implicit enc: Encoder[A]): Dataset[A]

    Permalink

    Returns a dataset with the data of data records (the record envelope is removed).

  29. def recordData(dfRecords: DataFrame): DataFrame

    Permalink

    Returns a dataframe with the data of data records (the record envelope is removed).

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

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def [B](y: B): (RecordEnvironment, B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RecordEnvironment to any2stringadd[RecordEnvironment]

Inherited by implicit conversion StringFormat from RecordEnvironment to StringFormat[RecordEnvironment]

Inherited by implicit conversion Ensuring from RecordEnvironment to Ensuring[RecordEnvironment]

Inherited by implicit conversion ArrowAssoc from RecordEnvironment to ArrowAssoc[RecordEnvironment]

Ungrouped