Class/Object

com.swoop.spark.records

PartitionedRecordEnvironment

Related Docs: object PartitionedRecordEnvironment | package records

Permalink

class PartitionedRecordEnvironment extends RecordEnvironment

A partitioned error environment.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartitionedRecordEnvironment
  2. RecordEnvironment
  3. Serializable
  4. Serializable
  5. AnyRef
  6. 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 PartitionedRecordEnvironment(colName: String, errorValue: String, customRecordFields: Seq[String] = Seq.empty)

    Permalink

    colName

    The record category partition column name. Conventionally, this is par_cat.

    errorValue

    The category value for the partition with error records. Conventionally, this is bad.

    customRecordFields

    Any custom fields that are part of the records.

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from PartitionedRecordEnvironment to ArrowAssoc[PartitionedRecordEnvironment] 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
    Definition Classes
    RecordEnvironment
  7. def allRecordFields: Seq[String]

    Permalink

    Returns the concatenation of REQUIRED_RECORD_FIELDS and customRecordFields.

    Returns the concatenation of REQUIRED_RECORD_FIELDS and customRecordFields.

    Definition Classes
    RecordEnvironment
  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. val customRecordFields: Seq[String]

    Permalink

    Any custom fields that are part of the records.

    Any custom fields that are part of the records.

    Definition Classes
    PartitionedRecordEnvironmentRecordEnvironment
  11. def dataFilter: Column

    Permalink

    Returns an error filter that excludes the partitions with error data

    Returns an error filter that excludes the partitions with error data

    Definition Classes
    PartitionedRecordEnvironmentRecordEnvironment
  12. def ensuring(cond: (PartitionedRecordEnvironment) ⇒ Boolean, msg: ⇒ Any): PartitionedRecordEnvironment

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from PartitionedRecordEnvironment to Ensuring[PartitionedRecordEnvironment] 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 errorFilter: Column

    Permalink

    Returns an error filter that only includes the partitions with error data

    Returns an error filter that only includes the partitions with error data

    Definition Classes
    PartitionedRecordEnvironmentRecordEnvironment
  19. def errorRecords(dfRecords: DataFrame): DataFrame

    Permalink

    Returns only the error records in the provided dataframe

    Returns only the error records in the provided dataframe

    Definition Classes
    RecordEnvironment
  20. def errorRecords[Rec](dsRecords: Dataset[Rec])(implicit ev: <:<[Rec, Record[_, _]]): Dataset[Rec]

    Permalink

    Returns only the error records in the provided dataset

    Returns only the error records in the provided dataset

    Definition Classes
    RecordEnvironment
  21. def finalize(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  29. 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).

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

    Definition Classes
    RecordEnvironment
  30. def recordData(dfRecords: DataFrame): DataFrame

    Permalink

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

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

    Definition Classes
    RecordEnvironment
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

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

Inherited from RecordEnvironment

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped