@Test public void testPrepareGraphQueryClose() throws Exception { String query = "DESCRIBE <http: GraphQuery queryObj = conn.prepareGraphQuery(query); GraphQueryResult result = queryObj.evaluate(); result.close(); }
@Override public GraphQueryResult evaluate() throws QueryEvaluationException { try { sync(); return getMarkLogicClient().sendGraphQuery(getQueryString(),getBindings(),getIncludeInferred(),getBaseURI()); } catch (IOException e) { throw new QueryEvaluationException(e); } catch (MarkLogicSesameException e) { throw new QueryEvaluationException(e); } }
MarkLogicGraphQuery extends MarkLogicQuery implements GraphQuery,MarkLogicQueryDependent { @Override public GraphQueryResult evaluate() throws QueryEvaluationException { try { sync(); return getMarkLogicClient().sendGraphQuery(getQueryString(),getBindings(),getIncludeInferred(),getBaseURI()); } catch (IOException e) { throw new QueryEvaluationException(e); } catch (MarkLogicSesameException e) { throw new QueryEvaluationException(e); } } }
MarkLogicGraphQuery extends MarkLogicQuery implements GraphQuery,MarkLogicQueryDependent { @Override public GraphQueryResult evaluate() throws QueryEvaluationException { try { sync(); return getMarkLogicClient().sendGraphQuery(getQueryString(),getBindings(),getIncludeInferred(),getBaseURI()); } catch (IOException e) { throw new QueryEvaluationException(e); } catch (MarkLogicSesameException e) { throw new QueryEvaluationException(e); } } MarkLogicGraphQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets); }
MarkLogicGraphQuery extends MarkLogicQuery implements GraphQuery,MarkLogicQueryDependent { @Override public GraphQueryResult evaluate() throws QueryEvaluationException { try { sync(); return getMarkLogicClient().sendGraphQuery(getQueryString(),getBindings(),getIncludeInferred(),getBaseURI()); } catch (IOException e) { throw new QueryEvaluationException(e); } catch (MarkLogicSesameException e) { throw new QueryEvaluationException(e); } } MarkLogicGraphQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets); @Override GraphQueryResult evaluate(); @Override void evaluate(RDFHandler resultHandler); }
MarkLogicGraphQuery extends MarkLogicQuery implements GraphQuery,MarkLogicQueryDependent { @Override public GraphQueryResult evaluate() throws QueryEvaluationException { try { sync(); return getMarkLogicClient().sendGraphQuery(getQueryString(),getBindings(),getIncludeInferred(),getBaseURI()); } catch (IOException e) { throw new QueryEvaluationException(e); } catch (MarkLogicSesameException e) { throw new QueryEvaluationException(e); } } MarkLogicGraphQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets); @Override GraphQueryResult evaluate(); @Override void evaluate(RDFHandler resultHandler);  }