@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    TableName tableName = (TableName) o;

    return o.hashCode() == hashCode && nameAsString.equals(tableName.nameAsString);
  }
Construct a TableName
@throws IllegalArgumentException if fullName equals old root or old meta. Some code depends on
                                 this.
hbase-common/src/main/java/org/apache/hadoop/hbase/TableName.java