public class PartitionsLoader extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PARTITIONS_OVERRIDE_RESOURCE_PATH
override class path from where all partition files are loaded.
|
static String |
PARTITIONS_RESOURCE_PATH
class path from where all partition files are loaded.
|
Constructor and Description |
---|
PartitionsLoader() |
Modifier and Type | Method and Description |
---|---|
PartitionMetadataProvider |
build()
Loads the partition files from the
PARTITIONS_OVERRIDE_RESOURCE_PATH . |
public static final String PARTITIONS_RESOURCE_PATH
public static final String PARTITIONS_OVERRIDE_RESOURCE_PATH
public PartitionMetadataProvider build()
PARTITIONS_OVERRIDE_RESOURCE_PATH
. If no files are present, then
loads the partition files from the PARTITIONS_RESOURCE_PATH
Builds the RegionMetadata
from the partition files.