public static void addDbAndTableToOutputs(Database database, TableName tableName, TableType type, boolean isTemporary,
      Map<String, String> properties, Set<WriteEntity> outputs) {
    outputs.add(new WriteEntity(database, WriteEntity.WriteType.DDL_SHARED));

    Table table = new Table(tableName.getDb(), tableName.getTable());
    table.setParameters(properties);
    table.setTableType(type);
    table.setTemporary(isTemporary);
    outputs.add(new WriteEntity(table, WriteEntity.WriteType.DDL_NO_LOCK));
  }
Get the fully qualified name in the node.
E.g. the node of the form ^(DOT ^(DOT a b) c) will generate a name of the form "a.b.c".
ql/src/java/org/apache/hadoop/hive/ql/ddl/DDLUtils.java