public HiveObjectRef buildTableReference(Table table) {
    return new HiveObjectRef(HiveObjectType.TABLE, table.getDbName(), table.getTableName(),
        Collections.emptyList(), null);
  }
A builder for {@link HiveObjectRef}.  Unlike most builders (which allow a gradual building up
of the values) this gives a number of methods that take the object to be referenced and then
build the appropriate reference.  This is intended primarily for use with
{@link HiveObjectPrivilegeBuilder}
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/HiveObjectRefBuilder.java