@Before
 public void init() {
   drillConfig = DrillConfig.create();
   allocator = RootAllocatorFactory.newRoot(drillConfig);
 }
Esempio n. 2
0
 public PrintingResultsListener(DrillConfig config, Format format, int columnWidth) {
   this.allocator = RootAllocatorFactory.newRoot(config);
   loader = new RecordBatchLoader(allocator);
   this.format = format;
   this.columnWidth = columnWidth;
 }