private boolean hasHash()

in modules/core/src/main/java/org/apache/fluo/recipes/core/data/RowHasher.java [143:158]


  private boolean hasHash(Bytes row) {
    for (int i = prefixBytes.length(); i < prefixBytes.length() + HASH_LEN; i++) {
      byte b = row.byteAt(i);
      boolean isAlphaNum = (b >= 'a' && b <= 'z') || (b >= '0' && b <= '9');
      if (!isAlphaNum) {
        return false;
      }
    }

    if (row.byteAt(prefixBytes.length() - 1) != ':'
        || row.byteAt(prefixBytes.length() + HASH_LEN) != ':') {
      return false;
    }

    return true;
  }