From: ryan <ry...@os...> - 2015-06-19 18:51:11
|
Hi List, I'm having a hard time figuring out how to connect to a remote BlazeGraph (1.5.1) instance nicely. I'd like to have one class that connects to either a local or remote repository. I was hoping that I would only have to change some implementation classes (right sides of the "new" call). However, it appears to me that BigdataSailRepositoryConnection and BigdataSailRemoteRepositoryConnection do not share a common superclass (say, OpenRDF's RepositoryConnection), so I cannot understand how to make my code operate seamlessly regardless of where the database is. Also, the BigdataSailRemoteRepositoryConnection appears to throw UnsupportedOperationExceptions just about everywhere. Is there some sample code I can look at that shows this functionality? Thanks, ry -- I just know I'm a better manager when I have Joe DiMaggio in center field. -- Casey Stengel |