incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [04/10] More documentation.
Date Sun, 18 Aug 2013 00:15:10 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/d05d4ba2/distribution/src/main/scripts/interface/gen-js/Blur.js
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-js/Blur.js b/distribution/src/main/scripts/interface/gen-js/Blur.js
index ebb4cdc..2d5aee3 100644
--- a/distribution/src/main/scripts/interface/gen-js/Blur.js
+++ b/distribution/src/main/scripts/interface/gen-js/Blur.js
@@ -7,10 +7,16 @@
 
 //HELPER FUNCTIONS AND STRUCTURES
 
-Blur_shardClusterList_args = function(args) {
+Blur_createTable_args = function(args) {
+  this.tableDescriptor = null;
+  if (args) {
+    if (args.tableDescriptor !== undefined) {
+      this.tableDescriptor = args.tableDescriptor;
+    }
+  }
 };
-Blur_shardClusterList_args.prototype = {};
-Blur_shardClusterList_args.prototype.read = function(input) {
+Blur_createTable_args.prototype = {};
+Blur_createTable_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -21,38 +27,54 @@ Blur_shardClusterList_args.prototype.read = function(input) {
     if (ftype == Thrift.Type.STOP) {
       break;
     }
-    input.skip(ftype);
+    switch (fid)
+    {
+      case 1:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.tableDescriptor = new TableDescriptor();
+        this.tableDescriptor.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
+      default:
+        input.skip(ftype);
+    }
     input.readFieldEnd();
   }
   input.readStructEnd();
   return;
 };
 
-Blur_shardClusterList_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardClusterList_args');
+Blur_createTable_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_createTable_args');
+  if (this.tableDescriptor !== null && this.tableDescriptor !== undefined) {
+    output.writeFieldBegin('tableDescriptor', Thrift.Type.STRUCT, 1);
+    this.tableDescriptor.write(output);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_shardClusterList_result = function(args) {
-  this.success = null;
+Blur_createTable_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_shardClusterList_result.prototype = {};
-Blur_shardClusterList_result.prototype.read = function(input) {
+Blur_createTable_result.prototype = {};
+Blur_createTable_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -65,26 +87,6 @@ Blur_shardClusterList_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size198 = 0;
-        var _rtmp3202;
-        this.success = [];
-        var _etype201 = 0;
-        _rtmp3202 = input.readListBegin();
-        _etype201 = _rtmp3202.etype;
-        _size198 = _rtmp3202.size;
-        for (var _i203 = 0; _i203 < _size198; ++_i203)
-        {
-          var elem204 = null;
-          elem204 = input.readString().value;
-          this.success.push(elem204);
-        }
-        input.readListEnd();
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -93,6 +95,9 @@ Blur_shardClusterList_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -102,22 +107,8 @@ Blur_shardClusterList_result.prototype.read = function(input) {
   return;
 };
 
-Blur_shardClusterList_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardClusterList_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
-    output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter205 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter205))
-      {
-        iter205 = this.success[iter205];
-        output.writeString(iter205);
-      }
-    }
-    output.writeListEnd();
-    output.writeFieldEnd();
-  }
+Blur_createTable_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_createTable_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -128,16 +119,16 @@ Blur_shardClusterList_result.prototype.write = function(output) {
   return;
 };
 
