public static PrivilegeType getPrivTypeByToken(int token) {
    populateToken2Type();
    PrivilegeType privType = token2Type.get(token);
    if(privType != null){
      return privType;
    }
    return PrivilegeType.UNKNOWN;
  }
Do case lookup of PrivilegeType associated with this antlr token
@param token
@return corresponding PrivilegeType
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/PrivilegeType.java