docs: private IndexMetadata buildLegacyIndex(RawColumn raw, ColumnMetadata column) {
      if (raw.indexName == null) {
        return null;
      }
      return new DefaultIndexMetadata(
          column.getKeyspace(),
          column.getParent(),
          CqlIdentifier.fromInternal(raw.indexName),
          IndexKind.valueOf(raw.indexType),
          buildLegacyIndexTarget(column, raw.indexOptions),
          raw.indexOptions);
    }