-Blur_shardServerList_args = function(args) {
-  this.cluster = null;
+Blur_enableTable_args = function(args) {
+  this.table = null;
   if (args) {
-    if (args.cluster !== undefined) {
-      this.cluster = args.cluster;
+    if (args.table !== undefined) {
+      this.table = args.table;
     }
   }
 };
-Blur_shardServerList_args.prototype = {};
-Blur_shardServerList_args.prototype.read = function(input) {
+Blur_enableTable_args.prototype = {};
+Blur_enableTable_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -152,7 +143,7 @@ Blur_shardServerList_args.prototype.read = function(input) {
     {
       case 1:
       if (ftype == Thrift.Type.STRING) {
-        this.cluster = input.readString().value;
+        this.table = input.readString().value;
       } else {
         input.skip(ftype);
       }
@@ -169,11 +160,11 @@ Blur_shardServerList_args.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerList_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerList_args');
-  if (this.cluster !== null && this.cluster !== undefined) {
-    output.writeFieldBegin('cluster', Thrift.Type.STRING, 1);
-    output.writeString(this.cluster);
+Blur_enableTable_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_enableTable_args');
+  if (this.table !== null && this.table !== undefined) {
+    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
+    output.writeString(this.table);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -181,24 +172,20 @@ Blur_shardServerList_args.prototype.write = function(output) {
   return;
 };
 
-Blur_shardServerList_result = function(args) {
-  this.success = null;
+Blur_enableTable_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_shardServerList_result.prototype = {};
-Blur_shardServerList_result.prototype.read = function(input) {
+Blur_enableTable_result.prototype = {};
+Blur_enableTable_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -211,26 +198,6 @@ Blur_shardServerList_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size206 = 0;
-        var _rtmp3210;
-        this.success = [];
-        var _etype209 = 0;
-        _rtmp3210 = input.readListBegin();
-        _etype209 = _rtmp3210.etype;
-        _size206 = _rtmp3210.size;
-        for (var _i211 = 0; _i211 < _size206; ++_i211)
-        {
-          var elem212 = null;
-          elem212 = input.readString().value;
-          this.success.push(elem212);
-        }
-        input.readListEnd();
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -239,6 +206,9 @@ Blur_shardServerList_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -248,22 +218,8 @@ Blur_shardServerList_result.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerList_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerList_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
-    output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter213 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter213))
-      {
-        iter213 = this.success[iter213];
-        output.writeString(iter213);
-      }
-    }
-    output.writeListEnd();
-    output.writeFieldEnd();
-  }
+Blur_enableTable_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_enableTable_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -274,10 +230,16 @@ Blur_shardServerList_result.prototype.write = function(output) {
   return;
 };
 
-Blur_controllerServerList_args = function(args) {
+Blur_disableTable_args = function(args) {
+  this.table = null;
+  if (args) {
+    if (args.table !== undefined) {
+      this.table = args.table;
+    }
+  }
 };
-Blur_controllerServerList_args.prototype = {};
-Blur_controllerServerList_args.prototype.read = function(input) {
+Blur_disableTable_args.prototype = {};
+Blur_disableTable_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -288,38 +250,53 @@ Blur_controllerServerList_args.prototype.read = function(input) {
     if (ftype == Thrift.Type.STOP) {
       break;
     }
-    input.skip(ftype);
+    switch (fid)
+    {
+      case 1:
+      if (ftype == Thrift.Type.STRING) {
+        this.table = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
+      default:
+        input.skip(ftype);
+    }
     input.readFieldEnd();
   }
   input.readStructEnd();
   return;
 };
 
-Blur_controllerServerList_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_controllerServerList_args');
+Blur_disableTable_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_disableTable_args');
+  if (this.table !== null && this.table !== undefined) {
+    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
+    output.writeString(this.table);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_controllerServerList_result = function(args) {
-  this.success = null;
+Blur_disableTable_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_controllerServerList_result.prototype = {};
-Blur_controllerServerList_result.prototype.read = function(input) {
+Blur_disableTable_result.prototype = {};
+Blur_disableTable_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -332,26 +309,6 @@ Blur_controllerServerList_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size214 = 0;
-        var _rtmp3218;
-        this.success = [];
-        var _etype217 = 0;
-        _rtmp3218 = input.readListBegin();
-        _etype217 = _rtmp3218.etype;
-        _size214 = _rtmp3218.size;
-        for (var _i219 = 0; _i219 < _size214; ++_i219)
-        {
-          var elem220 = null;
-          elem220 = input.readString().value;
-          this.success.push(elem220);
-        }
-        input.readListEnd();
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -360,6 +317,9 @@ Blur_controllerServerList_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -369,22 +329,8 @@ Blur_controllerServerList_result.prototype.read = function(input) {
   return;
 };
 
-Blur_controllerServerList_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_controllerServerList_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
-    output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter221 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter221))
-      {
-        iter221 = this.success[iter221];
-        output.writeString(iter221);
-      }
-    }
-    output.writeListEnd();
-    output.writeFieldEnd();
-  }
+Blur_disableTable_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_disableTable_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -395,16 +341,20 @@ Blur_controllerServerList_result.prototype.write = function(output) {
   return;
 };
 
-Blur_shardServerLayout_args = function(args) {
+Blur_removeTable_args = function(args) {
   this.table = null;
+  this.deleteIndexFiles = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.deleteIndexFiles !== undefined) {
+      this.deleteIndexFiles = args.deleteIndexFiles;
+    }
   }
 };
-Blur_shardServerLayout_args.prototype = {};
-Blur_shardServerLayout_args.prototype.read = function(input) {
+Blur_removeTable_args.prototype = {};
+Blur_removeTable_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -424,9 +374,13 @@ Blur_shardServerLayout_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.BOOL) {
+        this.deleteIndexFiles = input.readBool().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -436,36 +390,37 @@ Blur_shardServerLayout_args.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerLayout_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerLayout_args');
+Blur_removeTable_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_removeTable_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.deleteIndexFiles !== null && this.deleteIndexFiles !== undefined) {
+    output.writeFieldBegin('deleteIndexFiles', Thrift.Type.BOOL, 2);
+    output.writeBool(this.deleteIndexFiles);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_shardServerLayout_result = function(args) {
-  this.success = null;
+Blur_removeTable_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_shardServerLayout_result.prototype = {};
-Blur_shardServerLayout_result.prototype.read = function(input) {
+Blur_removeTable_result.prototype = {};
+Blur_removeTable_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -478,35 +433,6 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.MAP) {
-        var _size222 = 0;
-        var _rtmp3226;
-        this.success = {};
-        var _ktype223 = 0;
-        var _vtype224 = 0;
-        _rtmp3226 = input.readMapBegin();
-        _ktype223 = _rtmp3226.ktype;
-        _vtype224 = _rtmp3226.vtype;
-        _size222 = _rtmp3226.size;
-        for (var _i227 = 0; _i227 < _size222; ++_i227)
-        {
-          if (_i227 > 0 ) {
-            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
-              input.rstack.pop();
-            }
-          }
-          var key228 = null;
-          var val229 = null;
-          key228 = input.readString().value;
-          val229 = input.readString().value;
-          this.success[key228] = val229;
-        }
-        input.readMapEnd();
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -515,6 +441,9 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -524,23 +453,8 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerLayout_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerLayout_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.MAP, 0);
-    output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.STRING, Thrift.objectLength(this.success));
-    for (var kiter230 in this.success)
-    {
-      if (this.success.hasOwnProperty(kiter230))
-      {
-        var viter231 = this.success[kiter230];
-        output.writeString(kiter230);
-        output.writeString(viter231);
-      }
-    }
-    output.writeMapEnd();
-    output.writeFieldEnd();
-  }
+Blur_removeTable_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_removeTable_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -551,16 +465,20 @@ Blur_shardServerLayout_result.prototype.write = function(output) {
   return;
 };
 
-Blur_shardServerLayoutState_args = function(args) {
+Blur_addColumnDefinition_args = function(args) {
   this.table = null;
+  this.columnDefinition = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.columnDefinition !== undefined) {
+      this.columnDefinition = args.columnDefinition;
+    }
   }
 };
-Blur_shardServerLayoutState_args.prototype = {};
-Blur_shardServerLayoutState_args.prototype.read = function(input) {
+Blur_addColumnDefinition_args.prototype = {};
+Blur_addColumnDefinition_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -580,9 +498,14 @@ Blur_shardServerLayoutState_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.columnDefinition = new ColumnDefinition();
+        this.columnDefinition.read(input);
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -592,19 +515,24 @@ Blur_shardServerLayoutState_args.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerLayoutState_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerLayoutState_args');
+Blur_addColumnDefinition_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_addColumnDefinition_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.columnDefinition !== null && this.columnDefinition !== undefined) {
+    output.writeFieldBegin('columnDefinition', Thrift.Type.STRUCT, 2);
+    this.columnDefinition.write(output);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_shardServerLayoutState_result = function(args) {
+Blur_addColumnDefinition_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -617,70 +545,26 @@ Blur_shardServerLayoutState_result = function(args) {
     }
     if (args.ex !== undefined) {
       this.ex = args.ex;
-    }
-  }
-};
-Blur_shardServerLayoutState_result.prototype = {};
-Blur_shardServerLayoutState_result.prototype.read = function(input) {
-  input.readStructBegin();
-  while (true)
-  {
-    var ret = input.readFieldBegin();
-    var fname = ret.fname;
-    var ftype = ret.ftype;
-    var fid = ret.fid;
-    if (ftype == Thrift.Type.STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 0:
-      if (ftype == Thrift.Type.MAP) {
-        var _size232 = 0;
-        var _rtmp3236;
-        this.success = {};
-        var _ktype233 = 0;
-        var _vtype234 = 0;
-        _rtmp3236 = input.readMapBegin();
-        _ktype233 = _rtmp3236.ktype;
-        _vtype234 = _rtmp3236.vtype;
-        _size232 = _rtmp3236.size;
-        for (var _i237 = 0; _i237 < _size232; ++_i237)
-        {
-          if (_i237 > 0 ) {
-            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
-              input.rstack.pop();
-            }
-          }
-          var key238 = null;
-          var val239 = null;
-          key238 = input.readString().value;
-          var _size240 = 0;
-          var _rtmp3244;
-          val239 = {};
-          var _ktype241 = 0;
-          var _vtype242 = 0;
-          _rtmp3244 = input.readMapBegin();
-          _ktype241 = _rtmp3244.ktype;
-          _vtype242 = _rtmp3244.vtype;
-          _size240 = _rtmp3244.size;
-          for (var _i245 = 0; _i245 < _size240; ++_i245)
-          {
-            if (_i245 > 0 ) {
-              if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
-                input.rstack.pop();
-              }
-            }
-            var key246 = null;
-            var val247 = null;
-            key246 = input.readString().value;
-            val247 = input.readI32().value;
-            val239[key246] = val247;
-          }
-          input.readMapEnd();
-          this.success[key238] = val239;
-        }
-        input.readMapEnd();
+    }
+  }
+};
+Blur_addColumnDefinition_result.prototype = {};
+Blur_addColumnDefinition_result.prototype.read = function(input) {
+  input.readStructBegin();
+  while (true)
+  {
+    var ret = input.readFieldBegin();
+    var fname = ret.fname;
+    var ftype = ret.ftype;
+    var fid = ret.fid;
+    if (ftype == Thrift.Type.STOP) {
+      break;
+    }
+    switch (fid)
+    {
+      case 0:
+      if (ftype == Thrift.Type.BOOL) {
+        this.success = input.readBool().value;
       } else {
         input.skip(ftype);
       }
@@ -702,31 +586,11 @@ Blur_shardServerLayoutState_result.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerLayoutState_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerLayoutState_result');
+Blur_addColumnDefinition_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_addColumnDefinition_result');
   if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.MAP, 0);
-    output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.MAP, Thrift.objectLength(this.success));
-    for (var kiter248 in this.success)
-    {
-      if (this.success.hasOwnProperty(kiter248))
-      {
-        var viter249 = this.success[kiter248];
-        output.writeString(kiter248);
-        output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.I32, Thrift.objectLength(viter249));
-        for (var kiter250 in viter249)
-        {
-          if (viter249.hasOwnProperty(kiter250))
-          {
-            var viter251 = viter249[kiter250];
-            output.writeString(kiter250);
-            output.writeI32(viter251);
-          }
-        }
-        output.writeMapEnd();
-      }
-    }
-    output.writeMapEnd();
+    output.writeFieldBegin('success', Thrift.Type.BOOL, 0);
+    output.writeBool(this.success);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -799,18 +663,18 @@ Blur_tableList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size252 = 0;
-        var _rtmp3256;
+        var _size198 = 0;
+        var _rtmp3202;
         this.success = [];
-        var _etype255 = 0;
-        _rtmp3256 = input.readListBegin();
-        _etype255 = _rtmp3256.etype;
-        _size252 = _rtmp3256.size;
-        for (var _i257 = 0; _i257 < _size252; ++_i257)
+        var _etype201 = 0;
+        _rtmp3202 = input.readListBegin();
+        _etype201 = _rtmp3202.etype;
+        _size198 = _rtmp3202.size;
+        for (var _i203 = 0; _i203 < _size198; ++_i203)
         {
-          var elem258 = null;
-          elem258 = input.readString().value;
-          this.success.push(elem258);
+          var elem204 = null;
+          elem204 = input.readString().value;
+          this.success.push(elem204);
         }
         input.readListEnd();
       } else {
@@ -839,12 +703,12 @@ Blur_tableList_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter259 in this.success)
+    for (var iter205 in this.success)
     {
-      if (this.success.hasOwnProperty(iter259))
+      if (this.success.hasOwnProperty(iter205))
       {
-        iter259 = this.success[iter259];
-        output.writeString(iter259);
+        iter205 = this.success[iter205];
+        output.writeString(iter205);
       }
     }
     output.writeListEnd();
@@ -945,18 +809,18 @@ Blur_tableListByCluster_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size260 = 0;
-        var _rtmp3264;
+        var _size206 = 0;
+        var _rtmp3210;
         this.success = [];
-        var _etype263 = 0;
-        _rtmp3264 = input.readListBegin();
-        _etype263 = _rtmp3264.etype;
-        _size260 = _rtmp3264.size;
-        for (var _i265 = 0; _i265 < _size260; ++_i265)
+        var _etype209 = 0;
+        _rtmp3210 = input.readListBegin();
+        _etype209 = _rtmp3210.etype;
+        _size206 = _rtmp3210.size;
+        for (var _i211 = 0; _i211 < _size206; ++_i211)
         {
-          var elem266 = null;
-          elem266 = input.readString().value;
-          this.success.push(elem266);
+          var elem212 = null;
+          elem212 = input.readString().value;
+          this.success.push(elem212);
         }
         input.readListEnd();
       } else {
@@ -985,12 +849,12 @@ Blur_tableListByCluster_result.prototype.write = function(output) {
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.LIST, 0);
     output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter267 in this.success)
