Package com.amazonaws.partitions
Class PartitionsLoader
- java.lang.Object
-
- com.amazonaws.partitions.PartitionsLoader
-
public class PartitionsLoader extends Object
Loads all the partition files into memory.
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description PartitionsLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionMetadataProvider
build()
Loads the partition files from thePARTITIONS_OVERRIDE_RESOURCE_PATH
.
-
-
-
Field Detail
-
PARTITIONS_RESOURCE_PATH
public static final String PARTITIONS_RESOURCE_PATH
class path from where all partition files are loaded.- See Also:
- Constant Field Values
-
PARTITIONS_OVERRIDE_RESOURCE_PATH
public static final String PARTITIONS_OVERRIDE_RESOURCE_PATH
override class path from where all partition files are loaded.- See Also:
- Constant Field Values
-
-
Method Detail
-
build
public PartitionMetadataProvider build()
Loads the partition files from thePARTITIONS_OVERRIDE_RESOURCE_PATH
. If no files are present, then loads the partition files from thePARTITIONS_RESOURCE_PATH
Builds theRegionMetadata
from the partition files.
-
-