Package org.jrdf.query.client

Examples of org.jrdf.query.client.QueryClient


        try {
            Set<URI> fullServerNames = new HashSet<URI>();
            for (URI server : servers) {
                fullServerNames.add(create(server.toString() + "/graph/" + graphName));
            }
            final QueryClient queryClient = new DistributedQueryClientImpl(fullServerNames, handler);
            final Map<String, String> ext = new HashMap<String, String>();
            ext.put("maxRows", Long.toString(maxRows));
            return queryClient.executeQuery(queryString, ext);
        } catch (Exception e) {
            throw new ResourceException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.jrdf.query.client.QueryClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.