code: LevelDBTypeInfo getTypeInfo(Class<?> type) throws Exception {
      LevelDBTypeInfo ti = types.get(type);
      if (ti == null) {
        LevelDBTypeInfo tmp = new LevelDBTypeInfo(this, type, getTypeAlias(type));
        ti = types.putIfAbsent(type, tmp);
        if (ti == null) {
          ti = tmp;
        }
      }
      return ti;
    }
docs: Returns metadata about indices for the given type.