private void applyGlobalQueryHints(final AST2BOpContext context,final QueryRoot queryRoot,final Properties queryHints){
  if (queryHints == null || queryHints.isEmpty())   return;
  final Iterator<BOp> itr=BOpUtility.preOrderIteratorWithAnnotations(queryRoot);
  final List<ASTBase> list=new LinkedList<ASTBase>();
  while (itr.hasNext()) {
    final BOp op=itr.next();
    if (!isNodeAcceptingQueryHints(op))     continue;
    final ASTBase t=(ASTBase)op;
    list.add(t);
  }
  for (  ASTBase t : list) {
    applyQueryHints(context,queryRoot,QueryHintScope.Query,t,queryHints);
  }
}

private void applyGlobalQueryHints ( final AST2BOpContext context , final QueryRoot queryRoot , final Properties queryHints ) { if ( queryHints == null || queryHints . isEmpty ( ) ) return ; final Iterator < BOp > itr = BOpUtility . preOrderIteratorWithAnnotations ( queryRoot ) ; final List < ASTBase > list = new LinkedList < ASTBase > ( ) ; while ( itr . hasNext ( ) ) { final BOp op = itr . next ( ) ; if ( ! isNodeAcceptingQueryHints ( op ) ) continue ; final ASTBase t = ( ASTBase ) op ; list . add ( t ) ; } for ( ASTBase t : list ) { applyQueryHints ( context , queryRoot , QueryHintScope . Query , t , queryHints ) ; } }
applies the global query hints to each node in the query .