+    for (var iter213 in this.success)
     {
-      if (this.success.hasOwnProperty(iter267))
+      if (this.success.hasOwnProperty(iter213))
       {
-        iter267 = this.success[iter267];
-        output.writeString(iter267);
+        iter213 = this.success[iter213];
+        output.writeString(iter213);
       }
     }
     output.writeListEnd();
@@ -1131,20 +995,16 @@ Blur_describe_result.prototype.write = function(output) {
   return;
 };
 
-Blur_query_args = function(args) {
+Blur_schema_args = function(args) {
   this.table = null;
-  this.blurQuery = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.blurQuery !== undefined) {
-      this.blurQuery = args.blurQuery;
-    }
   }
 };
-Blur_query_args.prototype = {};
-Blur_query_args.prototype.read = function(input) {
+Blur_schema_args.prototype = {};
+Blur_schema_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1164,14 +1024,9 @@ Blur_query_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 2:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.blurQuery = new BlurQuery();
-        this.blurQuery.read(input);
-      } else {
+      case 0:
         input.skip(ftype);
-      }
-      break;
+        break;
       default:
         input.skip(ftype);
     }
@@ -1181,24 +1036,19 @@ Blur_query_args.prototype.read = function(input) {
   return;
 };
 
-Blur_query_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_query_args');
+Blur_schema_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_schema_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
-  if (this.blurQuery !== null && this.blurQuery !== undefined) {
-    output.writeFieldBegin('blurQuery', Thrift.Type.STRUCT, 2);
-    this.blurQuery.write(output);
-    output.writeFieldEnd();
-  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_query_result = function(args) {
+Blur_schema_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -1214,8 +1064,8 @@ Blur_query_result = function(args) {
     }
   }
 };
