Hi,

I wanted to ask for some clarification about the indended use of 
updateData() vs doDataUpdate(), which is originally defined in SMWStore. 
The docstrings for them are completely identical, which is a litle 
confusing.

Which one am I supposed to extend in subclassing stores? I have used 
updateData() so far, which in SMWStore finally calls doDataUpdate, so it 
seems OK, but in SMWSQLStore, only doUpdateData is implemeted, so I was 
thinking if this indicates that this is thefunction that is thought to 
have different implementations in different stores?

I can get it to work either way of course, but it would feel "safer" to 
use the intended pattern :)

Best Regards
// Samuel

-- 
Developer at SNIC-UPPMAX www.uppmax.uu.se
Developer at Dept of Pharm Biosciences www.farmbio.uu.se


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to