incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [01/12] git commit: More documentation and cleanup.
Date Sat, 17 Aug 2013 16:55:41 GMT
Updated Branches:
  refs/heads/master 72a0be2d1 -> d512053c5


More documentation and cleanup.


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

Branch: refs/heads/master
Commit: 01c6b2c2b5d6ce39e5f490aa90b7a93fc2bcaeb4
Parents: 72a0be2
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Fri Aug 16 18:40:54 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Fri Aug 16 18:40:54 2013 -0400

----------------------------------------------------------------------
 .../blur/manager/stats/MergerTableStats.java    |   1 -
 .../org/apache/blur/thrift/BlurShardServer.java |   1 -
 .../blur/thrift/generated/BlurResult.java       |  18 +--
 .../blur/thrift/generated/BlurResults.java      |  50 +++----
 .../blur/thrift/generated/RecordMutation.java   |  23 +--
 .../blur/thrift/generated/RowMutation.java      |  23 ++-
 .../blur/thrift/generated/TableStats.java       | 148 +++----------------
 .../src/main/scripts/interface/Blur.thrift      |  54 +++----
 .../main/scripts/interface/gen-html/Blur.html   |  48 +++---
 .../blur/thrift/generated/BlurResult.java       |  18 +--
 .../blur/thrift/generated/BlurResults.java      |  50 +++----
 .../blur/thrift/generated/RecordMutation.java   |  23 +--
 .../blur/thrift/generated/RowMutation.java      |  23 ++-
 .../blur/thrift/generated/TableStats.java       | 148 +++----------------
 .../main/scripts/interface/gen-js/Blur_types.js |  20 +--
 .../scripts/interface/gen-perl/Blur/Types.pm    |  21 +--
 .../main/scripts/interface/gen-rb/blur_types.rb |  49 +++---
 17 files changed, 259 insertions(+), 459 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-core/src/main/java/org/apache/blur/manager/stats/MergerTableStats.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/manager/stats/MergerTableStats.java b/blur-core/src/main/java/org/apache/blur/manager/stats/MergerTableStats.java
