Skip to content

ConsoleTable

ConsoleTable is a Table (Spark SQL) with SupportsWrite (Spark SQL) support.

Creating Instance

ConsoleTable takes no arguments to be created.

Scala object

ConsoleTable is an object in Scala which means it is a class that has exactly one instance (itself). A Scala object is created lazily when it is referenced for the first time.

Learn more in Tour of Scala.

ConsoleTable is "created" when:

  • ConsoleSinkProvider is requested for a table

Name

Table
name(): String

name is part of the Table (Spark SQL) abstraction.

name is console.