Package org.apache.drill.common.config
Class LogicalPlanPersistence
java.lang.Object
org.apache.drill.common.config.LogicalPlanPersistence
-
Constructor Summary
ConstructorDescriptionLogicalPlanPersistence
(DrillConfig conf, ScanResult scanResult) LogicalPlanPersistence
(DrillConfig conf, ScanResult scanResult, com.fasterxml.jackson.databind.ObjectMapper mapper) -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.ObjectMapper
getSubTypes
(ScanResult classpathScan, Class<T> parent) Scan for implementations of the given interface.
-
Constructor Details
-
LogicalPlanPersistence
-
LogicalPlanPersistence
public LogicalPlanPersistence(DrillConfig conf, ScanResult scanResult, com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
Method Details
-
getMapper
public com.fasterxml.jackson.databind.ObjectMapper getMapper() -
getSubTypes
Scan for implementations of the given interface.- Parameters:
classpathScan
- Drill configuration object used to find the packages to scan- Returns:
- list of classes that implement the interface.
-