Object

org.suecarter.tablediff

TableDiff

Related Doc: package tablediff

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

    Permalink

    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: Any): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. val chunkEnvVarName: String

    Permalink
  6. def clone(): AnyRef

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

    Permalink
    Attributes
    protected
  8. lazy val diffChunkSize: Int

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    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

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

    Permalink
    Attributes
    protected[org.suecarter.tablediff]
  23. 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]]

    Permalink

    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

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[org.suecarter.tablediff]

Inherited from AnyRef

Inherited from Any

Ungrouped