-Blur_query_result.prototype = {};
-Blur_query_result.prototype.read = function(input) {
+Blur_schema_result.prototype = {};
+Blur_schema_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1230,7 +1080,7 @@ Blur_query_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.STRUCT) {
-        this.success = new BlurResults();
+        this.success = new Schema();
         this.success.read(input);
       } else {
         input.skip(ftype);
@@ -1253,8 +1103,8 @@ Blur_query_result.prototype.read = function(input) {
   return;
 };
 
-Blur_query_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_query_result');
+Blur_schema_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_schema_result');
   if (this.success !== null && this.success !== undefined) {
     output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
     this.success.write(output);
@@ -1408,131 +1258,7 @@ Blur_parseQuery_result.prototype.write = function(output) {
   return;
 };
 
-Blur_cancelQuery_args = function(args) {
-  this.table = null;
-  this.uuid = null;
-  if (args) {
-    if (args.table !== undefined) {
-      this.table = args.table;
-    }
-    if (args.uuid !== undefined) {
-      this.uuid = args.uuid;
-    }
-  }
-};
-Blur_cancelQuery_args.prototype = {};
-Blur_cancelQuery_args.prototype.read = function(input) {
-  input.readStructBegin();
-  while (true)
-  {
-    var ret = input.readFieldBegin();
-    var fname = ret.fname;
-    var ftype = ret.ftype;
-    var fid = ret.fid;
-    if (ftype == Thrift.Type.STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-      if (ftype == Thrift.Type.STRING) {
-        this.table = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 2:
-      if (ftype == Thrift.Type.I64) {
-        this.uuid = input.readI64().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      default:
-        input.skip(ftype);
-    }
-    input.readFieldEnd();
-  }
-  input.readStructEnd();
-  return;
-};
-
-Blur_cancelQuery_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_cancelQuery_args');
-  if (this.table !== null && this.table !== undefined) {
-    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
-    output.writeString(this.table);
-    output.writeFieldEnd();
-  }
-  if (this.uuid !== null && this.uuid !== undefined) {
-    output.writeFieldBegin('uuid', Thrift.Type.I64, 2);
-    output.writeI64(this.uuid);
-    output.writeFieldEnd();
-  }
-  output.writeFieldStop();
-  output.writeStructEnd();
-  return;
-};
-
-Blur_cancelQuery_result = function(args) {
-  this.ex = null;
-  if (args instanceof BlurException) {
-    this.ex = args;
-    return;
-  }
-  if (args) {
-    if (args.ex !== undefined) {
-      this.ex = args.ex;
-    }
-  }
-};
-Blur_cancelQuery_result.prototype = {};
-Blur_cancelQuery_result.prototype.read = function(input) {
-  input.readStructBegin();
-  while (true)
-  {
-    var ret = input.readFieldBegin();
-    var fname = ret.fname;
-    var ftype = ret.ftype;
-    var fid = ret.fid;
-    if (ftype == Thrift.Type.STOP) {
-      break;
-    }
-    switch (fid)
-    {
-      case 1:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.ex = new BlurException();
-        this.ex.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 0:
-        input.skip(ftype);
-        break;
-      default:
-        input.skip(ftype);
-    }
-    input.readFieldEnd();
-  }
-  input.readStructEnd();
-  return;
-};
-
-Blur_cancelQuery_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_cancelQuery_result');
-  if (this.ex !== null && this.ex !== undefined) {
-    output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
-    this.ex.write(output);
-    output.writeFieldEnd();
-  }
-  output.writeFieldStop();
-  output.writeStructEnd();
-  return;
-};
-
-Blur_queryStatusIdList_args = function(args) {
+Blur_tableStats_args = function(args) {
   this.table = null;
   if (args) {
     if (args.table !== undefined) {
@@ -1540,8 +1266,8 @@ Blur_queryStatusIdList_args = function(args) {
     }
   }
 };
-Blur_queryStatusIdList_args.prototype = {};
-Blur_queryStatusIdList_args.prototype.read = function(input) {
+Blur_tableStats_args.prototype = {};
+Blur_tableStats_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1573,8 +1299,8 @@ Blur_queryStatusIdList_args.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusIdList_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusIdList_args');
+Blur_tableStats_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_tableStats_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
@@ -1585,7 +1311,7 @@ Blur_queryStatusIdList_args.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusIdList_result = function(args) {
+Blur_tableStats_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -1601,8 +1327,8 @@ Blur_queryStatusIdList_result = function(args) {
     }
   }
 };
-Blur_queryStatusIdList_result.prototype = {};
-Blur_queryStatusIdList_result.prototype.read = function(input) {
+Blur_tableStats_result.prototype = {};
+Blur_tableStats_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1616,21 +1342,9 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size268 = 0;
-        var _rtmp3272;
-        this.success = [];
-        var _etype271 = 0;
-        _rtmp3272 = input.readListBegin();
-        _etype271 = _rtmp3272.etype;
-        _size268 = _rtmp3272.size;
-        for (var _i273 = 0; _i273 < _size268; ++_i273)
-        {
-          var elem274 = null;
-          elem274 = input.readI64().value;
-          this.success.push(elem274);
-        }
-        input.readListEnd();
+      if (ftype == Thrift.Type.STRUCT) {
+        this.success = new TableStats();
+        this.success.read(input);
       } else {
         input.skip(ftype);
       }
@@ -1652,20 +1366,11 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusIdList_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusIdList_result');
+Blur_tableStats_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_tableStats_result');
   if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
-    output.writeListBegin(Thrift.Type.I64, this.success.length);
-    for (var iter275 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter275))
-      {
-        iter275 = this.success[iter275];
-        output.writeI64(iter275);
-      }
-    }
-    output.writeListEnd();
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -1678,20 +1383,20 @@ Blur_queryStatusIdList_result.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusById_args = function(args) {
+Blur_optimize_args = function(args) {
   this.table = null;
-  this.uuid = null;
+  this.numberOfSegmentsPerShard = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.uuid !== undefined) {
-      this.uuid = args.uuid;
+    if (args.numberOfSegmentsPerShard !== undefined) {
+      this.numberOfSegmentsPerShard = args.numberOfSegmentsPerShard;
     }
   }
 };
-Blur_queryStatusById_args.prototype = {};
-Blur_queryStatusById_args.prototype.read = function(input) {
+Blur_optimize_args.prototype = {};
+Blur_optimize_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1712,8 +1417,8 @@ Blur_queryStatusById_args.prototype.read = function(input) {
       }
       break;
       case 2:
-      if (ftype == Thrift.Type.I64) {
-        this.uuid = input.readI64().value;
+      if (ftype == Thrift.Type.I32) {
+        this.numberOfSegmentsPerShard = input.readI32().value;
       } else {
         input.skip(ftype);
       }
@@ -1727,16 +1432,16 @@ Blur_queryStatusById_args.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusById_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusById_args');
+Blur_optimize_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_optimize_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
-  if (this.uuid !== null && this.uuid !== undefined) {
-    output.writeFieldBegin('uuid', Thrift.Type.I64, 2);
-    output.writeI64(this.uuid);
+  if (this.numberOfSegmentsPerShard !== null && this.numberOfSegmentsPerShard !== undefined) {
+    output.writeFieldBegin('numberOfSegmentsPerShard', Thrift.Type.I32, 2);
+    output.writeI32(this.numberOfSegmentsPerShard);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -1744,24 +1449,20 @@ Blur_queryStatusById_args.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusById_result = function(args) {
-  this.success = null;
+Blur_optimize_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_queryStatusById_result.prototype = {};
-Blur_queryStatusById_result.prototype.read = function(input) {
+Blur_optimize_result.prototype = {};
+Blur_optimize_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1774,14 +1475,6 @@ Blur_queryStatusById_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.success = new BlurQueryStatus();
-        this.success.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -1790,6 +1483,9 @@ Blur_queryStatusById_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -1799,13 +1495,8 @@ Blur_queryStatusById_result.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusById_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusById_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
-    this.success.write(output);
-    output.writeFieldEnd();
-  }
+Blur_optimize_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_optimize_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -1816,16 +1507,20 @@ Blur_queryStatusById_result.prototype.write = function(output) {
   return;
 };
 
-Blur_schema_args = function(args) {
+Blur_createSnapshot_args = function(args) {
   this.table = null;
+  this.name = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
   }
 };
-Blur_schema_args.prototype = {};
-Blur_schema_args.prototype.read = function(input) {
+Blur_createSnapshot_args.prototype = {};
+Blur_createSnapshot_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1845,9 +1540,13 @@ Blur_schema_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.name = input.readString().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -1857,36 +1556,37 @@ Blur_schema_args.prototype.read = function(input) {
   return;
 };
 
-Blur_schema_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_schema_args');
+Blur_createSnapshot_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_createSnapshot_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.name !== null && this.name !== undefined) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 2);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_schema_result = function(args) {
-  this.success = null;
+Blur_createSnapshot_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_schema_result.prototype = {};
-Blur_schema_result.prototype.read = function(input) {
+Blur_createSnapshot_result.prototype = {};
+Blur_createSnapshot_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1899,14 +1599,6 @@ Blur_schema_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.success = new Schema();
-        this.success.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -1915,6 +1607,9 @@ Blur_schema_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -1924,13 +1619,8 @@ Blur_schema_result.prototype.read = function(input) {
   return;
 };
 
-Blur_schema_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_schema_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
-    this.success.write(output);
-    output.writeFieldEnd();
-  }
+Blur_createSnapshot_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_createSnapshot_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -1941,16 +1631,20 @@ Blur_schema_result.prototype.write = function(output) {
   return;
 };
 
-Blur_tableStats_args = function(args) {
+Blur_removeSnapshot_args = function(args) {
   this.table = null;
+  this.name = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
   }
 };
-Blur_tableStats_args.prototype = {};
-Blur_tableStats_args.prototype.read = function(input) {
+Blur_removeSnapshot_args.prototype = {};
+Blur_removeSnapshot_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1970,9 +1664,13 @@ Blur_tableStats_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.name = input.readString().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -1982,36 +1680,37 @@ Blur_tableStats_args.prototype.read = function(input) {
   return;
 };
 
-Blur_tableStats_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_tableStats_args');
+Blur_removeSnapshot_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_removeSnapshot_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.name !== null && this.name !== undefined) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 2);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_tableStats_result = function(args) {
-  this.success = null;
+Blur_removeSnapshot_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
-    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_tableStats_result.prototype = {};
-Blur_tableStats_result.prototype.read = function(input) {
+Blur_removeSnapshot_result.prototype = {};
+Blur_removeSnapshot_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2024,14 +1723,6 @@ Blur_tableStats_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.success = new TableStats();
-        this.success.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -2040,6 +1731,9 @@ Blur_tableStats_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -2049,13 +1743,8 @@ Blur_tableStats_result.prototype.read = function(input) {
   return;
 };
 
-Blur_tableStats_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_tableStats_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
-    this.success.write(output);
-    output.writeFieldEnd();
-  }
+Blur_removeSnapshot_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_removeSnapshot_result');
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -2066,32 +1755,16 @@ Blur_tableStats_result.prototype.write = function(output) {
   return;
 };
 
-Blur_terms_args = function(args) {
+Blur_listSnapshots_args = function(args) {
   this.table = null;
-  this.columnFamily = null;
-  this.columnName = null;
-  this.startWith = null;
-  this.size = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.columnFamily !== undefined) {
-      this.columnFamily = args.columnFamily;
-    }
-    if (args.columnName !== undefined) {
-      this.columnName = args.columnName;
-    }
-    if (args.startWith !== undefined) {
-      this.startWith = args.startWith;
-    }
-    if (args.size !== undefined) {
-      this.size = args.size;
-    }
   }
 };
-Blur_terms_args.prototype = {};
-Blur_terms_args.prototype.read = function(input) {
+Blur_listSnapshots_args.prototype = {};
+Blur_listSnapshots_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2111,34 +1784,9 @@ Blur_terms_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 2:
-      if (ftype == Thrift.Type.STRING) {
-        this.columnFamily = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 3:
-      if (ftype == Thrift.Type.STRING) {
-        this.columnName = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 4:
-      if (ftype == Thrift.Type.STRING) {
-        this.startWith = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 5:
-      if (ftype == Thrift.Type.I16) {
-        this.size = input.readI16().value;
-      } else {
+      case 0:
         input.skip(ftype);
-      }
-      break;
+        break;
       default:
         input.skip(ftype);
     }
@@ -2148,39 +1796,19 @@ Blur_terms_args.prototype.read = function(input) {
   return;
 };
 
-Blur_terms_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_terms_args');
+Blur_listSnapshots_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_listSnapshots_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
-  if (this.columnFamily !== null && this.columnFamily !== undefined) {
-    output.writeFieldBegin('columnFamily', Thrift.Type.STRING, 2);
-    output.writeString(this.columnFamily);
-    output.writeFieldEnd();
-  }
-  if (this.columnName !== null && this.columnName !== undefined) {
-    output.writeFieldBegin('columnName', Thrift.Type.STRING, 3);
-    output.writeString(this.columnName);
-    output.writeFieldEnd();
-  }
-  if (this.startWith !== null && this.startWith !== undefined) {
-    output.writeFieldBegin('startWith', Thrift.Type.STRING, 4);
-    output.writeString(this.startWith);
-    output.writeFieldEnd();
-  }
-  if (this.size !== null && this.size !== undefined) {
-    output.writeFieldBegin('size', Thrift.Type.I16, 5);
-    output.writeI16(this.size);
-    output.writeFieldEnd();
-  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_terms_result = function(args) {
+Blur_listSnapshots_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -2196,8 +1824,8 @@ Blur_terms_result = function(args) {
     }
   }
 };
-Blur_terms_result.prototype = {};
-Blur_terms_result.prototype.read = function(input) {
+Blur_listSnapshots_result.prototype = {};
+Blur_listSnapshots_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2211,21 +1839,43 @@ Blur_terms_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size276 = 0;
-        var _rtmp3280;
-        this.success = [];
-        var _etype279 = 0;
-        _rtmp3280 = input.readListBegin();
-        _etype279 = _rtmp3280.etype;
-        _size276 = _rtmp3280.size;
-        for (var _i281 = 0; _i281 < _size276; ++_i281)
+      if (ftype == Thrift.Type.MAP) {
+        var _size214 = 0;
+        var _rtmp3218;
+        this.success = {};
+        var _ktype215 = 0;
+        var _vtype216 = 0;
+        _rtmp3218 = input.readMapBegin();
+        _ktype215 = _rtmp3218.ktype;
+        _vtype216 = _rtmp3218.vtype;
+        _size214 = _rtmp3218.size;
+        for (var _i219 = 0; _i219 < _size214; ++_i219)
         {
-          var elem282 = null;
-          elem282 = input.readString().value;
-          this.success.push(elem282);
+          if (_i219 > 0 ) {
+            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
+              input.rstack.pop();
+            }
+          }
+          var key220 = null;
+          var val221 = null;
+          key220 = input.readString().value;
+          var _size222 = 0;
+          var _rtmp3226;
+          val221 = [];
+          var _etype225 = 0;
+          _rtmp3226 = input.readListBegin();
+          _etype225 = _rtmp3226.etype;
+          _size222 = _rtmp3226.size;
+          for (var _i227 = 0; _i227 < _size222; ++_i227)
+          {
+            var elem228 = null;
+            elem228 = input.readString().value;
+            val221.push(elem228);
+          }
+          input.readListEnd();
+          this.success[key220] = val221;
         }
-        input.readListEnd();
+        input.readMapEnd();
       } else {
         input.skip(ftype);
       }
@@ -2247,20 +1897,30 @@ Blur_terms_result.prototype.read = function(input) {
   return;
 };
 
-Blur_terms_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_terms_result');
+Blur_listSnapshots_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_listSnapshots_result');
   if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
-    output.writeListBegin(Thrift.Type.STRING, this.success.length);
-    for (var iter283 in this.success)
+    output.writeFieldBegin('success', Thrift.Type.MAP, 0);
+    output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.success));
+    for (var kiter229 in this.success)
     {
-      if (this.success.hasOwnProperty(iter283))
+      if (this.success.hasOwnProperty(kiter229))
       {
-        iter283 = this.success[iter283];
-        output.writeString(iter283);
+        var viter230 = this.success[kiter229];
+        output.writeString(kiter229);
+        output.writeListBegin(Thrift.Type.STRING, viter230.length);
+        for (var iter231 in viter230)
+        {
+          if (viter230.hasOwnProperty(iter231))
+          {
+            iter231 = viter230[iter231];
+            output.writeString(iter231);
+          }
+        }
+        output.writeListEnd();
       }
     }
-    output.writeListEnd();
+    output.writeMapEnd();
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -2273,28 +1933,20 @@ Blur_terms_result.prototype.write = function(output) {
   return;
 };
 
-Blur_recordFrequency_args = function(args) {
+Blur_query_args = function(args) {
   this.table = null;
-  this.columnFamily = null;
-  this.columnName = null;
-  this.value = null;
+  this.blurQuery = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.columnFamily !== undefined) {
-      this.columnFamily = args.columnFamily;
-    }
-    if (args.columnName !== undefined) {
-      this.columnName = args.columnName;
-    }
-    if (args.value !== undefined) {
-      this.value = args.value;
+    if (args.blurQuery !== undefined) {
+      this.blurQuery = args.blurQuery;
     }
   }
 };
-Blur_recordFrequency_args.prototype = {};
-Blur_recordFrequency_args.prototype.read = function(input) {
+Blur_query_args.prototype = {};
+Blur_query_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2315,22 +1967,9 @@ Blur_recordFrequency_args.prototype.read = function(input) {
       }
       break;
       case 2:
-      if (ftype == Thrift.Type.STRING) {
-        this.columnFamily = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 3:
-      if (ftype == Thrift.Type.STRING) {
-        this.columnName = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 4:
-      if (ftype == Thrift.Type.STRING) {
-        this.value = input.readString().value;
+      if (ftype == Thrift.Type.STRUCT) {
+        this.blurQuery = new BlurQuery();
+        this.blurQuery.read(input);
       } else {
         input.skip(ftype);
       }
@@ -2344,26 +1983,16 @@ Blur_recordFrequency_args.prototype.read = function(input) {
   return;
 };
 
-Blur_recordFrequency_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_recordFrequency_args');
+Blur_query_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_query_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
-  if (this.columnFamily !== null && this.columnFamily !== undefined) {
-    output.writeFieldBegin('columnFamily', Thrift.Type.STRING, 2);
-    output.writeString(this.columnFamily);
-    output.writeFieldEnd();
-  }
-  if (this.columnName !== null && this.columnName !== undefined) {
-    output.writeFieldBegin('columnName', Thrift.Type.STRING, 3);
-    output.writeString(this.columnName);
-    output.writeFieldEnd();
-  }
-  if (this.value !== null && this.value !== undefined) {
-    output.writeFieldBegin('value', Thrift.Type.STRING, 4);
-    output.writeString(this.value);
+  if (this.blurQuery !== null && this.blurQuery !== undefined) {
+    output.writeFieldBegin('blurQuery', Thrift.Type.STRUCT, 2);
+    this.blurQuery.write(output);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -2371,7 +2000,7 @@ Blur_recordFrequency_args.prototype.write = function(output) {
   return;
 };
 
-Blur_recordFrequency_result = function(args) {
+Blur_query_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -2387,8 +2016,8 @@ Blur_recordFrequency_result = function(args) {
     }
   }
 };
-Blur_recordFrequency_result.prototype = {};
-Blur_recordFrequency_result.prototype.read = function(input) {
+Blur_query_result.prototype = {};
+Blur_query_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2402,8 +2031,9 @@ Blur_recordFrequency_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.I64) {
-        this.success = input.readI64().value;
+      if (ftype == Thrift.Type.STRUCT) {
+        this.success = new BlurResults();
+        this.success.read(input);
       } else {
         input.skip(ftype);
       }
@@ -2425,11 +2055,11 @@ Blur_recordFrequency_result.prototype.read = function(input) {
   return;
 };
 
-Blur_recordFrequency_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_recordFrequency_result');
+Blur_query_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_query_result');
   if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.I64, 0);
-    output.writeI64(this.success);
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -2717,19 +2347,19 @@ Blur_mutateBatch_args.prototype.read = function(input) {
     {
       case 1:
       if (ftype == Thrift.Type.LIST) {
-        var _size284 = 0;
-        var _rtmp3288;
+        var _size232 = 0;
+        var _rtmp3236;
         this.mutations = [];
-        var _etype287 = 0;
-        _rtmp3288 = input.readListBegin();
-        _etype287 = _rtmp3288.etype;
-        _size284 = _rtmp3288.size;
-        for (var _i289 = 0; _i289 < _size284; ++_i289)
+        var _etype235 = 0;
+        _rtmp3236 = input.readListBegin();
+        _etype235 = _rtmp3236.etype;
+        _size232 = _rtmp3236.size;
+        for (var _i237 = 0; _i237 < _size232; ++_i237)
         {
-          var elem290 = null;
-          elem290 = new RowMutation();
-          elem290.read(input);
-          this.mutations.push(elem290);
+          var elem238 = null;
+          elem238 = new RowMutation();
+          elem238.read(input);
+          this.mutations.push(elem238);
         }
         input.readListEnd();
       } else {
@@ -2753,12 +2383,12 @@ Blur_mutateBatch_args.prototype.write = function(output) {
   if (this.mutations !== null && this.mutations !== undefined) {
     output.writeFieldBegin('mutations', Thrift.Type.LIST, 1);
     output.writeListBegin(Thrift.Type.STRUCT, this.mutations.length);
-    for (var iter291 in this.mutations)
+    for (var iter239 in this.mutations)
     {
-      if (this.mutations.hasOwnProperty(iter291))
+      if (this.mutations.hasOwnProperty(iter239))
       {
-        iter291 = this.mutations[iter291];
-        iter291.write(output);
+        iter239 = this.mutations[iter239];
+        iter239.write(output);
       }
     }
     output.writeListEnd();
@@ -2827,16 +2457,86 @@ Blur_mutateBatch_result.prototype.write = function(output) {
   return;
 };
 
-Blur_createTable_args = function(args) {
-  this.tableDescriptor = null;
+Blur_cancelQuery_args = function(args) {
+  this.table = null;
+  this.uuid = null;
   if (args) {
-    if (args.tableDescriptor !== undefined) {
-      this.tableDescriptor = args.tableDescriptor;
+    if (args.table !== undefined) {
+      this.table = args.table;
+    }
+    if (args.uuid !== undefined) {
+      this.uuid = args.uuid;
     }
   }
 };
-Blur_createTable_args.prototype = {};
-Blur_createTable_args.prototype.read = function(input) {
+Blur_cancelQuery_args.prototype = {};
+Blur_cancelQuery_args.prototype.read = function(input) {
+  input.readStructBegin();
+  while (true)
+  {
+    var ret = input.readFieldBegin();
+    var fname = ret.fname;
+    var ftype = ret.ftype;
+    var fid = ret.fid;
+    if (ftype == Thrift.Type.STOP) {
+      break;
+    }
+    switch (fid)
+    {
+      case 1:
+      if (ftype == Thrift.Type.STRING) {
+        this.table = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.I64) {
+        this.uuid = input.readI64().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      default:
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Blur_cancelQuery_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_cancelQuery_args');
+  if (this.table !== null && this.table !== undefined) {
+    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
+    output.writeString(this.table);
+    output.writeFieldEnd();
+  }
+  if (this.uuid !== null && this.uuid !== undefined) {
+    output.writeFieldBegin('uuid', Thrift.Type.I64, 2);
+    output.writeI64(this.uuid);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+Blur_cancelQuery_result = function(args) {
+  this.ex = null;
+  if (args instanceof BlurException) {
+    this.ex = args;
+    return;
+  }
+  if (args) {
+    if (args.ex !== undefined) {
+      this.ex = args.ex;
+    }
+  }
+};
+Blur_cancelQuery_result.prototype = {};
+Blur_cancelQuery_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2851,8 +2551,61 @@ Blur_createTable_args.prototype.read = function(input) {
     {
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
-        this.tableDescriptor = new TableDescriptor();
-        this.tableDescriptor.read(input);
+        this.ex = new BlurException();
+        this.ex.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
+      default:
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Blur_cancelQuery_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_cancelQuery_result');
+  if (this.ex !== null && this.ex !== undefined) {
+    output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
+    this.ex.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+Blur_queryStatusIdList_args = function(args) {
+  this.table = null;
+  if (args) {
+    if (args.table !== undefined) {
+      this.table = args.table;
+    }
+  }
+};
+Blur_queryStatusIdList_args.prototype = {};
+Blur_queryStatusIdList_args.prototype.read = function(input) {
+  input.readStructBegin();
+  while (true)
+  {
+    var ret = input.readFieldBegin();
+    var fname = ret.fname;
+    var ftype = ret.ftype;
+    var fid = ret.fid;
+    if (ftype == Thrift.Type.STOP) {
+      break;
+    }
+    switch (fid)
+    {
+      case 1:
+      if (ftype == Thrift.Type.STRING) {
+        this.table = input.readString().value;
       } else {
         input.skip(ftype);
       }
@@ -2869,11 +2622,11 @@ Blur_createTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_createTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_createTable_args');
-  if (this.tableDescriptor !== null && this.tableDescriptor !== undefined) {
-    output.writeFieldBegin('tableDescriptor', Thrift.Type.STRUCT, 1);
-    this.tableDescriptor.write(output);
+Blur_queryStatusIdList_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_queryStatusIdList_args');
+  if (this.table !== null && this.table !== undefined) {
+    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
+    output.writeString(this.table);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -2881,20 +2634,24 @@ Blur_createTable_args.prototype.write = function(output) {
   return;
 };
 
-Blur_createTable_result = function(args) {
+Blur_queryStatusIdList_result = function(args) {
+  this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
+    if (args.success !== undefined) {
+      this.success = args.success;
+    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_createTable_result.prototype = {};
-Blur_createTable_result.prototype.read = function(input) {
+Blur_queryStatusIdList_result.prototype = {};
+Blur_queryStatusIdList_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2907,6 +2664,26 @@ Blur_createTable_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.LIST) {
+        var _size240 = 0;
+        var _rtmp3244;
+        this.success = [];
+        var _etype243 = 0;
+        _rtmp3244 = input.readListBegin();
+        _etype243 = _rtmp3244.etype;
+        _size240 = _rtmp3244.size;
+        for (var _i245 = 0; _i245 < _size240; ++_i245)
+        {
+          var elem246 = null;
+          elem246 = input.readI64().value;
+          this.success.push(elem246);
+        }
+        input.readListEnd();
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -2915,9 +2692,6 @@ Blur_createTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -2927,8 +2701,22 @@ Blur_createTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_createTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_createTable_result');
+Blur_queryStatusIdList_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_queryStatusIdList_result');
+  if (this.success !== null && this.success !== undefined) {
+    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
+    output.writeListBegin(Thrift.Type.I64, this.success.length);
+    for (var iter247 in this.success)
+    {
+      if (this.success.hasOwnProperty(iter247))
+      {
+        iter247 = this.success[iter247];
+        output.writeI64(iter247);
+      }
+    }
+    output.writeListEnd();
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -2939,16 +2727,20 @@ Blur_createTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_enableTable_args = function(args) {
+Blur_queryStatusById_args = function(args) {
   this.table = null;
+  this.uuid = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.uuid !== undefined) {
+      this.uuid = args.uuid;
+    }
   }
 };
-Blur_enableTable_args.prototype = {};
-Blur_enableTable_args.prototype.read = function(input) {
+Blur_queryStatusById_args.prototype = {};
+Blur_queryStatusById_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2968,9 +2760,13 @@ Blur_enableTable_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.I64) {
+        this.uuid = input.readI64().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -2980,32 +2776,41 @@ Blur_enableTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_enableTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_enableTable_args');
+Blur_queryStatusById_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_queryStatusById_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.uuid !== null && this.uuid !== undefined) {
+    output.writeFieldBegin('uuid', Thrift.Type.I64, 2);
+    output.writeI64(this.uuid);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_enableTable_result = function(args) {
+Blur_queryStatusById_result = function(args) {
+  this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
+    if (args.success !== undefined) {
+      this.success = args.success;
+    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_enableTable_result.prototype = {};
-Blur_enableTable_result.prototype.read = function(input) {
+Blur_queryStatusById_result.prototype = {};
+Blur_queryStatusById_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3018,6 +2823,14 @@ Blur_enableTable_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.success = new BlurQueryStatus();
+        this.success.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -3026,9 +2839,6 @@ Blur_enableTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -3038,8 +2848,13 @@ Blur_enableTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_enableTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_enableTable_result');
+Blur_queryStatusById_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_queryStatusById_result');
+  if (this.success !== null && this.success !== undefined) {
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -3050,16 +2865,32 @@ Blur_enableTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_disableTable_args = function(args) {
+Blur_terms_args = function(args) {
   this.table = null;
+  this.columnFamily = null;
+  this.columnName = null;
+  this.startWith = null;
+  this.size = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.columnFamily !== undefined) {
+      this.columnFamily = args.columnFamily;
+    }
+    if (args.columnName !== undefined) {
+      this.columnName = args.columnName;
+    }
+    if (args.startWith !== undefined) {
+      this.startWith = args.startWith;
+    }
+    if (args.size !== undefined) {
+      this.size = args.size;
+    }
   }
 };
-Blur_disableTable_args.prototype = {};
-Blur_disableTable_args.prototype.read = function(input) {
+Blur_terms_args.prototype = {};
+Blur_terms_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3079,9 +2910,34 @@ Blur_disableTable_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.columnFamily = input.readString().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.STRING) {
+        this.columnName = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 4:
+      if (ftype == Thrift.Type.STRING) {
+        this.startWith = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 5:
+      if (ftype == Thrift.Type.I16) {
+        this.size = input.readI16().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -3091,32 +2947,56 @@ Blur_disableTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_disableTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_disableTable_args');
+Blur_terms_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_terms_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
+  if (this.columnFamily !== null && this.columnFamily !== undefined) {
+    output.writeFieldBegin('columnFamily', Thrift.Type.STRING, 2);
+    output.writeString(this.columnFamily);
+    output.writeFieldEnd();
+  }
+  if (this.columnName !== null && this.columnName !== undefined) {
+    output.writeFieldBegin('columnName', Thrift.Type.STRING, 3);
+    output.writeString(this.columnName);
+    output.writeFieldEnd();
+  }
+  if (this.startWith !== null && this.startWith !== undefined) {
+    output.writeFieldBegin('startWith', Thrift.Type.STRING, 4);
+    output.writeString(this.startWith);
+    output.writeFieldEnd();
+  }
+  if (this.size !== null && this.size !== undefined) {
+    output.writeFieldBegin('size', Thrift.Type.I16, 5);
+    output.writeI16(this.size);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_disableTable_result = function(args) {
+Blur_terms_result = function(args) {
+  this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
+    if (args.success !== undefined) {
+      this.success = args.success;
+    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_disableTable_result.prototype = {};
-Blur_disableTable_result.prototype.read = function(input) {
+Blur_terms_result.prototype = {};
+Blur_terms_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3129,6 +3009,26 @@ Blur_disableTable_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.LIST) {
+        var _size248 = 0;
+        var _rtmp3252;
+        this.success = [];
+        var _etype251 = 0;
+        _rtmp3252 = input.readListBegin();
+        _etype251 = _rtmp3252.etype;
+        _size248 = _rtmp3252.size;
+        for (var _i253 = 0; _i253 < _size248; ++_i253)
+        {
+          var elem254 = null;
+          elem254 = input.readString().value;
+          this.success.push(elem254);
+        }
+        input.readListEnd();
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -3137,9 +3037,6 @@ Blur_disableTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -3149,8 +3046,22 @@ Blur_disableTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_disableTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_disableTable_result');
+Blur_terms_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_terms_result');
+  if (this.success !== null && this.success !== undefined) {
+    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
+    output.writeListBegin(Thrift.Type.STRING, this.success.length);
+    for (var iter255 in this.success)
+    {
+      if (this.success.hasOwnProperty(iter255))
+      {
+        iter255 = this.success[iter255];
+        output.writeString(iter255);
+      }
+    }
+    output.writeListEnd();
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -3161,20 +3072,28 @@ Blur_disableTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_removeTable_args = function(args) {
+Blur_recordFrequency_args = function(args) {
   this.table = null;
-  this.deleteIndexFiles = null;
+  this.columnFamily = null;
+  this.columnName = null;
+  this.value = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.deleteIndexFiles !== undefined) {
-      this.deleteIndexFiles = args.deleteIndexFiles;
+    if (args.columnFamily !== undefined) {
+      this.columnFamily = args.columnFamily;
+    }
+    if (args.columnName !== undefined) {
+      this.columnName = args.columnName;
+    }
+    if (args.value !== undefined) {
+      this.value = args.value;
     }
   }
 };
-Blur_removeTable_args.prototype = {};
-Blur_removeTable_args.prototype.read = function(input) {
+Blur_recordFrequency_args.prototype = {};
+Blur_recordFrequency_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3184,19 +3103,33 @@ Blur_removeTable_args.prototype.read = function(input) {
     var fid = ret.fid;
     if (ftype == Thrift.Type.STOP) {
       break;
-    }
-    switch (fid)
-    {
-      case 1:
+    }
+    switch (fid)
+    {
+      case 1:
+      if (ftype == Thrift.Type.STRING) {
+        this.table = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.columnFamily = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      case 3:
       if (ftype == Thrift.Type.STRING) {
-        this.table = input.readString().value;
+        this.columnName = input.readString().value;
       } else {
         input.skip(ftype);
       }
       break;
-      case 2:
-      if (ftype == Thrift.Type.BOOL) {
-        this.deleteIndexFiles = input.readBool().value;
+      case 4:
+      if (ftype == Thrift.Type.STRING) {
+        this.value = input.readString().value;
       } else {
         input.skip(ftype);
       }
@@ -3210,16 +3143,26 @@ Blur_removeTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_removeTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_removeTable_args');
+Blur_recordFrequency_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_recordFrequency_args');
   if (this.table !== null && this.table !== undefined) {
     output.writeFieldBegin('table', Thrift.Type.STRING, 1);
     output.writeString(this.table);
     output.writeFieldEnd();
   }
-  if (this.deleteIndexFiles !== null && this.deleteIndexFiles !== undefined) {
-    output.writeFieldBegin('deleteIndexFiles', Thrift.Type.BOOL, 2);
-    output.writeBool(this.deleteIndexFiles);
+  if (this.columnFamily !== null && this.columnFamily !== undefined) {
+    output.writeFieldBegin('columnFamily', Thrift.Type.STRING, 2);
+    output.writeString(this.columnFamily);
+    output.writeFieldEnd();
+  }
+  if (this.columnName !== null && this.columnName !== undefined) {
+    output.writeFieldBegin('columnName', Thrift.Type.STRING, 3);
+    output.writeString(this.columnName);
+    output.writeFieldEnd();
+  }
+  if (this.value !== null && this.value !== undefined) {
+    output.writeFieldBegin('value', Thrift.Type.STRING, 4);
+    output.writeString(this.value);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -3227,20 +3170,24 @@ Blur_removeTable_args.prototype.write = function(output) {
   return;
 };
 
-Blur_removeTable_result = function(args) {
+Blur_recordFrequency_result = function(args) {
+  this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
     return;
   }
   if (args) {
+    if (args.success !== undefined) {
+      this.success = args.success;
+    }
     if (args.ex !== undefined) {
       this.ex = args.ex;
     }
   }
 };
-Blur_removeTable_result.prototype = {};
-Blur_removeTable_result.prototype.read = function(input) {
+Blur_recordFrequency_result.prototype = {};
+Blur_recordFrequency_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3253,6 +3200,13 @@ Blur_removeTable_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.I64) {
+        this.success = input.readI64().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -3261,9 +3215,6 @@ Blur_removeTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -3273,8 +3224,13 @@ Blur_removeTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_removeTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_removeTable_result');
+Blur_recordFrequency_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_recordFrequency_result');
+  if (this.success !== null && this.success !== undefined) {
+    output.writeFieldBegin('success', Thrift.Type.I64, 0);
+    output.writeI64(this.success);
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -3285,20 +3241,10 @@ Blur_removeTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_addColumnDefinition_args = function(args) {
-  this.table = null;
-  this.columnDefinition = null;
-  if (args) {
-    if (args.table !== undefined) {
-      this.table = args.table;
-    }
-    if (args.columnDefinition !== undefined) {
-      this.columnDefinition = args.columnDefinition;
-    }
-  }
+Blur_shardClusterList_args = function(args) {
 };
-Blur_addColumnDefinition_args.prototype = {};
-Blur_addColumnDefinition_args.prototype.read = function(input) {
+Blur_shardClusterList_args.prototype = {};
+Blur_shardClusterList_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3309,50 +3255,21 @@ Blur_addColumnDefinition_args.prototype.read = function(input) {
     if (ftype == Thrift.Type.STOP) {
       break;
     }
-    switch (fid)
-    {
-      case 1:
-      if (ftype == Thrift.Type.STRING) {
-        this.table = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 2:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.columnDefinition = new ColumnDefinition();
-        this.columnDefinition.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      default:
-        input.skip(ftype);
-    }
+    input.skip(ftype);
     input.readFieldEnd();
   }
   input.readStructEnd();
   return;
 };
 
-Blur_addColumnDefinition_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_addColumnDefinition_args');
-  if (this.table !== null && this.table !== undefined) {
-    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
-    output.writeString(this.table);
-    output.writeFieldEnd();
-  }
-  if (this.columnDefinition !== null && this.columnDefinition !== undefined) {
-    output.writeFieldBegin('columnDefinition', Thrift.Type.STRUCT, 2);
-    this.columnDefinition.write(output);
-    output.writeFieldEnd();
-  }
+Blur_shardClusterList_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_shardClusterList_args');
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_addColumnDefinition_result = function(args) {
+Blur_shardClusterList_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -3368,8 +3285,8 @@ Blur_addColumnDefinition_result = function(args) {
     }
   }
 };
-Blur_addColumnDefinition_result.prototype = {};
-Blur_addColumnDefinition_result.prototype.read = function(input) {
+Blur_shardClusterList_result.prototype = {};
+Blur_shardClusterList_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3383,8 +3300,21 @@ Blur_addColumnDefinition_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.BOOL) {
-        this.success = input.readBool().value;
+      if (ftype == Thrift.Type.LIST) {
+        var _size256 = 0;
+        var _rtmp3260;
+        this.success = [];
+        var _etype259 = 0;
+        _rtmp3260 = input.readListBegin();
+        _etype259 = _rtmp3260.etype;
+        _size256 = _rtmp3260.size;
+        for (var _i261 = 0; _i261 < _size256; ++_i261)
+        {
+          var elem262 = null;
+          elem262 = input.readString().value;
+          this.success.push(elem262);
+        }
+        input.readListEnd();
       } else {
         input.skip(ftype);
       }
@@ -3406,11 +3336,20 @@ Blur_addColumnDefinition_result.prototype.read = function(input) {
   return;
 };
 
-Blur_addColumnDefinition_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_addColumnDefinition_result');
+Blur_shardClusterList_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_shardClusterList_result');
   if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.BOOL, 0);
-    output.writeBool(this.success);
+    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
+    output.writeListBegin(Thrift.Type.STRING, thi

<TRUNCATED>

Mime
View raw message