object FileNames
Helper for creating file names for specific commits / checkpoints.
- Alphabetic
- By Inheritance
- FileNames
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val checkpointFilePattern: Pattern
- def checkpointFileSingular(path: Path, version: Long): Path
Returns the path for a singular checkpoint up to the given version.
Returns the path for a singular checkpoint up to the given version.
In a future protocol version this path will stop being written.
- def checkpointFileWithParts(path: Path, version: Long, numParts: Int): Seq[Path]
Returns the paths for all parts of the checkpoint up to the given version.
Returns the paths for all parts of the checkpoint up to the given version.
In a future protocol version we will write this path instead of checkpointFileSingular.
Example of the format: 00000000000000004915.checkpoint.0000000020.0000000060.parquet is checkpoint part 20 out of 60 for the snapshot at version 4915. Zero padding is for lexicographic sorting.
- def checkpointPrefix(path: Path, version: Long): Path
Returns the prefix of all checkpoint files for the given version.
Returns the prefix of all checkpoint files for the given version.
Intended for use with listFrom to get all files from this version onwards. The returned Path will not exist as a file.
- def checkpointVersion(path: Path): Long
- def checksumFile(path: Path, version: Long): Path
Returns the path to the checksum file for the given version.
- val checksumFilePattern: Pattern
- def checksumVersion(path: Path): Long
Returns the version for the given checksum file.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def deltaFile(path: Path, version: Long): Path
Returns the delta (json format) path for a given delta file.
- val deltaFilePattern: Pattern
- def deltaVersion(path: Path): Long
Returns the version for the given delta path.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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 getFileVersion(path: Path): Long
Get the version of the checkpoint, checksum or delta file.
Get the version of the checkpoint, checksum or delta file. Throws an error if an unexpected file type is seen. These unexpected files should be filtered out to ensure forward compatibility in cases where new file types are added, but without an explicit protocol upgrade.
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isCheckpointFile(path: Path): Boolean
- def isChecksumFile(path: Path): Boolean
- def isDeltaFile(path: Path): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def numCheckpointParts(path: Path): Option[Int]
- def sampleFile(path: Path, version: Long): Path
Returns the path for a given sample file
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()