Exemplo n.º 1
0
 private static boolean executeFilter(
     SourceOperatorFactory operatorFactory, Split split, Session session) {
   SourceOperator operator = operatorFactory.createOperator(createDriverContext(session));
   operator.addSplit(split);
   operator.noMoreSplits();
   return executeFilter(operator);
 }
Exemplo n.º 2
0
 private Object selectSingleValue(
     SourceOperatorFactory operatorFactory, Split split, Session session) {
   SourceOperator operator = operatorFactory.createOperator(createDriverContext(session));
   operator.addSplit(split);
   operator.noMoreSplits();
   return selectSingleValue(operator);
 }