private static List<Long> unflattenListFromString(String input) {
    List<Long> ret = new ArrayList<>();
    for (String val : input.replaceAll(System.lineSeparator(), "").trim().split(FILE_ENTRY_SEPARATOR)) {
      ret.add(Long.parseLong(val));
    }
    return ret;
  }
Gets &amp; checks whether the database is target of replication.
@param dbName name of database
@param hive hive object
@return true, if the database has repl.target.for property set.
@throws HiveException
ql/src/java/org/apache/hadoop/hive/ql/exec/repl/OptimisedBootstrapUtils.java