|
From: Bryan T. <br...@sy...> - 2010-08-02 00:52:34
|
Fred, I've added logic to NanoSparqlServer which shows how to do this. See the "getNamespaces()" method in that class. There is now a URL query parameter "showNamespaces", e.g., "http://localhost:80/status?showNamespaces", which will write the namespaces into the HTTP response. The getKBInfo() method in that class was also modified to write out all the properties for the triple store. Both of those are read operations against the global row store using the RelationSchema. Bryan > -----Original Message----- > From: Bryan Thompson [mailto:br...@sy...] > Sent: Sunday, August 01, 2010 3:06 PM > To: Fred Oliver; Bigdata Developers > Subject: Re: [Bigdata-developers] Iterator over namespaces? > > Fred, this would be a logical row scan on the relation schema > for the global row store, filtering for the distinct > namespace column values. I can send you some code later. Bryan > > Fred Oliver <fko...@gm...> wrote: > > > Is there a way (using the API) to obtain a list of namespaces > which a bigdata cluster implements? As far as I see, the > metadata service only provides information about specified > namespaces or resources, and has no iterator for this > purpose. (It inherits a rangeIterator from DataService, but > that requires a name.) > > Fred > > -------------------------------------------------------------- > ---------------- > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for > a share of $1 Million in cash or HP Products. Visit us here > for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > > -------------------------------------------------------------- > ---------------- > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for > a share of $1 Million in cash or HP Products. Visit us here > for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Bigdata-developers mailing list > Big...@li... > https://lists.sourceforge.net/lists/listinfo/bigdata-developers > |