Object

com.alpine.plugin.core.utils

AddendumWriter

Related Doc: package utils

Permalink

object AddendumWriter

Utilities for writing the addendum for custom operators in a consistent manner

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddendumWriter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val OUTPUT_DISPLAY_NAME: String

    Permalink
  5. val SUMMARY_DISPLAY_NAME: String

    Permalink
  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 createCompositeVisualModel(visualModelHelper: HDFSVisualModelHelper, outputData: TabularDataset, additionalVisualModels: Seq[(String, VisualModel)]): CompositeVisualModel

    Permalink
  9. def createCompositeVisualModel(visualModelHelper: DBVisualModelHelper, outputData: DBTable, additionalVisualModels: Seq[(String, VisualModel)]): CompositeVisualModel

    Permalink
  10. def createCompositeVisualModel[O <: TabularDataset](visualModelFactory: VisualModelFactory, outputData: O, additionalVisualModels: Array[(String, VisualModel)] = Array.empty[(String, VisualModel)]): CompositeVisualModel

    Permalink

    Use in the 'OnOutputVisualization class.

    Use in the 'OnOutputVisualization class. Creates a composite visualization with - the output of a tabular dataset - the visual models provided by the optional additionalVisualModels parameter - an HtmlVisualModel of the summary if it has been added to the addendum (nothing will be - added if the addendum doesn't include anything with the visual key 'summaryKey'

  11. def createStandardAddendum(summaryText: String): Map[String, AnyRef]

    Permalink

    Create a map which can be used as the addendum with one (key, value) pair added.

    Create a map which can be used as the addendum with one (key, value) pair added. Add more values to the map with map.updated(newKey, newValue)

    summaryText

    The text which should appear in the summary tab of the result output.

  12. val emptyRow: List[String]

    Permalink

    Add to a list that will be used by Tabulator.

    Add to a list that will be used by Tabulator. It creates an empty row in the table

  13. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generateBadDataReport(inputSize: Long, outputSize: Long): List[List[String]]

    Permalink

    Given the input size and output size, generates a report as a list of lists (which can then be formatted as an HTML table with the tabulator class about how much bad data was removed.

    Given the input size and output size, generates a report as a list of lists (which can then be formatted as an HTML table with the tabulator class about how much bad data was removed. If, for example, the input had 100 rows and the output had ninety the report would read: Input data size: 100 rows Input data size after removing rows with null values: 90 rows Rows removed (due to null values) : 10 rows (10%)

  17. def generateNullDataReport(inputSize: Long, outputSize: Long, reason: String): List[List[String]]

    Permalink

    Given the input size and output size, generates a report as a list of lists (which can then be formatted as an HTML table with the tabulator class about how much bad data was removed.

    Given the input size and output size, generates a report as a list of lists (which can then be formatted as an HTML table with the tabulator class about how much bad data was removed. If, for example, the input had 100 rows and the output had ninety the report would read: Input data size: 100 rows Input data size after removing rows + REASON + : 90 rows Rows removed (REASON) : 10 rows (10%)

    reason

    - why the data was removed e.g. "due to null values"

  18. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def reportBadDataSize(input: Long, output: Long): List[String]

    Permalink
  25. def reportInputSize(n: Long): List[String]

    Permalink
  26. def reportNullDataSize(input: Long, output: Long, reason: String): List[String]

    Permalink
  27. def reportOutputLocation(outputPath: String, resultMessage: String = ...): String

    Permalink

    Returns a string describing the name of the results and where they are stored.

    Returns a string describing the name of the results and where they are stored. Has html
    tags afterwards.

  28. def reportOutputSize(n: Long, reason: String): List[String]

    Permalink
  29. def reportOutputSize(n: Long): List[String]

    Permalink
  30. val summaryKey: String

    Permalink
  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( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped