case class CSVScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, dataSchema: StructType, readDataSchema: StructType, readPartitionSchema: StructType, options: CaseInsensitiveStringMap, pushedFilters: Array[Filter], partitionFilters: Seq[Expression] = Seq.empty, dataFilters: Seq[Expression] = Seq.empty) extends TextBasedFileScan with Product with Serializable
- Alphabetic
- By Inheritance
- CSVScan
- Serializable
- Product
- Equals
- TextBasedFileScan
- FileScan
- Logging
- SupportsMetadata
- SupportsReportStatistics
- Batch
- Scan
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CSVScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, dataSchema: StructType, readDataSchema: StructType, readPartitionSchema: StructType, options: CaseInsensitiveStringMap, pushedFilters: Array[Filter], partitionFilters: Seq[Expression] = Seq.empty, dataFilters: Seq[Expression] = Seq.empty)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val columnPruning: Boolean
- def columnarSupportMode(): ColumnarSupportMode
- Definition Classes
- Scan
- def createReaderFactory(): PartitionReaderFactory
- Definition Classes
- CSVScan → Batch
- val dataFilters: Seq[Expression]
Returns the data filters that can be use for file listing
- val dataSchema: StructType
- def description(): String
- Definition Classes
- FileScan → Scan
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- def equivalentFilters(a: Array[Filter], b: Array[Filter]): Boolean
- Attributes
- protected
- Definition Classes
- FileScan
- def estimateStatistics(): Statistics
- Definition Classes
- FileScan → SupportsReportStatistics
- val fileIndex: PartitioningAwareFileIndex
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getFileUnSplittableReason(path: Path): String
If a file with
pathis unsplittable, return the unsplittable reason, otherwise returnNone.If a file with
pathis unsplittable, return the unsplittable reason, otherwise returnNone.- Definition Classes
- CSVScan → TextBasedFileScan → FileScan
- def getMetaData(): Map[String, String]
- def hashCode(): Int
- def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def initializeLogIfNecessary(isInterpreter: Boolean): Unit
- Attributes
- protected
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSplitable(path: Path): Boolean
Returns whether a file with
pathcould be split or not.Returns whether a file with
pathcould be split or not.- Definition Classes
- CSVScan → TextBasedFileScan → FileScan
- def isTraceEnabled(): Boolean
- Attributes
- protected
- Definition Classes
- Logging
- def log: Logger
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logDebug(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logError(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logInfo(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logName: String
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logTrace(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String, throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
- def logWarning(msg: => String): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val maxMetadataValueLength: Int
- Definition Classes
- FileScan
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val options: CaseInsensitiveStringMap
- val partitionFilters: Seq[Expression]
Returns the filters that can be use for partition pruning
- def partitions: Seq[FilePartition]
- Attributes
- protected
- Definition Classes
- FileScan
- def planInputPartitions(): Array[InputPartition]
- Definition Classes
- FileScan → Batch
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val pushedFilters: Array[Filter]
- val readDataSchema: StructType
Returns the required data schema
- val readPartitionSchema: StructType
Returns the required partition schema
- def readSchema(): StructType
- Definition Classes
- FileScan → Scan
- def reportDriverMetrics(): Array[CustomTaskMetric]
- Definition Classes
- Scan
- def seqToString(seq: Seq[Any]): String
- Attributes
- protected
- Definition Classes
- FileScan
- val sparkSession: SparkSession
- def supportedCustomMetrics(): Array[CustomMetric]
- Definition Classes
- Scan
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toBatch(): Batch
- Definition Classes
- FileScan → Scan
- def toContinuousStream(arg0: String): ContinuousStream
- Definition Classes
- Scan
- def toMicroBatchStream(arg0: String): MicroBatchStream
- Definition Classes
- Scan
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()