Esempio n. 1
0
 @Override
 public CallbackAction segmentRemoved(DruidServerMetadata server, DataSegment segment) {
   final CallbackAction action;
   if (filter.apply(Pair.of(server, segment))) {
     action = callback.segmentRemoved(server, segment);
   } else {
     action = CallbackAction.CONTINUE;
   }
   return action;
 }
Esempio n. 2
0
 @Override
 public CallbackAction segmentViewInitialized() {
   return callback.segmentViewInitialized();
 }