boolean rulePatternIsValidWithORWildCardChar() {
    return patternWithoutWildCardChar == null && patternWithWildCardChar == null && this.patternORWildChar != null;
  }
Returns true if the rule pattern is valid and has wild character in it.
ql/src/java/org/apache/hadoop/hive/ql/lib/RuleRegExp.java