index 99771d2..9d5eae8 100644
--- a/blur-core/src/main/java/org/apache/blur/manager/stats/MergerTableStats.java
+++ b/blur-core/src/main/java/org/apache/blur/manager/stats/MergerTableStats.java
@@ -49,7 +49,6 @@ public class MergerTableStats implements Merger<TableStats> {
     s1.bytes = Math.max(s1.bytes, s2.bytes);
     s1.recordCount = s1.recordCount + s2.recordCount;
     s1.rowCount = s1.rowCount + s2.rowCount;
-    s1.queries = Math.max(s1.queries, s2.queries);
     return s1;
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
----------------------------------------------------------------------
diff --git a/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java b/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
index 19ec687..edd3d80 100644
--- a/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
+++ b/blur-core/src/main/java/org/apache/blur/thrift/BlurShardServer.java
@@ -188,7 +188,6 @@ public class BlurShardServer extends TableAdmin implements Iface {
       tableStats.recordCount = _indexServer.getRecordCount(table);
       tableStats.rowCount = _indexServer.getRowCount(table);
       tableStats.bytes = _indexServer.getTableSize(table);
-      tableStats.queries = 0;
       return tableStats;
     } catch (Exception e) {
       LOG.error("Unknown error while trying to get table stats [table={0}]", e, table);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResult.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResult.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResult.java
index ee5a70c..3afec34 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResult.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResult.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- *  
+ * The BlurResult carries the score, the location id and the fetched result (if any) form each query.
  */
 public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurResult, BlurResult._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurResult");
@@ -70,11 +70,11 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
    */
   public String locationId; // required
   /**
-   *  
+   * The score for the hit in the query.
    */
   public double score; // required
   /**
-   * 
+   * The fetched result if any.
    */
   public FetchResult fetchResult; // required
 
@@ -85,11 +85,11 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
      */
     LOCATION_ID((short)1, "locationId"),
     /**
-     *  
+     * The score for the hit in the query.
      */
     SCORE((short)2, "score"),
     /**
-     * 
+     * The fetched result if any.
      */
     FETCH_RESULT((short)3, "fetchResult");
 
@@ -239,14 +239,14 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   *  
+   * The score for the hit in the query.
    */
   public double getScore() {
     return this.score;
   }
 
   /**
-   *  
+   * The score for the hit in the query.
    */
   public BlurResult setScore(double score) {
     this.score = score;
@@ -268,14 +268,14 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The fetched result if any.
    */
   public FetchResult getFetchResult() {
     return this.fetchResult;
   }
 
   /**
-   * 
+   * The fetched result if any.
    */
   public BlurResult setFetchResult(FetchResult fetchResult) {
     this.fetchResult = fetchResult;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResults.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResults.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResults.java
index 4551c4c..bfb9bfe 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResults.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/BlurResults.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * BlurResults holds all information resulting from a query.
  */
 public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurResults, BlurResults._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurResults");
@@ -69,54 +69,54 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public long totalResults; // required
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public Map<String,Long> shardInfo; // required
   /**
-   * 
+   * The query results.
    */
   public List<BlurResult> results; // required
   /**
-   * 
+   * The faceted count.
    */
   public List<Long> facetCounts; // required
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public List<BlurException> exceptions; // required
   /**
-   * 
+   * The original query.
    */
   public BlurQuery query; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * The total number of hits in the query.
      */
     TOTAL_RESULTS((short)1, "totalResults"),
     /**
-     * 
+     * Hit counts from each shard in the table.
      */
     SHARD_INFO((short)2, "shardInfo"),
     /**
-     * 
+     * The query results.
      */
     RESULTS((short)3, "results"),
     /**
-     * 
+     * The faceted count.
      */
     FACET_COUNTS((short)4, "facetCounts"),
     /**
-     * 
+     * Not currently used, a future feature could allow for partial results with errors.
      */
     EXCEPTIONS((short)5, "exceptions"),
     /**
-     * 
+     * The original query.
      */
     QUERY((short)6, "query");
 
@@ -297,14 +297,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public long getTotalResults() {
     return this.totalResults;
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public BlurResults setTotalResults(long totalResults) {
     this.totalResults = totalResults;
@@ -337,14 +337,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public Map<String,Long> getShardInfo() {
     return this.shardInfo;
   }
 
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public BlurResults setShardInfo(Map<String,Long> shardInfo) {
     this.shardInfo = shardInfo;
@@ -382,14 +382,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The query results.
    */
   public List<BlurResult> getResults() {
     return this.results;
   }
 
   /**
-   * 
+   * The query results.
    */
   public BlurResults setResults(List<BlurResult> results) {
     this.results = results;
@@ -427,14 +427,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The faceted count.
    */
   public List<Long> getFacetCounts() {
     return this.facetCounts;
   }
 
   /**
-   * 
+   * The faceted count.
    */
   public BlurResults setFacetCounts(List<Long> facetCounts) {
     this.facetCounts = facetCounts;
@@ -472,14 +472,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public List<BlurException> getExceptions() {
     return this.exceptions;
   }
 
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public BlurResults setExceptions(List<BlurException> exceptions) {
     this.exceptions = exceptions;
@@ -502,14 +502,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The original query.
    */
   public BlurQuery getQuery() {
     return this.query;
   }
 
   /**
-   * 
+   * The original query.
    */
   public BlurResults setQuery(BlurQuery query) {
     this.query = query;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RecordMutation.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RecordMutation.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RecordMutation.java
index 83a542f..66b991a 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RecordMutation.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RecordMutation.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * The RowMutation defines how the given Record is to be mutated.
  */
 public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<RecordMutation, RecordMutation._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("RecordMutation");
@@ -65,26 +65,26 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
   public RecordMutationType recordMutationType; // required
   /**
-   * 
+   * The Record to mutate.
    */
   public Record record; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * Define how to mutate the given Record.
      * 
      * @see RecordMutationType
      */
     RECORD_MUTATION_TYPE((short)1, "recordMutationType"),
     /**
-     * 
+     * The Record to mutate.
      */
     RECORD((short)2, "record");
 
@@ -157,6 +157,8 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   public RecordMutation() {
+    this.recordMutationType = org.apache.blur.thrift.generated.RecordMutationType.REPLACE_ENTIRE_RECORD;
+
   }
 
   public RecordMutation(
@@ -186,12 +188,13 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
 
   @Override
   public void clear() {
-    this.recordMutationType = null;
+    this.recordMutationType = org.apache.blur.thrift.generated.RecordMutationType.REPLACE_ENTIRE_RECORD;
+
     this.record = null;
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
@@ -200,7 +203,7 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
@@ -225,14 +228,14 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * The Record to mutate.
    */
   public Record getRecord() {
     return this.record;
   }
 
   /**
-   * 
+   * The Record to mutate.
    */
   public RecordMutation setRecord(Record record) {
     this.record = record;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RowMutation.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RowMutation.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RowMutation.java
index ce8f65f..17bfadf 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RowMutation.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/RowMutation.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * The RowMutation defines how the given Row is to be mutated.
  */
 public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<RowMutation, RowMutation._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("RowMutation");
@@ -81,10 +81,14 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
    */
   public boolean wal; // required
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
   public RowMutationType rowMutationType; // required
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public List<RecordMutation> recordMutations; // required
   /**
    * On mutate waits for the mutation to be visible to queries and fetch requests.
@@ -106,10 +110,14 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
      */
     WAL((short)3, "wal"),
     /**
+     * The RowMutationType to define how to mutate the given Row.
      * 
      * @see RowMutationType
      */
     ROW_MUTATION_TYPE((short)4, "rowMutationType"),
+    /**
+     * The RecordMutations if any for this Row.
+     */
     RECORD_MUTATIONS((short)5, "recordMutations"),
     /**
      * On mutate waits for the mutation to be visible to queries and fetch requests.
@@ -207,6 +215,8 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   public RowMutation() {
     this.wal = true;
 
+    this.rowMutationType = org.apache.blur.thrift.generated.RowMutationType.REPLACE_ROW;
+
     this.waitToBeVisible = false;
 
   }
@@ -265,7 +275,8 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
     this.rowId = null;
     this.wal = true;
 
-    this.rowMutationType = null;
+    this.rowMutationType = org.apache.blur.thrift.generated.RowMutationType.REPLACE_ROW;
+
     this.recordMutations = null;
     this.waitToBeVisible = false;
 
@@ -361,6 +372,7 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
@@ -369,6 +381,7 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
@@ -407,10 +420,16 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
     this.recordMutations.add(elem);
   }
 
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public List<RecordMutation> getRecordMutations() {
     return this.recordMutations;
   }
 
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public RowMutation setRecordMutations(List<RecordMutation> recordMutations) {
     this.recordMutations = recordMutations;
     return this;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/blur-thrift/src/main/java/org/apache/blur/thrift/generated/TableStats.java
----------------------------------------------------------------------
diff --git a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/TableStats.java b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/TableStats.java
index d1bc590..94a622e 100644
--- a/blur-thrift/src/main/java/org/apache/blur/thrift/generated/TableStats.java
+++ b/blur-thrift/src/main/java/org/apache/blur/thrift/generated/TableStats.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * TableStats holds the statistics for a given table.
  */
 public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<TableStats, TableStats._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("TableStats");
@@ -59,7 +59,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField BYTES_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("bytes", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)2);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField RECORD_COUNT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("recordCount", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)3);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField ROW_COUNT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("rowCount", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)4);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField QUERIES_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("queries", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)5);
 
   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
   static {
@@ -68,48 +67,40 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The table name.
    */
   public String tableName; // required
   /**
-   * 
+   * The size in bytes.
    */
   public long bytes; // required
   /**
-   * 
+   * The record count.
    */
   public long recordCount; // required
   /**
-   * 
+   * The row count.
    */
   public long rowCount; // required
-  /**
-   * 
-   */
-  public long queries; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * The table name.
      */
     TABLE_NAME((short)1, "tableName"),
     /**
-     * 
+     * The size in bytes.
      */
     BYTES((short)2, "bytes"),
     /**
-     * 
+     * The record count.
      */
     RECORD_COUNT((short)3, "recordCount"),
     /**
-     * 
-     */
-    ROW_COUNT((short)4, "rowCount"),
-    /**
-     * 
+     * The row count.
      */
-    QUERIES((short)5, "queries");
+    ROW_COUNT((short)4, "rowCount");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -132,8 +123,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
           return RECORD_COUNT;
         case 4: // ROW_COUNT
           return ROW_COUNT;
-        case 5: // QUERIES
-          return QUERIES;
         default:
           return null;
       }
@@ -177,7 +166,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   private static final int __BYTES_ISSET_ID = 0;
   private static final int __RECORDCOUNT_ISSET_ID = 1;
   private static final int __ROWCOUNT_ISSET_ID = 2;
-  private static final int __QUERIES_ISSET_ID = 3;
   private byte __isset_bitfield = 0;
   public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
   static {
@@ -190,8 +178,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
     tmpMap.put(_Fields.ROW_COUNT, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("rowCount", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
-    tmpMap.put(_Fields.QUERIES, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("queries", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(TableStats.class, metaDataMap);
   }
@@ -203,8 +189,7 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     String tableName,
     long bytes,
     long recordCount,
-    long rowCount,
-    long queries)
+    long rowCount)
   {
     this();
     this.tableName = tableName;
@@ -214,8 +199,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     setRecordCountIsSet(true);
     this.rowCount = rowCount;
     setRowCountIsSet(true);
-    this.queries = queries;
-    setQueriesIsSet(true);
   }
 
   /**
@@ -229,7 +212,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     this.bytes = other.bytes;
     this.recordCount = other.recordCount;
     this.rowCount = other.rowCount;
-    this.queries = other.queries;
   }
 
   public TableStats deepCopy() {
@@ -245,19 +227,17 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     this.recordCount = 0;
     setRowCountIsSet(false);
     this.rowCount = 0;
-    setQueriesIsSet(false);
-    this.queries = 0;
   }
 
   /**
-   * 
+   * The table name.
    */
   public String getTableName() {
     return this.tableName;
   }
 
   /**
-   * 
+   * The table name.
    */
   public TableStats setTableName(String tableName) {
     this.tableName = tableName;
@@ -280,14 +260,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The size in bytes.
    */
   public long getBytes() {
     return this.bytes;
   }
 
   /**
-   * 
+   * The size in bytes.
    */
   public TableStats setBytes(long bytes) {
     this.bytes = bytes;
@@ -309,14 +289,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The record count.
    */
   public long getRecordCount() {
     return this.recordCount;
   }
 
   /**
-   * 
+   * The record count.
    */
   public TableStats setRecordCount(long recordCount) {
     this.recordCount = recordCount;
@@ -338,14 +318,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The row count.
    */
   public long getRowCount() {
     return this.rowCount;
   }
 
   /**
-   * 
+   * The row count.
    */
   public TableStats setRowCount(long rowCount) {
     this.rowCount = rowCount;
@@ -366,35 +346,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ROWCOUNT_ISSET_ID, value);
   }
 
-  /**
-   * 
-   */
-  public long getQueries() {
-    return this.queries;
-  }
-
-  /**
-   * 
-   */
-  public TableStats setQueries(long queries) {
-    this.queries = queries;
-    setQueriesIsSet(true);
-    return this;
-  }
-
-  public void unsetQueries() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __QUERIES_ISSET_ID);
-  }
-
-  /** Returns true if field queries is set (has been assigned a value) and false otherwise */
-  public boolean isSetQueries() {
-    return EncodingUtils.testBit(__isset_bitfield, __QUERIES_ISSET_ID);
-  }
-
-  public void setQueriesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __QUERIES_ISSET_ID, value);
-  }
-
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     case TABLE_NAME:
@@ -429,14 +380,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       }
       break;
 
-    case QUERIES:
-      if (value == null) {
-        unsetQueries();
-      } else {
-        setQueries((Long)value);
-      }
-      break;
-
     }
   }
 
@@ -454,9 +397,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     case ROW_COUNT:
       return Long.valueOf(getRowCount());
 
-    case QUERIES:
-      return Long.valueOf(getQueries());
-
     }
     throw new IllegalStateException();
   }
@@ -476,8 +416,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       return isSetRecordCount();
     case ROW_COUNT:
       return isSetRowCount();
-    case QUERIES:
-      return isSetQueries();
     }
     throw new IllegalStateException();
   }
@@ -531,15 +469,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         return false;
     }
 
-    boolean this_present_queries = true;
-    boolean that_present_queries = true;
-    if (this_present_queries || that_present_queries) {
-      if (!(this_present_queries && that_present_queries))
-        return false;
-      if (this.queries != that.queries)
-        return false;
-    }
-
     return true;
   }
 
@@ -596,16 +525,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetQueries()).compareTo(typedOther.isSetQueries());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQueries()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.queries, typedOther.queries);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     return 0;
   }
 
