public int getNumParent() {
    return parentOperators == null ? 0 : parentOperators.size();
  }
Implements the getChildren function for the Node Interface.
ql/src/java/org/apache/hadoop/hive/ql/exec/Operator.java