incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [8/8] git commit: Changing the default value for maxRecordsToFetch in Selector to 1000 to match the default limit in the blur-default file.
Date Tue, 23 Jul 2013 18:58:45 GMT
Changing the default value for maxRecordsToFetch in Selector to 1000 to match the default limit
in the blur-default file.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/bf538f74
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/bf538f74
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/bf538f74

Branch: refs/heads/master
Commit: bf538f7477d55f682a52f1fc19f2e8ef9a323a20
Parents: aca3496
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue Jul 23 14:57:54 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue Jul 23 14:57:54 2013 -0400

----------------------------------------------------------------------
 .../apache/blur/thrift/generated/Selector.java  | 20 ++++++++++----------
 .../src/main/scripts/interface/Blur.thrift      |  6 +++---
 .../main/scripts/interface/gen-html/Blur.html   |  6 +++---
 .../apache/blur/thrift/generated/Selector.java  | 20 ++++++++++----------
 .../main/scripts/interface/gen-js/Blur_types.js |  2 +-
 .../scripts/interface/gen-perl/Blur/Types.pm    |  2 +-
 .../main/scripts/interface/gen-rb/blur_types.rb |  6 +++---
 7 files changed, 31 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Selector.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Selector.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Selector.java
index ddb7236..bb8515e 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Selector.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Selector.java
@@ -111,8 +111,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public int maxRecordsToFetch; // required
   /**
@@ -161,8 +161,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     /**
      * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
      * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-     * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-     * records in the row, be careful.
+     * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+     * 1000 records of the row.
      */
     MAX_RECORDS_TO_FETCH((short)9, "maxRecordsToFetch"),
     /**
@@ -282,7 +282,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   public Selector() {
     this.startRecord = 0;
 
-    this.maxRecordsToFetch = 2147483647;
+    this.maxRecordsToFetch = 1000;
 
   }
 
@@ -380,7 +380,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     this.allowStaleData = false;
     this.startRecord = 0;
 
-    this.maxRecordsToFetch = 2147483647;
+    this.maxRecordsToFetch = 1000;
 
     this.highlightOptions = null;
   }
@@ -659,8 +659,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public int getMaxRecordsToFetch() {
     return this.maxRecordsToFetch;
@@ -669,8 +669,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public Selector setMaxRecordsToFetch(int maxRecordsToFetch) {
     this.maxRecordsToFetch = maxRecordsToFetch;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/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 c0c820b..8c4d2c2 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -259,10 +259,10 @@ struct Selector {
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records 
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value 
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the 
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first 
+   * 1000 records of the row.
    */
-  9:i32 maxRecordsToFetch = 2147483647,
+  9:i32 maxRecordsToFetch = 1000,
   /**
    * The HighlightOptions object controls how the data is highlighted.  If null no highlighting
will occur.
    */

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/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 a469311..a1b31d8 100644
--- a/distribution/src/main/scripts/interface/gen-html/Blur.html
+++ b/distribution/src/main/scripts/interface/gen-html/Blur.html
@@ -230,9 +230,9 @@ FetchResult.  Used in conjunction with maxRecordsToFetch.
 </td><td>default</td><td>0</td></tr>
 <tr><td>9</td><td>maxRecordsToFetch</td><td><code>i32</code></td><td>Only
valid for Row fetches, the number of records to fetch.  If the row contains 1000 records
 and you want the first 100, then this value is 100.  If you want records 300-400 then this
value
-would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch all
the
-records in the row, be careful.
-</td><td>default</td><td>2147483647</td></tr>
+would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch the
first
+1000 records of the row.
+</td><td>default</td><td>1000</td></tr>
 <tr><td>10</td><td>highlightOptions</td><td><code><a
href="Blur.html#Struct_HighlightOptions">HighlightOptions</a></code></td><td>The
HighlightOptions object controls how the data is highlighted.  If null no highlighting will
occur.
 </td><td>default</td><td></td></tr>
 </table><br/>Select carries the request for information to be retrieved from
