Packages

case class TahoeLogFileIndex(spark: SparkSession, deltaLog: DeltaLog, path: Path, snapshotAtAnalysis: Snapshot, partitionFilters: Seq[Expression] = Nil, isTimeTravelQuery: Boolean = false) extends TahoeFileIndex with Product with Serializable

A TahoeFileIndex that generates the list of files from DeltaLog with given partition filters.

NOTE: This is NOT a TahoeFileIndexWithSnapshotDescriptor because we only use snapshotAtAnalysis for actual data skipping if this is a time travel query.

Linear Supertypes
Serializable, Product, Equals, TahoeFileIndex, SnapshotDescriptor, SupportsRowIndexFilters, FileIndex, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TahoeLogFileIndex
  2. Serializable
  3. Product
  4. Equals
  5. TahoeFileIndex
  6. SnapshotDescriptor
  7. SupportsRowIndexFilters
  8. FileIndex
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TahoeLogFileIndex(spark: SparkSession, deltaLog: DeltaLog, path: Path, snapshotAtAnalysis: Snapshot, partitionFilters: Seq[Expression] = Nil, isTimeTravelQuery: Boolean = false)

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 absolutePath(child: String): Path
    Attributes
    protected
    Definition Classes
    TahoeFileIndex
  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]) @native()
  7. val deltaLog: DeltaLog
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(that: Any): Boolean
    Definition Classes
    TahoeLogFileIndex → Equals → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def getBasePath(filePath: Path): Option[Path]

    Returns the path of the base directory of the given file path (i.e.

    Returns the path of the base directory of the given file path (i.e. its parent directory with all the partition directories stripped off).

    Definition Classes
    TahoeFileIndex
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getPartitionValuesRow(partitionValues: Map[String, String]): GenericInternalRow
    Attributes
    protected
    Definition Classes
    TahoeFileIndex
  14. def getSnapshot: Snapshot
  15. def getSnapshotToScan: Snapshot
    Attributes
    protected
  16. def hashCode(): Int
    Definition Classes
    TahoeLogFileIndex → AnyRef → Any
  17. def inputFiles: Array[String]
    Definition Classes
    TahoeLogFileIndex → FileIndex
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val isTimeTravelQuery: Boolean
  20. def listFiles(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): Seq[PartitionDirectory]
    Definition Classes
    TahoeFileIndex → FileIndex
  21. def matchingFiles(partitionFilters: Seq[Expression], dataFilters: Seq[Expression]): Seq[AddFile]

    Returns all matching/valid files by the given partitionFilters and dataFilters.

    Returns all matching/valid files by the given partitionFilters and dataFilters. Implementations may avoid evaluating data filters when doing so would be expensive, but *must* evaluate the partition filters; wrong results will be produced if AddFile entries which don't match the partition filters are returned.

    Definition Classes
    TahoeLogFileIndex → TahoeFileIndex
  22. def metadata: Metadata
  23. def metadataOpsTimeNs: Option[Long]
    Definition Classes
    FileIndex
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def numOfFilesIfKnown: Option[Long]
    Attributes
    protected[delta]
    Definition Classes
    TahoeLogFileIndex → SnapshotDescriptor
  28. val partitionFilters: Seq[Expression]
  29. def partitionSchema: StructType
    Definition Classes
    TahoeFileIndex → FileIndex
  30. val path: Path
    Definition Classes
    TahoeLogFileIndex → TahoeFileIndex
  31. def productElementNames: Iterator[String]
    Definition Classes
    Product
  32. def protocol: Protocol
  33. def refresh(): Unit
    Definition Classes
    TahoeLogFileIndex → FileIndex
  34. def rootPaths: Seq[Path]
    Definition Classes
    TahoeFileIndex → FileIndex
  35. def rowIndexFilters: Option[Map[String, RowIndexFilterType]]

    If we know a-priori which exact rows we want to read (e.g., from a previous scan) find the per-file filter here, which must be passed down to the appropriate reader.

    If we know a-priori which exact rows we want to read (e.g., from a previous scan) find the per-file filter here, which must be passed down to the appropriate reader.

    returns

    a mapping from file names to the row index filter for that file.

    Definition Classes
    SupportsRowIndexFilters
  36. def schema: StructType
    Definition Classes
    SnapshotDescriptor
  37. def sizeInBytes: Long
    Definition Classes
    TahoeLogFileIndex → FileIndex
  38. def sizeInBytesIfKnown: Option[Long]
    Attributes
    protected[delta]
    Definition Classes
    TahoeLogFileIndex → SnapshotDescriptor
  39. val snapshotAtAnalysis: Snapshot
  40. val spark: SparkSession
    Definition Classes
    TahoeLogFileIndex → TahoeFileIndex
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    TahoeFileIndex → FileIndex → AnyRef → Any
  43. def version: Long
  44. def versionToUse: Option[Long]

    Provides the version that's being used as part of the scan if this is a time travel query.

  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TahoeFileIndex

Inherited from SnapshotDescriptor

Inherited from FileIndex

Inherited from AnyRef

Inherited from Any

Ungrouped