code: public void setBroadcastInputs(Map<Operator<?>, OptimizerNode> operatorToNode) throws CompilerException {
  
  		// skip for Operators that don't support broadcast variables 
  		if (!(getPactContract() instanceof AbstractUdfOperator<?, ?>)) {
  			return;
  		}
  
  		// get all broadcast inputs
  		AbstractUdfOperator<?, ?> operator = ((AbstractUdfOperator<?, ?>) getPactContract());
  
  		// create connections and add them
  		for (Map.Entry<String, Operator<?>> input : operator.getBroadcastInputs().entrySet()) {
  			OptimizerNode predecessor = operatorToNode.get(input.getValue());
  			PactConnection connection = new PactConnection(predecessor, this, ShipStrategyType.BROADCAST);
  			addBroadcastConnection(input.getKey(), connection);
  			predecessor.addOutgoingConnection(connection);
  		}
  	}
docs: This function is for plan translation purposes. Upon invocation, this method creates a {@link PactConnection}
  for each one of the broadcast inputs associated with the {@code Operator} referenced by this node.
  <p>
  The {@code PactConnections} must set its shipping strategy type to BROADCAST.
  
  @param operatorToNode
  The map associating operators with their corresponding optimizer nodes.
  @throws CompilerException