public static Optional<String> getTableNameString(ExtendedCell cell) {
    Optional<Tag> tag = getTableNameTag(cell);
    Optional<String> name = Optional.empty();
    if (tag.isPresent()) {
      name = Optional.of(Tag.getValueAsString(tag.get()));
    }
    return name;
  }
Gets the table name from when this cell was written into a mob hfile as a string.
@param cell to extract tag from
@return table name as a string. empty if the tag is not found.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java