the stored columns.

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
index ddb7236..bb8515e 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Selector.java
@@ -111,8 +111,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public int maxRecordsToFetch; // required
   /**
@@ -161,8 +161,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     /**
      * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
      * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-     * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-     * records in the row, be careful.
+     * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+     * 1000 records of the row.
      */
     MAX_RECORDS_TO_FETCH((short)9, "maxRecordsToFetch"),
     /**
@@ -282,7 +282,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   public Selector() {
     this.startRecord = 0;
 
-    this.maxRecordsToFetch = 2147483647;
+    this.maxRecordsToFetch = 1000;
 
   }
 
@@ -380,7 +380,7 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
     this.allowStaleData = false;
     this.startRecord = 0;
 
-    this.maxRecordsToFetch = 2147483647;
+    this.maxRecordsToFetch = 1000;
 
     this.highlightOptions = null;
   }
@@ -659,8 +659,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public int getMaxRecordsToFetch() {
     return this.maxRecordsToFetch;
@@ -669,8 +669,8 @@ public class Selector implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<S
   /**
    * Only valid for Row fetches, the number of records to fetch.  If the row contains 1000
records
    * and you want the first 100, then this value is 100.  If you want records 300-400 then
this value
-   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
all the
-   * records in the row, be careful.
+   * would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch
the first
+   * 1000 records of the row.
    */
   public Selector setMaxRecordsToFetch(int maxRecordsToFetch) {
     this.maxRecordsToFetch = maxRecordsToFetch;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/distribution/src/main/scripts/interface/gen-js/Blur_types.js
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-js/Blur_types.js b/distribution/src/main/scripts/interface/gen-js/Blur_types.js
index 60119e3..e759354 100644
--- a/distribution/src/main/scripts/interface/gen-js/Blur_types.js
+++ b/distribution/src/main/scripts/interface/gen-js/Blur_types.js
@@ -606,7 +606,7 @@ Selector = function(args) {
   this.columnsToFetch = null;
   this.allowStaleData = null;
   this.startRecord = 0;
-  this.maxRecordsToFetch = 2147483647;
+  this.maxRecordsToFetch = 1000;
   this.highlightOptions = null;
   if (args) {
     if (args.recordOnly !== undefined) {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm b/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
index 37a63c9..66b61e0 100644
--- a/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
+++ b/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
@@ -680,7 +680,7 @@ sub new {
   $self->{columnsToFetch} = undef;
   $self->{allowStaleData} = undef;
   $self->{startRecord} = 0;
-  $self->{maxRecordsToFetch} = 2147483647;
+  $self->{maxRecordsToFetch} = 1000;
   $self->{highlightOptions} = undef;
   if (UNIVERSAL::isa($vals,'HASH')) {
     if (defined $vals->{recordOnly}) {

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bf538f74/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-rb/blur_types.rb b/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
index e49f984..f1f37e1 100644
--- a/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
+++ b/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
@@ -258,9 +258,9 @@ module Blur
       STARTRECORD => {:type => ::Thrift::Types::I32, :name => 'startRecord', :default
=> 0},
       # Only valid for Row fetches, the number of records to fetch.  If the row contains
1000 records
 # and you want the first 100, then this value is 100.  If you want records 300-400 then this
value
-# would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch all
the
-# records in the row, be careful.
-      MAXRECORDSTOFETCH => {:type => ::Thrift::Types::I32, :name => 'maxRecordsToFetch',
:default => 2147483647},
+# would be 100.  Used in conjunction with maxRecordsToFetch. By default this will fetch the
first
+# 1000 records of the row.
+      MAXRECORDSTOFETCH => {:type => ::Thrift::Types::I32, :name => 'maxRecordsToFetch',
:default => 1000},
       # The HighlightOptions object controls how the data is highlighted.  If null no highlighting
will occur.
       HIGHLIGHTOPTIONS => {:type => ::Thrift::Types::STRUCT, :name => 'highlightOptions',
:class => ::Blur::HighlightOptions}
     }


Mime
View raw message