public void setDbName(String dbName) {
    this.dbName = dbName;
    this.dbNamePattern = (((dbName == null) || "*".equals(dbName))
            ? null : Pattern.compile(dbName, Pattern.CASE_INSENSITIVE));
  }
Class that stores the replication scope. Replication scope includes the details of database and
tables included under the scope of replication.
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/common/repl/ReplScope.java