@ThreadSafe public class FileStorePathFactory extends Object
Path
s for manifest files.Modifier and Type | Field and Description |
---|---|
static String |
BUCKET_PATH_PREFIX |
static String |
INDEX_MANIFEST_PREFIX |
static String |
INDEX_PATH |
static String |
INDEX_PREFIX |
static String |
MANIFEST_LIST_PREFIX |
static String |
MANIFEST_PATH |
static String |
MANIFEST_PREFIX |
static String |
STATISTICS_PATH |
static String |
STATISTICS_PREFIX |
Constructor and Description |
---|
FileStorePathFactory(Path root,
RowType partitionType,
String defaultPartValue,
String formatIdentifier,
String dataFilePrefix,
String changelogFilePrefix,
boolean legacyPartitionName,
boolean fileSuffixIncludeCompression,
String fileCompression,
String dataFilePathDirectory,
List<Path> externalPaths) |
Modifier and Type | Method and Description |
---|---|
Path |
bucketPath(BinaryRow partition,
int bucket) |
DataFilePathFactory |
createDataFilePathFactory(BinaryRow partition,
int bucket) |
Path |
dataFilePath() |
List<Path> |
getHierarchicalPartitionPath(BinaryRow partition) |
static InternalRowPartitionComputer |
getPartitionComputer(RowType partitionType,
String defaultPartValue,
boolean legacyPartitionName) |
String |
getPartitionString(BinaryRow partition)
IMPORTANT: This method is NOT THREAD SAFE.
|
PathFactory |
indexFileFactory() |
PathFactory |
indexManifestFileFactory() |
Path |
indexPath() |
PathFactory |
manifestFileFactory() |
PathFactory |
manifestListFactory() |
Path |
manifestPath() |
Path |
newManifestFile() |
Path |
newManifestList() |
Path |
relativeBucketPath(BinaryRow partition,
int bucket) |
Path |
root() |
Path |
statisticsPath() |
PathFactory |
statsFileFactory() |
Path |
toManifestFilePath(String manifestFileName) |
Path |
toManifestListPath(String manifestListName) |
String |
uuid() |
public static final String MANIFEST_PATH
public static final String MANIFEST_PREFIX
public static final String MANIFEST_LIST_PREFIX
public static final String INDEX_MANIFEST_PREFIX
public static final String INDEX_PATH
public static final String INDEX_PREFIX
public static final String STATISTICS_PATH
public static final String STATISTICS_PREFIX
public static final String BUCKET_PATH_PREFIX
public FileStorePathFactory(Path root, RowType partitionType, String defaultPartValue, String formatIdentifier, String dataFilePrefix, String changelogFilePrefix, boolean legacyPartitionName, boolean fileSuffixIncludeCompression, String fileCompression, @Nullable String dataFilePathDirectory, List<Path> externalPaths)
public Path root()
public Path manifestPath()
public Path indexPath()
public Path statisticsPath()
public Path dataFilePath()
@VisibleForTesting public static InternalRowPartitionComputer getPartitionComputer(RowType partitionType, String defaultPartValue, boolean legacyPartitionName)
public Path newManifestFile()
public Path newManifestList()
public DataFilePathFactory createDataFilePathFactory(BinaryRow partition, int bucket)
public String getPartitionString(BinaryRow partition)
@VisibleForTesting public String uuid()
public PathFactory manifestFileFactory()
public PathFactory manifestListFactory()
public PathFactory indexManifestFileFactory()
public PathFactory indexFileFactory()
public PathFactory statsFileFactory()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.