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
- Alphabetic
- By Inheritance
- TextScan
- Serializable
- Serializable
- Product
- Equals
- TextBasedFileScan
- FileScan
- Logging
- SupportsMetadata
- SupportsReportStatistics
- Batch
- Scan
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TextScan(sparkSession: SparkSession, fileIndex: PartitioningAwareFileIndex, dataSchema: StructType, readDataSchema: StructType, readPartitionSchema: StructType, options: CaseInsensitiveStringMap, 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( ... ) @native()
-
def
createReaderFactory(): PartitionReaderFactory
- Definition Classes
- TextScan → 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[_]
- 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
- TextScan → TextBasedFileScan → FileScan
-
def
getMetaData(): Map[String, String]
- Definition Classes
- FileScan → SupportsMetadata
- 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
- TextScan → 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
-
val
readDataSchema: StructType
Returns the required data schema
-
val
readPartitionSchema: StructType
Returns the required partition schema
-
def
readSchema(): StructType
- Definition Classes
- FileScan → 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()