Packages

case class TextScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, dataSchema: StructType, readDataSchema: StructType, readPartitionSchema: StructType, options: CaseInsensitiveStringMap, partitionFilters: Seq[Expression] = Seq.empty, dataFilters: Seq[Expression] = Seq.empty) extends TextBasedFileScan with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, TextBasedFileScan, FileScan, Logging, SQLConfHelper, SupportsMetadata, SupportsReportStatistics, Batch, Scan, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextScan
  2. Serializable
  3. Product
  4. Equals
  5. TextBasedFileScan
  6. FileScan
  7. Logging
  8. SQLConfHelper
  9. SupportsMetadata
  10. SupportsReportStatistics
  11. Batch
  12. Scan
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TextScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, dataSchema: StructType, readDataSchema: StructType, readPartitionSchema: StructType, options: CaseInsensitiveStringMap, partitionFilters: Seq[Expression] = Seq.empty, dataFilters: Seq[Expression] = Seq.empty)

Type Members

  1. implicit class LogStringContext extends AnyRef
    Definition Classes
    Logging

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def MDC(key: LogKey, value: Any): MDC
    Attributes
    protected
    Definition Classes
    Logging
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. def columnarSupportMode(): ColumnarSupportMode
    Definition Classes
    Scan
  8. def conf: SQLConf
    Definition Classes
    FileScan → SQLConfHelper
  9. def createReaderFactory(): PartitionReaderFactory
    Definition Classes
    TextScan → Batch
  10. val dataFilters: Seq[Expression]

    Returns the data filters that can be use for file listing

    Returns the data filters that can be use for file listing

    Definition Classes
    TextScanFileScan
  11. val dataSchema: StructType
    Definition Classes
    TextScanFileScan
  12. def description(): String
    Definition Classes
    FileScan → Scan
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(obj: Any): Boolean
    Definition Classes
    TextScan → Equals → FileScan → AnyRef → Any
  15. def equivalentFilters(a: Array[Filter], b: Array[Filter]): Boolean
    Attributes
    protected
    Definition Classes
    FileScan
  16. def estimateStatistics(): Statistics
    Definition Classes
    FileScan → SupportsReportStatistics
  17. val fileIndex: PartitioningAwareFileIndex
    Definition Classes
    TextScanFileScan
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def getFileUnSplittableReason(path: Path): String

    If a file with path is unsplittable, return the unsplittable reason, otherwise return None.

    If a file with path is unsplittable, return the unsplittable reason, otherwise return None.

    Definition Classes
    TextScanTextBasedFileScanFileScan
  20. def getMetaData(): Map[String, String]
    Definition Classes
    FileScan → SupportsMetadata
  21. def hashCode(): Int
    Definition Classes
    TextScanFileScan → AnyRef → Any
  22. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  23. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isSplitable(path: Path): Boolean

    Returns whether a file with path could be split or not.

    Returns whether a file with path could be split or not.

    Definition Classes
    TextScanTextBasedFileScanFileScan
  26. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  27. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  28. def logBasedOnLevel(level: Level)(f: => MessageWithContext): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logDebug(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logDebug(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logDebug(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logDebug(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logError(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logError(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logError(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. def logError(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. def logInfo(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  38. def logInfo(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  39. def logInfo(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  40. def logInfo(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  42. def logTrace(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  43. def logTrace(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  44. def logTrace(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  45. def logTrace(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  46. def logWarning(msg: => String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  47. def logWarning(entry: LogEntry, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  48. def logWarning(entry: LogEntry): Unit
    Attributes
    protected
    Definition Classes
    Logging
  49. def logWarning(msg: => String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. val maxMetadataValueLength: Int
    Definition Classes
    FileScan
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  54. val options: CaseInsensitiveStringMap
  55. val partitionFilters: Seq[Expression]

    Returns the filters that can be use for partition pruning

    Returns the filters that can be use for partition pruning

    Definition Classes
    TextScanFileScan
  56. def partitions: Seq[FilePartition]
    Attributes
    protected
    Definition Classes
    FileScan
  57. def planInputPartitions(): Array[InputPartition]
    Definition Classes
    FileScan → Batch
  58. def productElementNames: Iterator[String]
    Definition Classes
    Product
  59. val readDataSchema: StructType

    Returns the required data schema

    Returns the required data schema

    Definition Classes
    TextScanFileScan
  60. val readPartitionSchema: StructType

    Returns the required partition schema

    Returns the required partition schema

    Definition Classes
    TextScanFileScan
  61. def readSchema(): StructType
    Definition Classes
    FileScan → Scan
  62. def reportDriverMetrics(): Array[CustomTaskMetric]
    Definition Classes
    Scan
  63. def seqToString(seq: Seq[Any]): String
    Attributes
    protected
    Definition Classes
    FileScan
  64. val sparkSession: SparkSession
    Definition Classes
    TextScanFileScan
  65. def supportedCustomMetrics(): Array[CustomMetric]
    Definition Classes
    Scan
  66. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  67. def toBatch(): Batch
    Definition Classes
    FileScan → Scan
  68. def toContinuousStream(arg0: String): ContinuousStream
    Definition Classes
    Scan
  69. def toMicroBatchStream(arg0: String): MicroBatchStream
    Definition Classes
    Scan
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  73. def withLogContext(context: Map[String, String])(body: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Logging
  74. def withSQLConf[T](pairs: (String, String)*)(f: => T): T
    Attributes
    protected
    Definition Classes
    SQLConfHelper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TextBasedFileScan

Inherited from FileScan

Inherited from Logging

Inherited from SQLConfHelper

Inherited from SupportsMetadata

Inherited from SupportsReportStatistics

Inherited from Batch

Inherited from Scan

Inherited from AnyRef

Inherited from Any

Ungrouped