public class SparkScanBuilder
extends java.lang.Object
implements org.apache.spark.sql.connector.read.ScanBuilder, org.apache.spark.sql.connector.read.SupportsPushDownAggregates, org.apache.spark.sql.connector.read.SupportsPushDownFilters, org.apache.spark.sql.connector.read.SupportsPushDownRequiredColumns, org.apache.spark.sql.connector.read.SupportsReportStatistics
Modifier and Type | Method and Description |
---|---|
org.apache.spark.sql.connector.read.Scan |
build() |
org.apache.spark.sql.connector.read.Scan |
buildChangelogScan() |
org.apache.spark.sql.connector.read.Scan |
buildCopyOnWriteScan() |
org.apache.spark.sql.connector.read.Scan |
buildMergeOnReadScan() |
SparkScanBuilder |
caseSensitive(boolean isCaseSensitive) |
org.apache.spark.sql.connector.read.Statistics |
estimateStatistics() |
void |
pruneColumns(org.apache.spark.sql.types.StructType requestedSchema) |
boolean |
pushAggregation(org.apache.spark.sql.connector.expressions.aggregate.Aggregation aggregation) |
org.apache.spark.sql.sources.Filter[] |
pushedFilters() |
org.apache.spark.sql.sources.Filter[] |
pushFilters(org.apache.spark.sql.sources.Filter[] filters) |
org.apache.spark.sql.types.StructType |
readSchema() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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 boolean pushAggregation(org.apache.spark.sql.connector.expressions.aggregate.Aggregation aggregation)
pushAggregation
in interface org.apache.spark.sql.connector.read.SupportsPushDownAggregates
public void pruneColumns(org.apache.spark.sql.types.StructType requestedSchema)
pruneColumns
in interface org.apache.spark.sql.connector.read.SupportsPushDownRequiredColumns
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 buildChangelogScan()
public org.apache.spark.sql.connector.read.Scan buildMergeOnReadScan()
public org.apache.spark.sql.connector.read.Scan buildCopyOnWriteScan()
public org.apache.spark.sql.connector.read.Statistics estimateStatistics()
estimateStatistics
in interface org.apache.spark.sql.connector.read.SupportsReportStatistics
public org.apache.spark.sql.types.StructType readSchema()
readSchema
in interface org.apache.spark.sql.connector.read.Scan