You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2020/01/11 23:27:45 UTC
svn commit: r1055147 - in /websites/staging/jena/trunk/content: ./
documentation/extras/querybuilder/index.html
Author: buildbot
Date: Sat Jan 11 23:27:45 2020
New Revision: 1055147
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/extras/querybuilder/index.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jan 11 23:27:45 2020
@@ -1 +1 @@
-1872622
+1872623
Modified: websites/staging/jena/trunk/content/documentation/extras/querybuilder/index.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/extras/querybuilder/index.html (original)
+++ websites/staging/jena/trunk/content/documentation/extras/querybuilder/index.html Sat Jan 11 23:27:45 2020
@@ -163,7 +163,17 @@
visibility: hidden;
}
h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<p>Query Builder for Jena. Implementations of Ask, Construct, Select and Update builders that allow developers to create queries without resorting to StringBuilders or similar solutions.</p>
+<h1 id="table-of-contents">Table of Contents<a class="headerlink" href="#table-of-contents" title="Permanent link">¶</a></h1>
+<ol>
+<li><a href="#overview">Overview</a></li>
+<li><a href="#constructing-expressions">Constructing Expressions</a></li>
+<li><a href="#update-builder">Update Builder</a></li>
+<li><a href="#where-builder">Where Builder</a></li>
+<li><a href="#template-usage">Template Usage</a></li>
+<li><a href="#prepared-statement-usage">Prepared Statement Usage</a></li>
+</ol>
+<h1 id="overview">Overview<a class="headerlink" href="#overview" title="Permanent link">¶</a></h1>
+<p>Query Builder provides implementations of Ask, Construct, Select and Update builders that allow developers to create queries without resorting to StringBuilders or similar solutions.</p>
<p>Each of the builders has a series of methods to define the query. Each method returns the builder for easy chaining. The example:</p>
<div class="codehilite"><pre><span class="n">SelectBuilder</span> <span class="n">sb</span> <span class="p">=</span> <span class="n">new</span> <span class="n">SelectBuilder</span><span class="p">()</span>
<span class="p">.</span><span class="n">addVar</span><span class="p">(</span> "<span class="o">*</span>" <span class="p">)</span>