Class SegmentDirectoryLoaderRegistry
- java.lang.Object
-
- org.apache.pinot.segment.spi.loader.SegmentDirectoryLoaderRegistry
-
public class SegmentDirectoryLoaderRegistry extends Object
Helper class to dynamically register allSegmentDirectoryLoaderannotated withSegmentLoader
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SEGMENT_DIRECTORY_LOADER_NAME
-
Method Summary
Modifier and Type Method Description static SegmentDirectoryLoadergetDefaultSegmentDirectoryLoader()Returns the 'default'SegmentDirectoryLoaderstatic SegmentDirectoryLoadergetSegmentDirectoryLoader(String segmentDirectoryLoader)Returns the segment directory loader instance from instantiated map, for the given segmentDirectoryLoader namestatic voidsetSegmentDirectoryLoader(String segmentDirectoryLoaderName, SegmentDirectoryLoader loader)Explicitly adds aSegmentDirectoryLoaderto the map
-
-
-
Field Detail
-
DEFAULT_SEGMENT_DIRECTORY_LOADER_NAME
public static final String DEFAULT_SEGMENT_DIRECTORY_LOADER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSegmentDirectoryLoader
public static SegmentDirectoryLoader getSegmentDirectoryLoader(String segmentDirectoryLoader)
Returns the segment directory loader instance from instantiated map, for the given segmentDirectoryLoader name
-
setSegmentDirectoryLoader
public static void setSegmentDirectoryLoader(String segmentDirectoryLoaderName, SegmentDirectoryLoader loader)
Explicitly adds aSegmentDirectoryLoaderto the map
-
getDefaultSegmentDirectoryLoader
public static SegmentDirectoryLoader getDefaultSegmentDirectoryLoader()
Returns the 'default'SegmentDirectoryLoader
-
-