示例#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);
 }
示例#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);
 }