Packages

t

org.apache.spark.sql.sources

StreamSourceProvider

trait StreamSourceProvider extends AnyRef

::Experimental:: Implemented by objects that can produce a streaming Source for a specific format or system.

Annotations
@Unstable()
Source
interfaces.scala
Since

2.0.0

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

Abstract Value Members

  1. abstract def createSource(sqlContext: SQLContext, metadataPath: String, schema: Option[StructType], providerName: String, parameters: Map[String, String]): Source

    Since

    2.0.0

  2. abstract def sourceSchema(sqlContext: SQLContext, schema: Option[StructType], providerName: String, parameters: Map[String, String]): (String, StructType)

    Returns the name and schema of the source that can be used to continually read data.

    Returns the name and schema of the source that can be used to continually read data.

    Since

    2.0.0