@ThreadSafe public class DataFilePathFactory extends Object
Path
s for data files.Modifier and Type | Field and Description |
---|---|
static String |
INDEX_PATH_SUFFIX |
Constructor and Description |
---|
DataFilePathFactory(Path parent,
String formatIdentifier,
String dataFilePrefix,
String changelogFilePrefix) |
Modifier and Type | Method and Description |
---|---|
static Path |
createNewFileIndexFilePath(Path filePath) |
static Path |
dataFileToFileIndexPath(Path dataFilePath) |
static String |
formatIdentifier(String fileName) |
Path |
newChangelogPath() |
Path |
newPath() |
Path |
toPath(String fileName) |
String |
uuid() |
public static final String INDEX_PATH_SUFFIX
public Path newPath()
public Path newChangelogPath()
@VisibleForTesting public String uuid()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.