@@ -645,10 +564,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     sb.append("rowCount:");
     sb.append(this.rowCount);
     first = false;
-    if (!first) sb.append(", ");
-    sb.append("queries:");
-    sb.append(this.queries);
-    first = false;
     sb.append(")");
     return sb.toString();
   }
@@ -726,14 +641,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 5: // QUERIES
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64) {
-              struct.queries = iprot.readI64();
-              struct.setQueriesIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           default:
             org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
         }
@@ -763,9 +670,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       oprot.writeFieldBegin(ROW_COUNT_FIELD_DESC);
       oprot.writeI64(struct.rowCount);
       oprot.writeFieldEnd();
-      oprot.writeFieldBegin(QUERIES_FIELD_DESC);
-      oprot.writeI64(struct.queries);
-      oprot.writeFieldEnd();
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
@@ -796,10 +700,7 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       if (struct.isSetRowCount()) {
         optionals.set(3);
       }
-      if (struct.isSetQueries()) {
-        optionals.set(4);
-      }
-      oprot.writeBitSet(optionals, 5);
+      oprot.writeBitSet(optionals, 4);
       if (struct.isSetTableName()) {
         oprot.writeString(struct.tableName);
       }
@@ -812,15 +713,12 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       if (struct.isSetRowCount()) {
         oprot.writeI64(struct.rowCount);
       }
-      if (struct.isSetQueries()) {
-        oprot.writeI64(struct.queries);
-      }
     }
 
     @Override
     public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, TableStats struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(5);
+      BitSet incoming = iprot.readBitSet(4);
       if (incoming.get(0)) {
         struct.tableName = iprot.readString();
         struct.setTableNameIsSet(true);
@@ -837,10 +735,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         struct.rowCount = iprot.readI64();
         struct.setRowCountIsSet(true);
       }
