Package io.delta.storage.internal
Class FileNameUtils
Object
io.delta.storage.internal.FileNameUtils
Helper for misc functions relating to file names for delta commits.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.fs.PathdeltaFile(org.apache.hadoop.fs.Path path, long version) Returns the delta (json format) path for a given delta file.static longdeltaVersion(org.apache.hadoop.fs.Path path) Returns the version for the given delta path.static booleanisDeltaFile(org.apache.hadoop.fs.Path path) Returns true if the given path is a delta file, else false.
-
Constructor Details
-
FileNameUtils
public FileNameUtils()
-
-
Method Details
-
deltaFile
public static org.apache.hadoop.fs.Path deltaFile(org.apache.hadoop.fs.Path path, long version) Returns the delta (json format) path for a given delta file. -
deltaVersion
public static long deltaVersion(org.apache.hadoop.fs.Path path) Returns the version for the given delta path. -
isDeltaFile
public static boolean isDeltaFile(org.apache.hadoop.fs.Path path) Returns true if the given path is a delta file, else false.
-