public class SparkScanBuilder
extends java.lang.Object
implements org.apache.spark.sql.connector.read.ScanBuilder, org.apache.spark.sql.connector.read.SupportsPushDownFilters, org.apache.spark.sql.connector.read.SupportsPushDownRequiredColumns
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.connector.read.Scan |
build() |
org.apache.spark.sql.connector.read.Scan |
buildMergeScan() |
SparkScanBuilder |
caseSensitive(boolean isCaseSensitive) |
SparkScanBuilder |
ignoreResiduals() |
void |
pruneColumns(org.apache.spark.sql.types.StructType requestedSchema) |
org.apache.spark.sql.sources.Filter[] |
pushedFilters() |
org.apache.spark.sql.sources.Filter[] |
pushFilters(org.apache.spark.sql.sources.Filter[] filters) |
public SparkScanBuilder caseSensitive(boolean isCaseSensitive)
public org.apache.spark.sql.sources.Filter[] pushFilters(org.apache.spark.sql.sources.Filter[] filters)
pushFilters
in interface org.apache.spark.sql.connector.read.SupportsPushDownFilters
public org.apache.spark.sql.sources.Filter[] pushedFilters()
pushedFilters
in interface org.apache.spark.sql.connector.read.SupportsPushDownFilters
public void pruneColumns(org.apache.spark.sql.types.StructType requestedSchema)
pruneColumns
in interface org.apache.spark.sql.connector.read.SupportsPushDownRequiredColumns
public SparkScanBuilder ignoreResiduals()
public org.apache.spark.sql.connector.read.Scan build()
build
in interface org.apache.spark.sql.connector.read.ScanBuilder
public org.apache.spark.sql.connector.read.Scan buildMergeScan()