-      if (incoming.get(4)) {
-        struct.queries = iprot.readI64();
-        struct.setQueriesIsSet(true);
-      }
     }
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/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 70e5765..d39e19c 100644
--- a/distribution/src/main/scripts/interface/Blur.thrift
+++ b/distribution/src/main/scripts/interface/Blur.thrift
@@ -404,7 +404,7 @@ struct BlurQuery {
 }
 
 /**
- * 
+ * The BlurResult carries the score, the location id and the fetched result (if any) form each query.
  */
 struct BlurResult {
   /**
@@ -412,61 +412,61 @@ struct BlurResult {
    */
   1:string locationId,
   /**
-   * 
+   * The score for the hit in the query.
    */
   2:double score,
   /**
-   *
+   * The fetched result if any.
    */
   3:FetchResult fetchResult
 }
 
 /**
- *
+ * BlurResults holds all information resulting from a query.
  */
 struct BlurResults {
   /**
-   *
+   * The total number of hits in the query.
    */
   1:i64 totalResults = 0,
   /**
-   *
+   * Hit counts from each shard in the table.
    */
   2:map<string,i64> shardInfo,
   /**
-   *
+   * The query results.
    */
   3:list<BlurResult> results,
   /**
-   *
+   * The faceted count.
    */
   4:list<i64> facetCounts,
   /**
-   *
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   5:list<BlurException> exceptions,
   /**
-   *
+   * The original query.
    */
   6:BlurQuery query
 }
 
 /**
- *
+ * The RowMutation defines how the given Record is to be mutated.
  */
 struct RecordMutation {
   /**
-   *
+   * Define how to mutate the given Record.
    */
-  1:RecordMutationType recordMutationType,
+  1:RecordMutationType recordMutationType = RecordMutationType.REPLACE_ENTIRE_RECORD,
   /**
-   *
+   * The Record to mutate.
    */
   2:Record record
 }
 
 /**
- *
+ * The RowMutation defines how the given Row is to be mutated.
  */
 struct RowMutation {
   /**
@@ -481,7 +481,13 @@ struct RowMutation {
    * Write ahead log, by default all updates are written to a write ahead log before the update is applied.  That way if a failure occurs before the index is committed the WAL can be replayed to recover any data that could have been lost.
    */
   3:bool wal = 1,
-  4:RowMutationType rowMutationType,
+  /**
+   * The RowMutationType to define how to mutate the given Row.
+   */
+  4:RowMutationType rowMutationType = RowMutationType.REPLACE_ROW,
+  /**
+   * The RecordMutations if any for this Row.
+   */
   5:list<RecordMutation> recordMutations,
   /**
    * On mutate waits for the mutation to be visible to queries and fetch requests.
@@ -544,29 +550,25 @@ struct BlurQueryStatus {
 }
 
 /**
- *
+ * TableStats holds the statistics for a given table.
  */
 struct TableStats {
   /**
-   *
+   * The table name.
    */
   1:string tableName,
   /**
-   *
+   * The size in bytes.
    */
   2:i64 bytes,
   /**
-   *
+   * The record count.
    */
   3:i64 recordCount,
   /**
-   *
-   */
-  4:i64 rowCount,
-  /**
-   *
+   * The row count.
    */
-  5:i64 queries
+  4:i64 rowCount
 }
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/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 6fbfd55..3da5cce 100644
--- a/distribution/src/main/scripts/interface/gen-html/Blur.html
+++ b/distribution/src/main/scripts/interface/gen-html/Blur.html
@@ -311,33 +311,33 @@ with the query options.
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
 <tr><td>1</td><td>locationId</td><td><code>string</code></td><td>WARNING: This is an internal only attribute and is not intended for use by clients.
 </td><td>default</td><td></td></tr>
-<tr><td>2</td><td>score</td><td><code>double</code></td><td> 
+<tr><td>2</td><td>score</td><td><code>double</code></td><td>The score for the hit in the query.
 </td><td>default</td><td></td></tr>
-<tr><td>3</td><td>fetchResult</td><td><code><a href="Blur.html#Struct_FetchResult">FetchResult</a></code></td><td>
+<tr><td>3</td><td>fetchResult</td><td><code><a href="Blur.html#Struct_FetchResult">FetchResult</a></code></td><td>The fetched result if any.
 </td><td>default</td><td></td></tr>
-</table><br/> 
+</table><br/>The BlurResult carries the score, the location id and the fetched result (if any) form each query.
 <br/></div><div class="definition"><h3 id="Struct_BlurResults">Struct: BlurResults</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
-<tr><td>1</td><td>totalResults</td><td><code>i64</code></td><td>
+<tr><td>1</td><td>totalResults</td><td><code>i64</code></td><td>The total number of hits in the query.
 </td><td>default</td><td>0</td></tr>
-<tr><td>2</td><td>shardInfo</td><td><code>map&lt;<code>string</code>, <code>i64</code>&gt;</code></td><td>
+<tr><td>2</td><td>shardInfo</td><td><code>map&lt;<code>string</code>, <code>i64</code>&gt;</code></td><td>Hit counts from each shard in the table.
 </td><td>default</td><td></td></tr>
-<tr><td>3</td><td>results</td><td><code>list&lt;<code><a href="Blur.html#Struct_BlurResult">BlurResult</a></code>&gt;</code></td><td>
+<tr><td>3</td><td>results</td><td><code>list&lt;<code><a href="Blur.html#Struct_BlurResult">BlurResult</a></code>&gt;</code></td><td>The query results.
 </td><td>default</td><td></td></tr>
-<tr><td>4</td><td>facetCounts</td><td><code>list&lt;<code>i64</code>&gt;</code></td><td>
+<tr><td>4</td><td>facetCounts</td><td><code>list&lt;<code>i64</code>&gt;</code></td><td>The faceted count.
 </td><td>default</td><td></td></tr>
-<tr><td>5</td><td>exceptions</td><td><code>list&lt;<code><a href="Blur.html#Struct_BlurException">BlurException</a></code>&gt;</code></td><td>
+<tr><td>5</td><td>exceptions</td><td><code>list&lt;<code><a href="Blur.html#Struct_BlurException">BlurException</a></code>&gt;</code></td><td>Not currently used, a future feature could allow for partial results with errors.
 </td><td>default</td><td></td></tr>
-<tr><td>6</td><td>query</td><td><code><a href="Blur.html#Struct_BlurQuery">BlurQuery</a></code></td><td>
+<tr><td>6</td><td>query</td><td><code><a href="Blur.html#Struct_BlurQuery">BlurQuery</a></code></td><td>The original query.
 </td><td>default</td><td></td></tr>
-</table><br/><p/>
+</table><br/>BlurResults holds all information resulting from a query.
 <br/></div><div class="definition"><h3 id="Struct_RecordMutation">Struct: RecordMutation</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
-<tr><td>1</td><td>recordMutationType</td><td><code><a href="Blur.html#Enum_RecordMutationType">RecordMutationType</a></code></td><td>
-</td><td>default</td><td></td></tr>
-<tr><td>2</td><td>record</td><td><code><a href="Blur.html#Struct_Record">Record</a></code></td><td>
+<tr><td>1</td><td>recordMutationType</td><td><code><a href="Blur.html#Enum_RecordMutationType">RecordMutationType</a></code></td><td>Define how to mutate the given Record.
+</td><td>default</td><td>UNKNOWN</td></tr>
+<tr><td>2</td><td>record</td><td><code><a href="Blur.html#Struct_Record">Record</a></code></td><td>The Record to mutate.
 </td><td>default</td><td></td></tr>
-</table><br/><p/>
+</table><br/>The RowMutation defines how the given Record is to be mutated.
 <br/></div><div class="definition"><h3 id="Struct_RowMutation">Struct: RowMutation</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
 <tr><td>1</td><td>table</td><td><code>string</code></td><td>The that that the row mutation is to act upon.
@@ -346,11 +346,13 @@ with the query options.
 </td><td>default</td><td></td></tr>
 <tr><td>3</td><td>wal</td><td><code>bool</code></td><td>Write ahead log, by default all updates are written to a write ahead log before the update is applied.  That way if a failure occurs before the index is committed the WAL can be replayed to recover any data that could have been lost.
 </td><td>default</td><td>1</td></tr>
-<tr><td>4</td><td>rowMutationType</td><td><code><a href="Blur.html#Enum_RowMutationType">RowMutationType</a></code></td><td></td><td>default</td><td></td></tr>
-<tr><td>5</td><td>recordMutations</td><td><code>list&lt;<code><a href="Blur.html#Struct_RecordMutation">RecordMutation</a></code>&gt;</code></td><td></td><td>default</td><td></td></tr>
+<tr><td>4</td><td>rowMutationType</td><td><code><a href="Blur.html#Enum_RowMutationType">RowMutationType</a></code></td><td>The RowMutationType to define how to mutate the given Row.
+</td><td>default</td><td>UNKNOWN</td></tr>
+<tr><td>5</td><td>recordMutations</td><td><code>list&lt;<code><a href="Blur.html#Struct_RecordMutation">RecordMutation</a></code>&gt;</code></td><td>The RecordMutations if any for this Row.
+</td><td>default</td><td></td></tr>
 <tr><td>6</td><td>waitToBeVisible</td><td><code>bool</code></td><td>On mutate waits for the mutation to be visible to queries and fetch requests.
 </td><td>default</td><td>0</td></tr>
-</table><br/><p/>
+</table><br/>The RowMutation defines how the given Row is to be mutated.
 <br/></div><div class="definition"><h3 id="Struct_CpuTime">Struct: CpuTime</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
 <tr><td>1</td><td>cpuTime</td><td><code>i64</code></td><td>The total cpu time for the query on the given shard.
@@ -383,17 +385,15 @@ the controller will aggregate all the shard server totals together.
 shards that are complete, etc.
 <br/></div><div class="definition"><h3 id="Struct_TableStats">Struct: TableStats</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
-<tr><td>1</td><td>tableName</td><td><code>string</code></td><td>
-</td><td>default</td><td></td></tr>
-<tr><td>2</td><td>bytes</td><td><code>i64</code></td><td>
+<tr><td>1</td><td>tableName</td><td><code>string</code></td><td>The table name.
 </td><td>default</td><td></td></tr>
-<tr><td>3</td><td>recordCount</td><td><code>i64</code></td><td>
+<tr><td>2</td><td>bytes</td><td><code>i64</code></td><td>The size in bytes.
 </td><td>default</td><td></td></tr>
-<tr><td>4</td><td>rowCount</td><td><code>i64</code></td><td>
+<tr><td>3</td><td>recordCount</td><td><code>i64</code></td><td>The record count.
 </td><td>default</td><td></td></tr>
-<tr><td>5</td><td>queries</td><td><code>i64</code></td><td>
+<tr><td>4</td><td>rowCount</td><td><code>i64</code></td><td>The row count.
 </td><td>default</td><td></td></tr>
-</table><br/><p/>
+</table><br/>TableStats holds the statistics for a given table.
 <br/></div><div class="definition"><h3 id="Struct_ColumnDefinition">Struct: ColumnDefinition</h3>
 <table class="table-bordered table-striped table-condensed"><thead><th>Key</th><th>Field</th><th>Type</th><th>Description</th><th>Requiredness</th><th>Default value</th></thead>
 <tr><td>1</td><td>family</td><td><code>string</code></td><td>Required. The family the this column existing within.

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
index ee5a70c..3afec34 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- *  
+ * The BlurResult carries the score, the location id and the fetched result (if any) form each query.
  */
 public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurResult, BlurResult._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurResult");
@@ -70,11 +70,11 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
    */
   public String locationId; // required
   /**
-   *  
+   * The score for the hit in the query.
    */
   public double score; // required
   /**
-   * 
+   * The fetched result if any.
    */
   public FetchResult fetchResult; // required
 
@@ -85,11 +85,11 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
      */
     LOCATION_ID((short)1, "locationId"),
     /**
-     *  
+     * The score for the hit in the query.
      */
     SCORE((short)2, "score"),
     /**
-     * 
+     * The fetched result if any.
      */
     FETCH_RESULT((short)3, "fetchResult");
 
@@ -239,14 +239,14 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   *  
+   * The score for the hit in the query.
    */
   public double getScore() {
     return this.score;
   }
 
   /**
-   *  
+   * The score for the hit in the query.
    */
   public BlurResult setScore(double score) {
     this.score = score;
@@ -268,14 +268,14 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The fetched result if any.
    */
   public FetchResult getFetchResult() {
     return this.fetchResult;
   }
 
   /**
-   * 
+   * The fetched result if any.
    */
   public BlurResult setFetchResult(FetchResult fetchResult) {
     this.fetchResult = fetchResult;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
index 4551c4c..bfb9bfe 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResults.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * BlurResults holds all information resulting from a query.
  */
 public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurResults, BlurResults._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurResults");
@@ -69,54 +69,54 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public long totalResults; // required
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public Map<String,Long> shardInfo; // required
   /**
-   * 
+   * The query results.
    */
   public List<BlurResult> results; // required
   /**
-   * 
+   * The faceted count.
    */
   public List<Long> facetCounts; // required
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public List<BlurException> exceptions; // required
   /**
-   * 
+   * The original query.
    */
   public BlurQuery query; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * The total number of hits in the query.
      */
     TOTAL_RESULTS((short)1, "totalResults"),
     /**
-     * 
+     * Hit counts from each shard in the table.
      */
     SHARD_INFO((short)2, "shardInfo"),
     /**
-     * 
+     * The query results.
      */
     RESULTS((short)3, "results"),
     /**
-     * 
+     * The faceted count.
      */
     FACET_COUNTS((short)4, "facetCounts"),
     /**
-     * 
+     * Not currently used, a future feature could allow for partial results with errors.
      */
     EXCEPTIONS((short)5, "exceptions"),
     /**
-     * 
+     * The original query.
      */
     QUERY((short)6, "query");
 
@@ -297,14 +297,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public long getTotalResults() {
     return this.totalResults;
   }
 
   /**
-   * 
+   * The total number of hits in the query.
    */
   public BlurResults setTotalResults(long totalResults) {
     this.totalResults = totalResults;
@@ -337,14 +337,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public Map<String,Long> getShardInfo() {
     return this.shardInfo;
   }
 
   /**
-   * 
+   * Hit counts from each shard in the table.
    */
   public BlurResults setShardInfo(Map<String,Long> shardInfo) {
     this.shardInfo = shardInfo;
@@ -382,14 +382,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The query results.
    */
   public List<BlurResult> getResults() {
     return this.results;
   }
 
   /**
-   * 
+   * The query results.
    */
   public BlurResults setResults(List<BlurResult> results) {
     this.results = results;
@@ -427,14 +427,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The faceted count.
    */
   public List<Long> getFacetCounts() {
     return this.facetCounts;
   }
 
   /**
-   * 
+   * The faceted count.
    */
   public BlurResults setFacetCounts(List<Long> facetCounts) {
     this.facetCounts = facetCounts;
@@ -472,14 +472,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public List<BlurException> getExceptions() {
     return this.exceptions;
   }
 
   /**
-   * 
+   * Not currently used, a future feature could allow for partial results with errors.
    */
   public BlurResults setExceptions(List<BlurException> exceptions) {
     this.exceptions = exceptions;
@@ -502,14 +502,14 @@ public class BlurResults implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
-   * 
+   * The original query.
    */
   public BlurQuery getQuery() {
     return this.query;
   }
 
   /**
-   * 
+   * The original query.
    */
   public BlurResults setQuery(BlurQuery query) {
     this.query = query;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RecordMutation.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RecordMutation.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RecordMutation.java
index 83a542f..66b991a 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RecordMutation.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RecordMutation.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * The RowMutation defines how the given Record is to be mutated.
  */
 public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<RecordMutation, RecordMutation._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("RecordMutation");
@@ -65,26 +65,26 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
   public RecordMutationType recordMutationType; // required
   /**
-   * 
+   * The Record to mutate.
    */
   public Record record; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * Define how to mutate the given Record.
      * 
      * @see RecordMutationType
      */
     RECORD_MUTATION_TYPE((short)1, "recordMutationType"),
     /**
-     * 
+     * The Record to mutate.
      */
     RECORD((short)2, "record");
 
@@ -157,6 +157,8 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   public RecordMutation() {
+    this.recordMutationType = org.apache.blur.thrift.generated.RecordMutationType.REPLACE_ENTIRE_RECORD;
+
   }
 
   public RecordMutation(
@@ -186,12 +188,13 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
 
   @Override
   public void clear() {
-    this.recordMutationType = null;
+    this.recordMutationType = org.apache.blur.thrift.generated.RecordMutationType.REPLACE_ENTIRE_RECORD;
+
     this.record = null;
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
@@ -200,7 +203,7 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * Define how to mutate the given Record.
    * 
    * @see RecordMutationType
    */
@@ -225,14 +228,14 @@ public class RecordMutation implements org.apache.blur.thirdparty.thrift_0_9_0.T
   }
 
   /**
-   * 
+   * The Record to mutate.
    */
   public Record getRecord() {
     return this.record;
   }
 
   /**
-   * 
+   * The Record to mutate.
    */
   public RecordMutation setRecord(Record record) {
     this.record = record;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RowMutation.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RowMutation.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RowMutation.java
index ce8f65f..17bfadf 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RowMutation.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/RowMutation.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * The RowMutation defines how the given Row is to be mutated.
  */
 public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<RowMutation, RowMutation._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("RowMutation");
@@ -81,10 +81,14 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
    */
   public boolean wal; // required
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
   public RowMutationType rowMutationType; // required
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public List<RecordMutation> recordMutations; // required
   /**
    * On mutate waits for the mutation to be visible to queries and fetch requests.
@@ -106,10 +110,14 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
      */
     WAL((short)3, "wal"),
     /**
+     * The RowMutationType to define how to mutate the given Row.
      * 
      * @see RowMutationType
      */
     ROW_MUTATION_TYPE((short)4, "rowMutationType"),
+    /**
+     * The RecordMutations if any for this Row.
+     */
     RECORD_MUTATIONS((short)5, "recordMutations"),
     /**
      * On mutate waits for the mutation to be visible to queries and fetch requests.
@@ -207,6 +215,8 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   public RowMutation() {
     this.wal = true;
 
+    this.rowMutationType = org.apache.blur.thrift.generated.RowMutationType.REPLACE_ROW;
+
     this.waitToBeVisible = false;
 
   }
@@ -265,7 +275,8 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
     this.rowId = null;
     this.wal = true;
 
-    this.rowMutationType = null;
+    this.rowMutationType = org.apache.blur.thrift.generated.RowMutationType.REPLACE_ROW;
+
     this.recordMutations = null;
     this.waitToBeVisible = false;
 
@@ -361,6 +372,7 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
@@ -369,6 +381,7 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
   }
 
   /**
+   * The RowMutationType to define how to mutate the given Row.
    * 
    * @see RowMutationType
    */
@@ -407,10 +420,16 @@ public class RowMutation implements org.apache.blur.thirdparty.thrift_0_9_0.TBas
     this.recordMutations.add(elem);
   }
 
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public List<RecordMutation> getRecordMutations() {
     return this.recordMutations;
   }
 
+  /**
+   * The RecordMutations if any for this Row.
+   */
   public RowMutation setRecordMutations(List<RecordMutation> recordMutations) {
     this.recordMutations = recordMutations;
     return this;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableStats.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableStats.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableStats.java
index d1bc590..94a622e 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableStats.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableStats.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * TableStats holds the statistics for a given table.
  */
 public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<TableStats, TableStats._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("TableStats");
@@ -59,7 +59,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField BYTES_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("bytes", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)2);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField RECORD_COUNT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("recordCount", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)3);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField ROW_COUNT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("rowCount", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)4);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField QUERIES_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("queries", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)5);
 
   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
   static {
@@ -68,48 +67,40 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The table name.
    */
   public String tableName; // required
   /**
-   * 
+   * The size in bytes.
    */
   public long bytes; // required
   /**
-   * 
+   * The record count.
    */
   public long recordCount; // required
   /**
-   * 
+   * The row count.
    */
   public long rowCount; // required
-  /**
-   * 
-   */
-  public long queries; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * The table name.
      */
     TABLE_NAME((short)1, "tableName"),
     /**
-     * 
+     * The size in bytes.
      */
     BYTES((short)2, "bytes"),
     /**
-     * 
+     * The record count.
      */
     RECORD_COUNT((short)3, "recordCount"),
     /**
-     * 
-     */
-    ROW_COUNT((short)4, "rowCount"),
-    /**
-     * 
+     * The row count.
      */
-    QUERIES((short)5, "queries");
+    ROW_COUNT((short)4, "rowCount");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -132,8 +123,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
           return RECORD_COUNT;
         case 4: // ROW_COUNT
           return ROW_COUNT;
-        case 5: // QUERIES
-          return QUERIES;
         default:
           return null;
       }
@@ -177,7 +166,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   private static final int __BYTES_ISSET_ID = 0;
   private static final int __RECORDCOUNT_ISSET_ID = 1;
   private static final int __ROWCOUNT_ISSET_ID = 2;
-  private static final int __QUERIES_ISSET_ID = 3;
   private byte __isset_bitfield = 0;
   public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
   static {
@@ -190,8 +178,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
     tmpMap.put(_Fields.ROW_COUNT, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("rowCount", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
-    tmpMap.put(_Fields.QUERIES, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("queries", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(TableStats.class, metaDataMap);
   }
@@ -203,8 +189,7 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     String tableName,
     long bytes,
     long recordCount,
-    long rowCount,
-    long queries)
+    long rowCount)
   {
     this();
     this.tableName = tableName;
@@ -214,8 +199,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     setRecordCountIsSet(true);
     this.rowCount = rowCount;
     setRowCountIsSet(true);
-    this.queries = queries;
-    setQueriesIsSet(true);
   }
 
   /**
@@ -229,7 +212,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     this.bytes = other.bytes;
     this.recordCount = other.recordCount;
     this.rowCount = other.rowCount;
-    this.queries = other.queries;
   }
 
   public TableStats deepCopy() {
@@ -245,19 +227,17 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     this.recordCount = 0;
     setRowCountIsSet(false);
     this.rowCount = 0;
-    setQueriesIsSet(false);
-    this.queries = 0;
   }
 
   /**
-   * 
+   * The table name.
    */
   public String getTableName() {
     return this.tableName;
   }
 
   /**
-   * 
+   * The table name.
    */
   public TableStats setTableName(String tableName) {
     this.tableName = tableName;
@@ -280,14 +260,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The size in bytes.
    */
   public long getBytes() {
     return this.bytes;
   }
 
   /**
-   * 
+   * The size in bytes.
    */
   public TableStats setBytes(long bytes) {
     this.bytes = bytes;
@@ -309,14 +289,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The record count.
    */
   public long getRecordCount() {
     return this.recordCount;
   }
 
   /**
-   * 
+   * The record count.
    */
   public TableStats setRecordCount(long recordCount) {
     this.recordCount = recordCount;
@@ -338,14 +318,14 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   * The row count.
    */
   public long getRowCount() {
     return this.rowCount;
   }
 
   /**
-   * 
+   * The row count.
    */
   public TableStats setRowCount(long rowCount) {
     this.rowCount = rowCount;
@@ -366,35 +346,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ROWCOUNT_ISSET_ID, value);
   }
 
-  /**
-   * 
-   */
-  public long getQueries() {
-    return this.queries;
-  }
-
-  /**
-   * 
-   */
-  public TableStats setQueries(long queries) {
-    this.queries = queries;
-    setQueriesIsSet(true);
-    return this;
-  }
-
-  public void unsetQueries() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __QUERIES_ISSET_ID);
-  }
-
-  /** Returns true if field queries is set (has been assigned a value) and false otherwise */
-  public boolean isSetQueries() {
-    return EncodingUtils.testBit(__isset_bitfield, __QUERIES_ISSET_ID);
-  }
-
-  public void setQueriesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __QUERIES_ISSET_ID, value);
-  }
-
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     case TABLE_NAME:
@@ -429,14 +380,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       }
       break;
 
-    case QUERIES:
-      if (value == null) {
-        unsetQueries();
-      } else {
-        setQueries((Long)value);
-      }
-      break;
-
     }
   }
 
@@ -454,9 +397,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     case ROW_COUNT:
       return Long.valueOf(getRowCount());
 
-    case QUERIES:
-      return Long.valueOf(getQueries());
-
     }
     throw new IllegalStateException();
   }
@@ -476,8 +416,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       return isSetRecordCount();
     case ROW_COUNT:
       return isSetRowCount();
-    case QUERIES:
-      return isSetQueries();
     }
     throw new IllegalStateException();
   }
