@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,
boolean fileSuffixIncludeCompression,
String fileCompression) |
Modifier and Type | Method and Description |
---|---|
static Path |
createNewFileIndexFilePath(Path filePath) |
static Path |
dataFileToFileIndexPath(Path dataFilePath) |
static String |
formatIdentifier(String fileName) |
String |
newChangelogFileName() |
Path |
newChangelogPath() |
Path |
newPath() |
Path |
newPath(String prefix) |
Path |
toAlignedPath(String fileName,
DataFileMeta aligned) |
Path |
toPath(DataFileMeta file) |
Path |
toPath(FileEntry file) |
public static final String INDEX_PATH_SUFFIX
public Path newPath()
public Path newChangelogPath()
public String newChangelogFileName()
public Path toPath(DataFileMeta file)
public Path toAlignedPath(String fileName, DataFileMeta aligned)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.