Class LogicalPlanPersistence

java.lang.Object
org.apache.drill.common.config.LogicalPlanPersistence

public class LogicalPlanPersistence extends Object
  • Constructor Details

    • LogicalPlanPersistence

      public LogicalPlanPersistence(DrillConfig conf, ScanResult scanResult)
    • LogicalPlanPersistence

      public LogicalPlanPersistence(DrillConfig conf, ScanResult scanResult, com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details

    • getMapper

      public com.fasterxml.jackson.databind.ObjectMapper getMapper()
    • getSubTypes

      public static <T> Set<Class<? extends T>> getSubTypes(ScanResult classpathScan, Class<T> parent)
      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.