@@ -531,15 +469,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         return false;
     }
 
-    boolean this_present_queries = true;
-    boolean that_present_queries = true;
-    if (this_present_queries || that_present_queries) {
-      if (!(this_present_queries && that_present_queries))
-        return false;
-      if (this.queries != that.queries)
-        return false;
-    }
-
     return true;
   }
 
@@ -596,16 +525,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetQueries()).compareTo(typedOther.isSetQueries());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQueries()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.queries, typedOther.queries);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     return 0;
   }
 
@@ -645,10 +564,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
     sb.append("rowCount:");
     sb.append(this.rowCount);
     first = false;
-    if (!first) sb.append(", ");
-    sb.append("queries:");
-    sb.append(this.queries);
-    first = false;
     sb.append(")");
     return sb.toString();
   }
@@ -726,14 +641,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 5: // QUERIES
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64) {
-              struct.queries = iprot.readI64();
-              struct.setQueriesIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           default:
             org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
         }
@@ -763,9 +670,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       oprot.writeFieldBegin(ROW_COUNT_FIELD_DESC);
       oprot.writeI64(struct.rowCount);
       oprot.writeFieldEnd();
-      oprot.writeFieldBegin(QUERIES_FIELD_DESC);
-      oprot.writeI64(struct.queries);
-      oprot.writeFieldEnd();
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
@@ -796,10 +700,7 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       if (struct.isSetRowCount()) {
         optionals.set(3);
       }
