test_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
test_class.modifier: protected final
test_class.original_string: protected final Logger logger = LoggerFactory.getLogger(this.getClass());
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: conn
test_class.modifier: protected
test_class.original_string: protected MarkLogicRepositoryConnection conn;
test_class.type: MarkLogicRepositoryConnection
test_class.var_name: conn
test_class.declarator: f
test_class.modifier: protected
test_class.original_string: protected ValueFactory f;
test_class.type: ValueFactory
test_class.var_name: f
test_class.file: marklogic-rdf4j/src/test/java/com/marklogic/semantics/rdf4j/query/MarkLogicTupleQueryTest.java
test_class.identifier: MarkLogicTupleQueryTest
test_class.superclass: extends Rdf4jTestBase
test_case.body: @Test
      public void testSPARQLQueryBindings()
              throws Exception {
  
          String queryString = "select ?s ?p ?o { ?s ?p ?o . filter (?s = ?b) filter (?p = ?c) }";
          TupleQuery tupleQuery = conn.prepareTupleQuery(QueryLanguage.SPARQL, queryString);
  
          tupleQuery.setBinding("b", SimpleValueFactory.getInstance().createIRI("http://semanticbible.org/ns/2006/NTNames#Jim"));
          tupleQuery.setBinding("c", SimpleValueFactory.getInstance().createIRI("http://semanticbible.org/ns/2006/NTNames#parentOf"));
  
          tupleQuery.removeBinding("c");
  
          // TBD -  Assert. for confirmation of removal
  
          Assert.assertEquals(null, tupleQuery.getBindings().getBinding("c"));
  
          tupleQuery.clearBindings();
  
          Assert.assertEquals(null, tupleQuery.getBindings().getBinding("b"));
  
          tupleQuery.setBinding("b", SimpleValueFactory.getInstance().createIRI("http://semanticbible.org/ns/2006/NTNames#Jotham"));
          tupleQuery.setBinding("c", SimpleValueFactory.getInstance().createIRI("http://semanticbible.org/ns/2006/NTNames#parentOf"));
  
          TupleQueryResult results = tupleQuery.evaluate();
  
          Assert.assertEquals(results.getBindingNames().get(0), "s");
          Assert.assertEquals(results.getBindingNames().get(1), "p");
          Assert.assertEquals(results.getBindingNames().get(2), "o");
  
          logger.info(results.getBindingNames().toString());
  
          Assert.assertTrue(results.hasNext());
          BindingSet bindingSet = results.next();
  
          Value sV = bindingSet.getValue("s");
          Value pV = bindingSet.getValue("p");
          Value oV = bindingSet.getValue("o");
  
          Assert.assertEquals("http://semanticbible.org/ns/2006/NTNames#Jotham", sV.stringValue());
          Assert.assertEquals("http://semanticbible.org/ns/2006/NTNames#parentOf", pV.stringValue());
          Assert.assertEquals("http://semanticbible.org/ns/2006/NTNames#Ahaz", oV.stringValue());
          results.close();
      }
test_case.class_method_signature: MarkLogicTupleQueryTest.testSPARQLQueryBindings()
test_case.full_signature: @Test public void testSPARQLQueryBindings()
test_case.identifier: testSPARQLQueryBindings
test_case.invocations: prepareTupleQuery setBinding createIRI getInstance setBinding createIRI getInstance removeBinding assertEquals getBinding getBindings clearBindings assertEquals getBinding getBindings setBinding createIRI getInstance setBinding createIRI getInstance evaluate assertEquals get getBindingNames assertEquals get getBindingNames assertEquals get getBindingNames info toString getBindingNames assertTrue hasNext next getValue getValue getValue assertEquals stringValue assertEquals stringValue assertEquals stringValue close
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSPARQLQueryBindings()
focal_class.declarator: logger = LoggerFactory.getLogger(MarkLogicTupleQuery.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(MarkLogicTupleQuery.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: start = 1
focal_class.modifier: protected final
focal_class.original_string: protected final long start = 1;
focal_class.type: long
focal_class.var_name: start
focal_class.declarator: pageLength=-1
focal_class.modifier: protected final
focal_class.original_string: protected final long pageLength=-1;
focal_class.type: long
focal_class.var_name: pageLength
focal_class.file: marklogic-rdf4j/src/main/java/com/marklogic/semantics/rdf4j/query/MarkLogicTupleQuery.java
focal_class.identifier: MarkLogicTupleQuery
focal_class.interfaces: implements TupleQuery,MarkLogicQueryDependent
focal_class.class_method_signature: MarkLogicTupleQuery.MarkLogicTupleQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets)
focal_class.full_signature: public  MarkLogicTupleQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets)
focal_class.identifier: MarkLogicTupleQuery
focal_class.modifiers: public
focal_class.parameters: (MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets)
focal_class.signature:  MarkLogicTupleQuery(MarkLogicClient client, SPARQLQueryBindingSet bindingSet, String baseUri, String queryString, GraphPermissions graphPerms, QueryDefinition queryDef, SPARQLRuleset[] rulesets)
focal_class.class_method_signature: MarkLogicTupleQuery.evaluate()
focal_class.full_signature: @Override public TupleQueryResult evaluate()
focal_class.identifier: evaluate
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TupleQueryResult
focal_class.signature: TupleQueryResult evaluate()
focal_class.class_method_signature: MarkLogicTupleQuery.evaluate(long start, long pageLength)
focal_class.full_signature: public TupleQueryResult evaluate(long start, long pageLength)
focal_class.identifier: evaluate
focal_class.modifiers: public
focal_class.parameters: (long start, long pageLength)
focal_class.return: TupleQueryResult
focal_class.signature: TupleQueryResult evaluate(long start, long pageLength)
focal_class.class_method_signature: MarkLogicTupleQuery.evaluate(TupleQueryResultHandler resultHandler)
focal_class.full_signature: @Override public void evaluate(TupleQueryResultHandler resultHandler)
focal_class.identifier: evaluate
focal_class.modifiers: @Override public
focal_class.parameters: (TupleQueryResultHandler resultHandler)
focal_class.return: void
focal_class.signature: void evaluate(TupleQueryResultHandler resultHandler)
focal_class.class_method_signature: MarkLogicTupleQuery.evaluate(TupleQueryResultHandler resultHandler,long start, long pageLength)
focal_class.full_signature: public void evaluate(TupleQueryResultHandler resultHandler,long start, long pageLength)
focal_class.identifier: evaluate
focal_class.modifiers: public
focal_class.parameters: (TupleQueryResultHandler resultHandler,long start, long pageLength)
focal_class.return: void
focal_class.signature: void evaluate(TupleQueryResultHandler resultHandler,long start, long pageLength)
focal_class.superclass: extends MarkLogicQuery
focal_method.body: @Override
      public TupleQueryResult evaluate() throws QueryEvaluationException {
          return evaluate(this.start,this.pageLength);
      }
focal_method.class_method_signature: MarkLogicTupleQuery.evaluate()
focal_method.full_signature: @Override public TupleQueryResult evaluate()
focal_method.identifier: evaluate
focal_method.invocations: evaluate
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: TupleQueryResult
focal_method.signature: TupleQueryResult evaluate()