org.suecarter.tablediff

TableDiff

object TableDiff

Functions to produce and handle diff reports

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TableDiff
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ValueDiff[T] = Either[EitherSide[T], Option[T]]

    Represents a value that could be a diff.

    Represents a value that could be a diff. Left is a diff. Right is not a diff, but is an option which is None if there is no value

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 chunkEnvVarName: String

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def defaultMainValueComparison[T]: (Option[T], Option[T]) ⇒ Boolean

    Attributes
    protected
  10. lazy val diffChunkSize: Int

    Attributes
    protected[org.suecarter.tablediff]
  11. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def fillForwardReportHeaders[R, C, M](report: ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]): ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]

    Attributes
    protected[org.suecarter.tablediff]
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flattenColumnHeaders[C](report: ReportContent[_, ValueDiff[C], _]): IndexedSeq[Seq[ValueDiff[C]]]

    Attributes
    protected[org.suecarter.tablediff]
  16. def flattenTableRows[T, R <: T, M <: T](report: ReportContent[ValueDiff[R], _, ValueDiff[M]]): ReportSection[ValueDiff[T]]

    Attributes
    protected[org.suecarter.tablediff]
  17. final def getClass(): Class[_]

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

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

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

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

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

    Definition Classes
    AnyRef
  23. def onlyTheDiffs[R, C, M](diffReport: ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]): ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]

    R

    Row header type

    C

    Column header type

    M

    Main data type

    diffReport

    a report containing diffs

    returns

    the input diff report filtered to just rows and columns containing diffs

  24. def pivotHeaders[T](reportSection: ReportSection[T]): ReportSection[T]

    Attributes
    protected[org.suecarter.tablediff]
  25. def produceReportDiff[R, C, M](leftReport: ReportContent[R, C, M], rightReport: ReportContent[R, C, M], mainValueComparison: (Option[M], Option[M]) ⇒ Boolean = defaultMainValueComparison, chunkSize: Int = diffChunkSize): ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]

    Produce a report that is the diff of the left and right report

    Produce a report that is the diff of the left and right report

    R

    Row header type

    C

    Column header type

    M

    Main data type

    mainValueComparison

    override the comparison function to see if two elements are the same default is ==

    returns

    report containing a representation of any diffs

  26. def readChunkEnvVar(envOverride: Option[String] = None): Int

    Attributes
    protected[org.suecarter.tablediff]
  27. def removeDuplicateReportHeaders[R, C, M](report: ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]): ReportContent[ValueDiff[R], ValueDiff[C], ValueDiff[M]]

    Attributes
    protected[org.suecarter.tablediff]
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def zipLongestCommonSubsequence[T](fullLeftSeq: ReportRow[T], fullRightSeq: ReportRow[T], chunkSize: Int = diffChunkSize): ReportRow[DiffLocation[T]]

    Attributes
    protected[org.suecarter.tablediff]
  34. def zipLongestCommonSubsequencePretty[T](leftSeq: ReportRow[T], rightSeq: ReportRow[T]): Seq[DiffLocation[T]]

    Attributes
    protected[org.suecarter.tablediff]

Inherited from AnyRef

Inherited from Any

Ungrouped