Packages

case class TextScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, 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, Serializable, Product, Equals, TextBasedFileScan, FileScan, Logging, SupportsMetadata, SupportsReportStatistics, Batch, Scan, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextScan
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TextBasedFileScan
  7. FileScan
  8. Logging
  9. SupportsMetadata
  10. SupportsReportStatistics
  11. Batch
  12. Scan
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def createReaderFactory(): PartitionReaderFactory
    Definition Classes
    TextScan → Batch
  7. 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
  8. def description(): String
    Definition Classes
    FileScan → Scan
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(obj: Any): Boolean
    Definition Classes
    TextScan → Equals → FileScan → AnyRef → Any
  11. def equivalentFilters(a: Array[Filter], b: Array[Filter]): Boolean
    Attributes
    protected
    Definition Classes
    FileScan
  12. def estimateStatistics(): Statistics
    Definition Classes
    FileScan → SupportsReportStatistics
  13. val fileIndex: PartitioningAwareFileIndex
    Definition Classes
    TextScanFileScan
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. 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
  16. def getMetaData(): Map[String, String]
    Definition Classes
    FileScan → SupportsMetadata
  17. def hashCode(): Int
    Definition Classes
    TextScanFileScan → AnyRef → Any
  18. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. 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
  22. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  23. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. val maxMetadataValueLength: Int
    Definition Classes
    FileScan
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. val options: CaseInsensitiveStringMap
  40. 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
  41. def partitions: Seq[FilePartition]
    Attributes
    protected
    Definition Classes
    FileScan
  42. def planInputPartitions(): Array[InputPartition]
    Definition Classes
    FileScan → Batch
  43. val readDataSchema: StructType

    Returns the required data schema

    Returns the required data schema

    Definition Classes
    TextScanFileScan
  44. val readPartitionSchema: StructType

    Returns the required partition schema

    Returns the required partition schema

    Definition Classes
    TextScanFileScan
  45. def readSchema(): StructType
    Definition Classes
    FileScan → Scan
  46. def seqToString(seq: Seq[Any]): String
    Attributes
    protected
    Definition Classes
    FileScan
  47. val sparkSession: SparkSession
    Definition Classes
    TextScanFileScan
  48. def supportedCustomMetrics(): Array[CustomMetric]
    Definition Classes
    Scan
  49. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  50. def toBatch(): Batch
    Definition Classes
    FileScan → Scan
  51. def toContinuousStream(arg0: String): ContinuousStream
    Definition Classes
    Scan
  52. def toMicroBatchStream(arg0: String): MicroBatchStream
    Definition Classes
    Scan
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def withFilters(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): FileScan

    Create a new FileScan instance from the current one with different partitionFilters and dataFilters

    Create a new FileScan instance from the current one with different partitionFilters and dataFilters

    Definition Classes
    TextScanFileScan

Deprecated Value Members

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TextBasedFileScan

Inherited from FileScan

Inherited from Logging

Inherited from SupportsMetadata

Inherited from SupportsReportStatistics

Inherited from Batch

Inherited from Scan

Inherited from AnyRef

Inherited from Any

Ungrouped