Class

com.alpine.plugin.test.mock

VisualModelFactoryMock

Related Doc: package mock

Permalink

class VisualModelFactoryMock extends VisualModelFactory

Annotations
@deprecated
Deprecated

Use new DBVisualModelFactoryImpl(DBVisualModelHelperMock) or new HDFSVisualModelFactoryImpl(HDFSVisualModelHelperMock) instead.

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

Instance Constructors

  1. new VisualModelFactoryMock()

    Permalink

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. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createCompositeVisualModel(): CompositeVisualModel

    Permalink

    One can return a composite of multiple visualizations.

    One can return a composite of multiple visualizations.

    returns

    A composite visual model that can contain multiple visualizations.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  7. def createDBTableVisualization(schemaName: String, tableName: String): VisualModel

    Permalink

    Create a visualization for a DB table.

    Create a visualization for a DB table. This pulls a preview of the DB table, for display in the results console.

    schemaName

    The schema name of the table to preview.

    tableName

    The schema name of the table to preview.

    returns

    A visualization of a sample of the table.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  8. def createDBTableVisualization(dbTable: DBTable): VisualModel

    Permalink

    Create a visualization for a DB table.

    Create a visualization for a DB table. This pulls a preview of the DB table, for display in the results console. Equivalent to dbTable.tableName)

    dbTable

    A DB table that we want to visualize.

    returns

    A visualization of the sample.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  9. def createDefaultVisualModel(ioObject: IOBase): VisualModel

    Permalink

    Create the default visual model for the given IOBase object.

    Create the default visual model for the given IOBase object. This is useful to quickly generate a visual model for an existing IOBase object.

    ioObject

    The IOBase object that we want to create a visual model for.

    returns

    A matching visual model.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  10. def createHtmlTextVisualization(text: String): HtmlVisualModel

    Permalink

    Create a visualization of an HTML text element.

    Create a visualization of an HTML text element. Use this method rather than the 'createTextVisualization' method if you want to include HTML formatting elements (like a table, or bold text) in your visualization.

    text

    An HTML String

    returns

    A text visualization object, which puts the html text inside of a <text> tag.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  11. def createPlainTextVisualModel(hdfsFile: HdfsFile): TextVisualModel

    Permalink

    Gets the first few lines of the HdfsFile as plain text.

    Gets the first few lines of the HdfsFile as plain text.

    hdfsFile

    The file to preview.

    returns

    The first few lines of the file as a visual model.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  12. def createTabularDatasetVisualization(dataset: TabularDataset): TabularVisualModel

    Permalink

    Create a visualization for an Hdfs tabular dataset.

    Create a visualization for an Hdfs tabular dataset.

    dataset

    A Hdfs tabular dataset that we want to visualize.

    returns

    A visualization of the sample.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  13. def createTextVisualization(text: String): TextVisualModel

    Permalink

    Create a simple text content visualization.

    Create a simple text content visualization.

    text

    The text we want to display in the console.

    returns

    A text visualization object.

    Definition Classes
    VisualModelFactoryMockVisualModelFactory
  14. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  20. def locale: Locale

    Permalink
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from VisualModelFactory

Inherited from AnyRef

Inherited from Any

Ungrouped