@Override
  public int compareTo(HivePrivilege privilege) {
    int compare = columns != null ?
        (privilege.columns != null ? compare(columns, privilege.columns) : 1) :
        (privilege.columns != null ? -1 : 0);
    if (compare == 0) {
      compare = name.compareTo(privilege.name);
    }
    return compare;
  }
Represents the hive privilege being granted/revoked
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HivePrivilege.java