-      if (struct.isSetQueries()) {
-        optionals.set(4);
-      }
-      oprot.writeBitSet(optionals, 5);
+      oprot.writeBitSet(optionals, 4);
       if (struct.isSetTableName()) {
         oprot.writeString(struct.tableName);
       }
@@ -812,15 +713,12 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
       if (struct.isSetRowCount()) {
         oprot.writeI64(struct.rowCount);
       }
-      if (struct.isSetQueries()) {
-        oprot.writeI64(struct.queries);
-      }
     }
 
     @Override
     public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, TableStats struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(5);
+      BitSet incoming = iprot.readBitSet(4);
       if (incoming.get(0)) {
         struct.tableName = iprot.readString();
         struct.setTableNameIsSet(true);
@@ -837,10 +735,6 @@ public class TableStats implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
         struct.rowCount = iprot.readI64();
         struct.setRowCountIsSet(true);
       }
-      if (incoming.get(4)) {
-        struct.queries = iprot.readI64();
-        struct.setQueriesIsSet(true);
-      }
     }
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/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 e606bd0..a62393a 100644
--- a/distribution/src/main/scripts/interface/gen-js/Blur_types.js
+++ b/distribution/src/main/scripts/interface/gen-js/Blur_types.js
@@ -1742,7 +1742,7 @@ BlurResults.prototype.write = function(output) {
 };
 
 RecordMutation = function(args) {
-  this.recordMutationType = null;
+  this.recordMutationType = 1;
   this.record = null;
   if (args) {
     if (args.recordMutationType !== undefined) {
@@ -1812,7 +1812,7 @@ RowMutation = function(args) {
   this.table = null;
   this.rowId = null;
   this.wal = true;
-  this.rowMutationType = null;
+  this.rowMutationType = 1;
   this.recordMutations = null;
   this.waitToBeVisible = false;
   if (args) {
@@ -2212,7 +2212,6 @@ TableStats = function(args) {
   this.bytes = null;
   this.recordCount = null;
   this.rowCount = null;
-  this.queries = null;
   if (args) {
     if (args.tableName !== undefined) {
       this.tableName = args.tableName;
@@ -2226,9 +2225,6 @@ TableStats = function(args) {
     if (args.rowCount !== undefined) {
       this.rowCount = args.rowCount;
     }
-    if (args.queries !== undefined) {
-      this.queries = args.queries;
-    }
   }
 };
 TableStats.prototype = {};
@@ -2273,13 +2269,6 @@ TableStats.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 5:
-      if (ftype == Thrift.Type.I64) {
-        this.queries = input.readI64().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
       default:
         input.skip(ftype);
     }
@@ -2311,11 +2300,6 @@ TableStats.prototype.write = function(output) {
     output.writeI64(this.rowCount);
     output.writeFieldEnd();
   }
-  if (this.queries !== null && this.queries !== undefined) {
-    output.writeFieldBegin('queries', Thrift.Type.I64, 5);
-    output.writeI64(this.queries);
-    output.writeFieldEnd();
-  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/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 536e317..a1442c6 100644
--- a/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
+++ b/distribution/src/main/scripts/interface/gen-perl/Blur/Types.pm
@@ -1871,7 +1871,7 @@ sub new {
   my $classname = shift;
   my $self      = {};
   my $vals      = shift || {};
-  $self->{recordMutationType} = undef;
+  $self->{recordMutationType} = 1;
   $self->{record} = undef;
   if (UNIVERSAL::isa($vals,'HASH')) {
     if (defined $vals->{recordMutationType}) {
@@ -1954,7 +1954,7 @@ sub new {
   $self->{table} = undef;
   $self->{rowId} = undef;
   $self->{wal} = 1;
-  $self->{rowMutationType} = undef;
+  $self->{rowMutationType} = 1;
   $self->{recordMutations} = undef;
   $self->{waitToBeVisible} = 0;
   if (UNIVERSAL::isa($vals,'HASH')) {
@@ -2366,7 +2366,7 @@ sub write {
 
 package Blur::TableStats;
 use base qw(Class::Accessor);
-Blur::TableStats->mk_accessors( qw( tableName bytes recordCount rowCount queries ) );
+Blur::TableStats->mk_accessors( qw( tableName bytes recordCount rowCount ) );
 
 sub new {
   my $classname = shift;
@@ -2376,7 +2376,6 @@ sub new {
   $self->{bytes} = undef;
   $self->{recordCount} = undef;
   $self->{rowCount} = undef;
-  $self->{queries} = undef;
   if (UNIVERSAL::isa($vals,'HASH')) {
     if (defined $vals->{tableName}) {
       $self->{tableName} = $vals->{tableName};
@@ -2390,9 +2389,6 @@ sub new {
     if (defined $vals->{rowCount}) {
       $self->{rowCount} = $vals->{rowCount};
     }
-    if (defined $vals->{queries}) {
-      $self->{queries} = $vals->{queries};
-    }
   }
   return bless ($self, $classname);
 }
@@ -2440,12 +2436,6 @@ sub read {
         $xfer += $input->skip($ftype);
       }
       last; };
-      /^5$/ && do{      if ($ftype == TType::I64) {
-        $xfer += $input->readI64(\$self->{queries});
-      } else {
-        $xfer += $input->skip($ftype);
-      }
-      last; };
         $xfer += $input->skip($ftype);
     }
     $xfer += $input->readFieldEnd();
@@ -2478,11 +2468,6 @@ sub write {
     $xfer += $output->writeI64($self->{rowCount});
     $xfer += $output->writeFieldEnd();
   }
-  if (defined $self->{queries}) {
-    $xfer += $output->writeFieldBegin('queries', TType::I64, 5);
-    $xfer += $output->writeI64($self->{queries});
-    $xfer += $output->writeFieldEnd();
-  }
   $xfer += $output->writeFieldStop();
   $xfer += $output->writeStructEnd();
   return $xfer;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/01c6b2c2/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 217bbe3..662a6ce 100644
--- a/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
+++ b/distribution/src/main/scripts/interface/gen-rb/blur_types.rb
@@ -431,7 +431,7 @@ module Blur
     ::Thrift::Struct.generate_accessors self
   end
 
-  #  
+  # The BlurResult carries the score, the location id and the fetched result (if any) form each query.
   class BlurResult
     include ::Thrift::Struct, ::Thrift::Struct_Union
     LOCATIONID = 1
@@ -441,9 +441,9 @@ module Blur
     FIELDS = {
       # WARNING: This is an internal only attribute and is not intended for use by clients.
       LOCATIONID => {:type => ::Thrift::Types::STRING, :name => 'locationId'},
-      #  
+      # The score for the hit in the query.
       SCORE => {:type => ::Thrift::Types::DOUBLE, :name => 'score'},
-      # 
+      # The fetched result if any.
       FETCHRESULT => {:type => ::Thrift::Types::STRUCT, :name => 'fetchResult', :class => ::Blur::FetchResult}
     }
 
@@ -455,7 +455,7 @@ module Blur
     ::Thrift::Struct.generate_accessors self
   end
 
-  # 
+  # BlurResults holds all information resulting from a query.
   class BlurResults
     include ::Thrift::Struct, ::Thrift::Struct_Union
     TOTALRESULTS = 1
@@ -466,17 +466,17 @@ module Blur
     QUERY = 6
 
     FIELDS = {
-      # 
+      # The total number of hits in the query.
       TOTALRESULTS => {:type => ::Thrift::Types::I64, :name => 'totalResults', :default => 0},
-      # 
+      # Hit counts from each shard in the table.
       SHARDINFO => {:type => ::Thrift::Types::MAP, :name => 'shardInfo', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I64}},
-      # 
+      # The query results.
       RESULTS => {:type => ::Thrift::Types::LIST, :name => 'results', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::BlurResult}},
-      # 
+      # The faceted count.
       FACETCOUNTS => {:type => ::Thrift::Types::LIST, :name => 'facetCounts', :element => {:type => ::Thrift::Types::I64}},
-      # 
+      # Not currently used, a future feature could allow for partial results with errors.
       EXCEPTIONS => {:type => ::Thrift::Types::LIST, :name => 'exceptions', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::BlurException}},
-      # 
+      # The original query.
       QUERY => {:type => ::Thrift::Types::STRUCT, :name => 'query', :class => ::Blur::BlurQuery}
     }
 
@@ -488,16 +488,16 @@ module Blur
     ::Thrift::Struct.generate_accessors self
   end
 
-  # 
+  # The RowMutation defines how the given Record is to be mutated.
   class RecordMutation
     include ::Thrift::Struct, ::Thrift::Struct_Union
     RECORDMUTATIONTYPE = 1
     RECORD = 2
 
     FIELDS = {
-      # 
-      RECORDMUTATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'recordMutationType', :enum_class => ::Blur::RecordMutationType},
-      # 
+      # Define how to mutate the given Record.
+      RECORDMUTATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'recordMutationType', :default =>       1, :enum_class => ::Blur::RecordMutationType},
+      # The Record to mutate.
       RECORD => {:type => ::Thrift::Types::STRUCT, :name => 'record', :class => ::Blur::Record}
     }
 
@@ -512,7 +512,7 @@ module Blur
     ::Thrift::Struct.generate_accessors self
   end
 
-  # 
+  # The RowMutation defines how the given Row is to be mutated.
   class RowMutation
     include ::Thrift::Struct, ::Thrift::Struct_Union
     TABLE = 1
@@ -529,7 +529,9 @@ module Blur
       ROWID => {:type => ::Thrift::Types::STRING, :name => 'rowId'},
       # Write ahead log, by default all updates are written to a write ahead log before the update is applied.  That way if a failure occurs before the index is committed the WAL can be replayed to recover any data that could have been lost.
       WAL => {:type => ::Thrift::Types::BOOL, :name => 'wal', :default => true},
-      ROWMUTATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'rowMutationType', :enum_class => ::Blur::RowMutationType},
+      # The RowMutationType to define how to mutate the given Row.
+      ROWMUTATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'rowMutationType', :default =>       1, :enum_class => ::Blur::RowMutationType},
+      # The RecordMutations if any for this Row.
       RECORDMUTATIONS => {:type => ::Thrift::Types::LIST, :name => 'recordMutations', :element => {:type => ::Thrift::Types::STRUCT, :class => ::Blur::RecordMutation}},
       # On mutate waits for the mutation to be visible to queries and fetch requests.
       WAITTOBEVISIBLE => {:type => ::Thrift::Types::BOOL, :name => 'waitToBeVisible', :default => false}
@@ -615,26 +617,23 @@ module Blur
     ::Thrift::Struct.generate_accessors self
   end
 
-  # 
+  # TableStats holds the statistics for a given table.
   class TableStats
     include ::Thrift::Struct, ::Thrift::Struct_Union
     TABLENAME = 1
     BYTES = 2
     RECORDCOUNT = 3
     ROWCOUNT = 4
-    QUERIES = 5
 
     FIELDS = {
-      # 
+      # The table name.
       TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'},
-      # 
+      # The size in bytes.
       BYTES => {:type => ::Thrift::Types::I64, :name => 'bytes'},
-      # 
+      # The record count.
       RECORDCOUNT => {:type => ::Thrift::Types::I64, :name => 'recordCount'},
-      # 
-      ROWCOUNT => {:type => ::Thrift::Types::I64, :name => 'rowCount'},
-      # 
-      QUERIES => {:type => ::Thrift::Types::I64, :name => 'queries'}
+      # The row count.
+      ROWCOUNT => {:type => ::Thrift::Types::I64, :name => 'rowCount'}
     }
 
     def struct_fields; FIELDS; end


Mime
View raw message