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.SupportsPushDownV2Filters, 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.connector.expressions.filter.Predicate[] |
pushedPredicates() |
org.apache.spark.sql.connector.expressions.filter.Predicate[] |
pushPredicates(org.apache.spark.sql.connector.expressions.filter.Predicate[] predicates) |
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.connector.expressions.filter.Predicate[] pushPredicates(org.apache.spark.sql.connector.expressions.filter.Predicate[] predicates)
pushPredicates
in interface org.apache.spark.sql.connector.read.SupportsPushDownV2Filters
public org.apache.spark.sql.connector.expressions.filter.Predicate[] pushedPredicates()
pushedPredicates
in interface org.apache.spark.sql.connector.read.SupportsPushDownV2Filters
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