Hi Felix,
Yes indeed, that's one of the breaking changes. So far I do not
know if it makes sense to write a "Migration guide" for extensions
like I did for previous breaking changes (JSON handling, CSRF
tokens…), because there are really a lot of them in the Java API.
I could do it for the HTTP API (where there are much less changes)
but we have always stated that this HTTP API was not intended for
public use, so it would probably send out confusing messages.
Anyway, I can still answer your question here.
Yes the `cellIndex` field was dropped, because it is no longer useful in the new architecture (because reordering columns is done lazily, there is no big cost associated to it as it was previously the case in the in-memory set-up). So, the index of a column is simply its index in the list of columns returned by the API (so the first one has cellIndex 0, the second 1, and so on).
I also took this opportunity to remove the unused fields which you spotted below - they had been introduced in the Data Package integration but had never been exposed in the UI.
Happy to answer more questions like this if you have any :)
Antonin
--
You received this message because you are subscribed to the Google Groups "OpenRefine Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine-dev/1297a38a-5d26-4d90-9b6e-630411b728afn%40googlegroups.com.
I could do it for the HTTP API (where there are much less changes) but we have always stated that this HTTP API was not intended for public use, so it would probably send out confusing messages.
Yes the `cellIndex` field was dropped, because it is no longer useful in the new architecture (because reordering columns is done lazily, there is no big cost associated to it as it was previously the case in the in-memory set-up). So, the index of a column is simply its index in the list of columns returned by the API (so the first one has cellIndex 0, the second 1, and so on).
Happy to answer more questions like this if you have any :)