incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [44/50] [abbrv] Adding a batch fetch call.
Date Sun, 03 Nov 2013 15:20:38 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f95fc703/distribution/src/main/scripts/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/Blur.thrift b/distribution/src/main/scripts/interface/Blur.thrift
index f3f30f9..0f8335c 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -896,6 +896,17 @@ service Blur {
   ) throws (1:BlurException ex)
 
   /**
+   * Fetches a batch of Rows or Records in the given table with the given Selector list.
+   * @return the FetchResult.
+   */
+  list<FetchResult> fetchRowBatch(
+    /** the table name. */
+    1:string table, 
+    /** the Selector to use to fetch the Row or Record. */
+    2:list<Selector> selectors
+  ) throws (1:BlurException ex)
+
+  /**
    * Mutates a Row given the RowMutation that is provided.
    */
   void mutate(

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f95fc703/distribution/src/main/scripts/interface/gen-html/Blur.html
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-html/Blur.html b/distribution/src/main/scripts/interface/gen-html/Blur.html
index 917fdf6..afa212d 100644
--- a/distribution/src/main/scripts/interface/gen-html/Blur.html
+++ b/distribution/src/main/scripts/interface/gen-html/Blur.html
@@ -21,6 +21,7 @@
 <li><a href="Blur.html#Fn_Blur_disableTable">disableTable</a></li>
 <li><a href="Blur.html#Fn_Blur_enableTable">enableTable</a></li>
 <li><a href="Blur.html#Fn_Blur_fetchRow">fetchRow</a></li>
+<li><a href="Blur.html#Fn_Blur_fetchRowBatch">fetchRowBatch</a></li>
 <li><a href="Blur.html#Fn_Blur_isInSafeMode">isInSafeMode</a></li>
 <li><a href="Blur.html#Fn_Blur_listSnapshots">listSnapshots</a></li>
 <li><a href="Blur.html#Fn_Blur_metrics">metrics</a></li>
@@ -648,6 +649,17 @@ the shard server, if any.
 </td></tr>
 <tr><td>selector</td><td>the Selector to use to fetch the Row or
Record.
 </td></tr>
+</table></div><div class="definition"><h4 id="Fn_Blur_fetchRowBatch">Function:
Blur.fetchRowBatch</h4>
+<pre><code>list&lt;<code><a href="Blur.html#Struct_FetchResult">FetchResult</a></code>&gt;</code>
fetchRowBatch(<code>string</code> table,
+                                <code>list&lt;<code><a href="Blur.html#Struct_Selector">Selector</a></code>&gt;</code>
selectors)
+    throws <code><a href="Blur.html#Struct_BlurException">BlurException</a></code>
+</pre>Fetches a batch of Rows or Records in the given table with the given Selector
list.
+@return the FetchResult.
+<br/><br/><h4 id="Parameters_Blur_fetchRowBatch">Parameters</h4>
+<table class="table-bordered table-striped table-condensed"><thead><th>Name</th><th>Description</th></thead><tr><td>table</td><td>the
table name.
+</td></tr>
+<tr><td>selectors</td><td>the Selector to use to fetch the Row or
Record.
+</td></tr>
 </table></div><div class="definition"><h4 id="Fn_Blur_mutate">Function:
Blur.mutate</h4>
 <pre><code>void</code> mutate(<code><a href="Blur.html#Struct_RowMutation">RowMutation</a></code>
mutation)
     throws <code><a href="Blur.html#Struct_BlurException">BlurException</a></code>

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/f95fc703/distribution/src/main/scripts/interface/gen-html/index.html
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-html/index.html b/distribution/src/main/scripts/interface/gen-html/index.html
index a4ce5b1..6e06dfc 100644
--- a/distribution/src/main/scripts/interface/gen-html/index.html
+++ b/distribution/src/main/scripts/interface/gen-html/index.html
@@ -17,6 +17,7 @@
 <li><a href="Blur.html#Fn_Blur_disableTable">disableTable</a></li>
 <li><a href="Blur.html#Fn_Blur_enableTable">enableTable</a></li>
 <li><a href="Blur.html#Fn_Blur_fetchRow">fetchRow</a></li>
+<li><a href="Blur.html#Fn_Blur_fetchRowBatch">fetchRowBatch</a></li>
 <li><a href="Blur.html#Fn_Blur_isInSafeMode">isInSafeMode</a></li>
 <li><a href="Blur.html#Fn_Blur_listSnapshots">listSnapshots</a></li>
 <li><a href="Blur.html#Fn_Blur_metrics">metrics</a></li>


Mime
View raw message