Class PslScanBuilder (0.4.5)

public class PslScanBuilder implements ScanBuilder, Scan, SupportsReportStatistics

Inheritance

java.lang.Object > PslScanBuilder

Implements

org.apache.spark.sql.connector.read.ScanBuilder, org.apache.spark.sql.connector.read.Scan, org.apache.spark.sql.connector.read.SupportsReportStatistics

Constructors

PslScanBuilder(PslReadDataSourceOptions options)

public PslScanBuilder(PslReadDataSourceOptions options)
Parameter
NameDescription
optionsPslReadDataSourceOptions

Methods

build()

public Scan build()
Returns
TypeDescription
org.apache.spark.sql.connector.read.Scan

description()

public String description()
Returns
TypeDescription
String

estimateStatistics()

public Statistics estimateStatistics()
Returns
TypeDescription
org.apache.spark.sql.connector.read.Statistics

readSchema()

public StructType readSchema()
Returns
TypeDescription
org.apache.spark.sql.types.StructType

toContinuousStream(String checkpointLocation)

public ContinuousStream toContinuousStream(String checkpointLocation)
Parameter
NameDescription
checkpointLocationString
Returns
TypeDescription
org.apache.spark.sql.connector.read.streaming.ContinuousStream

toMicroBatchStream(String checkpointLocation)

public MicroBatchStream toMicroBatchStream(String checkpointLocation)
Parameter
NameDescription
checkpointLocationString
Returns
TypeDescription
org.apache.spark.sql.connector.read.streaming.MicroBatchStream