incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [02/11] Updates to the status pages.
Date Mon, 02 Dec 2013 13:42:00 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c3376d82/blur-gui/src/main/webapp/js/Blur.js
----------------------------------------------------------------------
diff --git a/blur-gui/src/main/webapp/js/Blur.js b/blur-gui/src/main/webapp/js/Blur.js
index 36a8e27..25aed89 100644
--- a/blur-gui/src/main/webapp/js/Blur.js
+++ b/blur-gui/src/main/webapp/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 _size166 = 0;
-        var _rtmp3170;
-        this.success = [];
-        var _etype169 = 0;
-        _rtmp3170 = input.readListBegin();
-        _etype169 = _rtmp3170.etype;
-        _size166 = _rtmp3170.size;
-        for (var _i171 = 0; _i171 < _size166; ++_i171)
-        {
-          var elem172 = null;
-          elem172 = input.readString().value;
-          this.success.push(elem172);
-        }
-        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 iter173 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter173))
-      {
-        iter173 = this.success[iter173];
-        output.writeString(iter173);
-      }
-    }
-    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 _size174 = 0;
-        var _rtmp3178;
-        this.success = [];
-        var _etype177 = 0;
-        _rtmp3178 = input.readListBegin();
-        _etype177 = _rtmp3178.etype;
-        _size174 = _rtmp3178.size;
-        for (var _i179 = 0; _i179 < _size174; ++_i179)
-        {
-          var elem180 = null;
-          elem180 = input.readString().value;
-          this.success.push(elem180);
-        }
-        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 iter181 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter181))
-      {
-        iter181 = this.success[iter181];
-        output.writeString(iter181);
-      }
-    }
-    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 _size182 = 0;
-        var _rtmp3186;
-        this.success = [];
-        var _etype185 = 0;
-        _rtmp3186 = input.readListBegin();
-        _etype185 = _rtmp3186.etype;
-        _size182 = _rtmp3186.size;
-        for (var _i187 = 0; _i187 < _size182; ++_i187)
-        {
-          var elem188 = null;
-          elem188 = input.readString().value;
-          this.success.push(elem188);
-        }
-        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 iter189 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter189))
-      {
-        iter189 = this.success[iter189];
-        output.writeString(iter189);
-      }
-    }
-    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,31 +433,138 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 1:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.ex = new BlurException();
+        this.ex.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 0:
-      if (ftype == Thrift.Type.MAP) {
-        var _size190 = 0;
-        var _rtmp3194;
-        this.success = {};
-        var _ktype191 = 0;
-        var _vtype192 = 0;
-        _rtmp3194 = input.readMapBegin();
-        _ktype191 = _rtmp3194.ktype;
-        _vtype192 = _rtmp3194.vtype;
-        _size190 = _rtmp3194.size;
-        for (var _i195 = 0; _i195 < _size190; ++_i195)
-        {
-          if (_i195 > 0 ) {
-            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
-              input.rstack.pop();
-            }
-          }
-          var key196 = null;
-          var val197 = null;
-          key196 = input.readString().value;
-          val197 = input.readString().value;
-          this.success[key196] = val197;
-        }
-        input.readMapEnd();
+        input.skip(ftype);
+        break;
+      default:
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+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);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  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_addColumnDefinition_args.prototype = {};
+Blur_addColumnDefinition_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.STRUCT) {
+        this.columnDefinition = new ColumnDefinition();
+        this.columnDefinition.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      default:
+        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();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+Blur_addColumnDefinition_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_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);
       }
@@ -524,21 +586,11 @@ Blur_shardServerLayout_result.prototype.read = function(input) {
   return;
 };
 
-Blur_shardServerLayout_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_shardServerLayout_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.STRING, Thrift.objectLength(this.success));
-    for (var kiter198 in this.success)
-    {
-      if (this.success.hasOwnProperty(kiter198))
-      {
-        var viter199 = this.success[kiter198];
-        output.writeString(kiter198);
-        output.writeString(viter199);
-      }
-    }
-    output.writeMapEnd();
+    output.writeFieldBegin('success', Thrift.Type.BOOL, 0);
+    output.writeBool(this.success);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -611,18 +663,18 @@ Blur_tableList_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size200 = 0;
-        var _rtmp3204;
+        var _size208 = 0;
+        var _rtmp3212;
         this.success = [];
-        var _etype203 = 0;
-        _rtmp3204 = input.readListBegin();
-        _etype203 = _rtmp3204.etype;
-        _size200 = _rtmp3204.size;
-        for (var _i205 = 0; _i205 < _size200; ++_i205)
+        var _etype211 = 0;
+        _rtmp3212 = input.readListBegin();
+        _etype211 = _rtmp3212.etype;
+        _size208 = _rtmp3212.size;
+        for (var _i213 = 0; _i213 < _size208; ++_i213)
         {
-          var elem206 = null;
-          elem206 = input.readString().value;
-          this.success.push(elem206);
+          var elem214 = null;
+          elem214 = input.readString().value;
+          this.success.push(elem214);
         }
         input.readListEnd();
       } else {
@@ -651,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 iter207 in this.success)
+    for (var iter215 in this.success)
     {
-      if (this.success.hasOwnProperty(iter207))
+      if (this.success.hasOwnProperty(iter215))
       {
-        iter207 = this.success[iter207];
-        output.writeString(iter207);
+        iter215 = this.success[iter215];
+        output.writeString(iter215);
       }
     }
     output.writeListEnd();
@@ -757,18 +809,18 @@ Blur_tableListByCluster_result.prototype.read = function(input) {
     {
       case 0:
       if (ftype == Thrift.Type.LIST) {
-        var _size208 = 0;
-        var _rtmp3212;
+        var _size216 = 0;
+        var _rtmp3220;
         this.success = [];
-        var _etype211 = 0;
-        _rtmp3212 = input.readListBegin();
-        _etype211 = _rtmp3212.etype;
-        _size208 = _rtmp3212.size;
-        for (var _i213 = 0; _i213 < _size208; ++_i213)
+        var _etype219 = 0;
+        _rtmp3220 = input.readListBegin();
+        _etype219 = _rtmp3220.etype;
+        _size216 = _rtmp3220.size;
+        for (var _i221 = 0; _i221 < _size216; ++_i221)
         {
-          var elem214 = null;
-          elem214 = input.readString().value;
-          this.success.push(elem214);
+          var elem222 = null;
+          elem222 = input.readString().value;
+          this.success.push(elem222);
         }
         input.readListEnd();
       } else {
@@ -797,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 iter215 in this.success)
+    for (var iter223 in this.success)
     {
-      if (this.success.hasOwnProperty(iter215))
+      if (this.success.hasOwnProperty(iter223))
       {
-        iter215 = this.success[iter215];
-        output.writeString(iter215);
+        iter223 = this.success[iter223];
+        output.writeString(iter223);
       }
     }
     output.writeListEnd();
@@ -943,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)
   {
@@ -976,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);
     }
@@ -993,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) {
@@ -1026,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)
   {
@@ -1042,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);
@@ -1065,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);
@@ -1082,20 +1120,20 @@ Blur_query_result.prototype.write = function(output) {
   return;
 };
 
-Blur_cancelQuery_args = function(args) {
+Blur_parseQuery_args = function(args) {
   this.table = null;
-  this.uuid = null;
+  this.query = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.uuid !== undefined) {
-      this.uuid = args.uuid;
+    if (args.query !== undefined) {
+      this.query = args.query;
     }
   }
 };
-Blur_cancelQuery_args.prototype = {};
-Blur_cancelQuery_args.prototype.read = function(input) {
+Blur_parseQuery_args.prototype = {};
+Blur_parseQuery_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1116,8 +1154,9 @@ Blur_cancelQuery_args.prototype.read = function(input) {
       }
       break;
       case 2:
-      if (ftype == Thrift.Type.I64) {
-        this.uuid = input.readI64().value;
+      if (ftype == Thrift.Type.STRUCT) {
+        this.query = new Query();
+        this.query.read(input);
       } else {
         input.skip(ftype);
       }
@@ -1131,16 +1170,16 @@ Blur_cancelQuery_args.prototype.read = function(input) {
   return;
 };
 
-Blur_cancelQuery_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_cancelQuery_args');
+Blur_parseQuery_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_parseQuery_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.query !== null && this.query !== undefined) {
+    output.writeFieldBegin('query', Thrift.Type.STRUCT, 2);
+    this.query.write(output);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -1148,20 +1187,24 @@ Blur_cancelQuery_args.prototype.write = function(output) {
   return;
 };
 
-Blur_cancelQuery_result = function(args) {
+Blur_parseQuery_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_cancelQuery_result.prototype = {};
-Blur_cancelQuery_result.prototype.read = function(input) {
+Blur_parseQuery_result.prototype = {};
+Blur_parseQuery_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1174,6 +1217,13 @@ Blur_cancelQuery_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.STRING) {
+        this.success = input.readString().value;
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -1182,9 +1232,6 @@ Blur_cancelQuery_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -1194,8 +1241,13 @@ Blur_cancelQuery_result.prototype.read = function(input) {
   return;
 };
 
-Blur_cancelQuery_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_cancelQuery_result');
+Blur_parseQuery_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_parseQuery_result');
+  if (this.success !== null && this.success !== undefined) {
+    output.writeFieldBegin('success', Thrift.Type.STRING, 0);
+    output.writeString(this.success);
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -1206,7 +1258,7 @@ Blur_cancelQuery_result.prototype.write = function(output) {
   return;
 };
 
-Blur_currentQueries_args = function(args) {
+Blur_tableStats_args = function(args) {
   this.table = null;
   if (args) {
     if (args.table !== undefined) {
@@ -1214,8 +1266,8 @@ Blur_currentQueries_args = function(args) {
     }
   }
 };
-Blur_currentQueries_args.prototype = {};
-Blur_currentQueries_args.prototype.read = function(input) {
+Blur_tableStats_args.prototype = {};
+Blur_tableStats_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1247,8 +1299,8 @@ Blur_currentQueries_args.prototype.read = function(input) {
   return;
 };
 
-Blur_currentQueries_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_currentQueries_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);
@@ -1259,7 +1311,7 @@ Blur_currentQueries_args.prototype.write = function(output) {
   return;
 };
 
-Blur_currentQueries_result = function(args) {
+Blur_tableStats_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -1275,8 +1327,8 @@ Blur_currentQueries_result = function(args) {
     }
   }
 };
-Blur_currentQueries_result.prototype = {};
-Blur_currentQueries_result.prototype.read = function(input) {
+Blur_tableStats_result.prototype = {};
+Blur_tableStats_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1290,22 +1342,9 @@ Blur_currentQueries_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size216 = 0;
-        var _rtmp3220;
-        this.success = [];
-        var _etype219 = 0;
-        _rtmp3220 = input.readListBegin();
-        _etype219 = _rtmp3220.etype;
-        _size216 = _rtmp3220.size;
-        for (var _i221 = 0; _i221 < _size216; ++_i221)
-        {
-          var elem222 = null;
-          elem222 = new BlurQueryStatus();
-          elem222.read(input);
-          this.success.push(elem222);
-        }
-        input.readListEnd();
+      if (ftype == Thrift.Type.STRUCT) {
+        this.success = new TableStats();
+        this.success.read(input);
       } else {
         input.skip(ftype);
       }
@@ -1327,20 +1366,11 @@ Blur_currentQueries_result.prototype.read = function(input) {
   return;
 };
 
-Blur_currentQueries_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_currentQueries_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.STRUCT, this.success.length);
-    for (var iter223 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter223))
-      {
-        iter223 = this.success[iter223];
-        iter223.write(output);
-      }
-    }
-    output.writeListEnd();
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -1353,16 +1383,20 @@ Blur_currentQueries_result.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusIdList_args = function(args) {
+Blur_optimize_args = function(args) {
   this.table = null;
+  this.numberOfSegmentsPerShard = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
+    if (args.numberOfSegmentsPerShard !== undefined) {
+      this.numberOfSegmentsPerShard = args.numberOfSegmentsPerShard;
+    }
   }
 };
-Blur_queryStatusIdList_args.prototype = {};
-Blur_queryStatusIdList_args.prototype.read = function(input) {
+Blur_optimize_args.prototype = {};
+Blur_optimize_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1382,9 +1416,13 @@ Blur_queryStatusIdList_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.I32) {
+        this.numberOfSegmentsPerShard = input.readI32().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -1394,36 +1432,37 @@ Blur_queryStatusIdList_args.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusIdList_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusIdList_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.numberOfSegmentsPerShard !== null && this.numberOfSegmentsPerShard !== undefined) {
+    output.writeFieldBegin('numberOfSegmentsPerShard', Thrift.Type.I32, 2);
+    output.writeI32(this.numberOfSegmentsPerShard);
+    output.writeFieldEnd();
+  }
   output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_queryStatusIdList_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_queryStatusIdList_result.prototype = {};
-Blur_queryStatusIdList_result.prototype.read = function(input) {
+Blur_optimize_result.prototype = {};
+Blur_optimize_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1436,26 +1475,6 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size224 = 0;
-        var _rtmp3228;
-        this.success = [];
-        var _etype227 = 0;
-        _rtmp3228 = input.readListBegin();
-        _etype227 = _rtmp3228.etype;
-        _size224 = _rtmp3228.size;
-        for (var _i229 = 0; _i229 < _size224; ++_i229)
-        {
-          var elem230 = null;
-          elem230 = input.readI64().value;
-          this.success.push(elem230);
-        }
-        input.readListEnd();
-      } else {
-        input.skip(ftype);
-      }
-      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -1464,6 +1483,9 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -1473,22 +1495,8 @@ Blur_queryStatusIdList_result.prototype.read = function(input) {
   return;
 };
 
-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 iter231 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter231))
-      {
-        iter231 = this.success[iter231];
-        output.writeI64(iter231);
-      }
-    }
-    output.writeListEnd();
-    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);
@@ -1499,20 +1507,20 @@ Blur_queryStatusIdList_result.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusById_args = function(args) {
+Blur_createSnapshot_args = function(args) {
   this.table = null;
-  this.uuid = null;
+  this.name = null;
   if (args) {
     if (args.table !== undefined) {
       this.table = args.table;
     }
-    if (args.uuid !== undefined) {
-      this.uuid = args.uuid;
+    if (args.name !== undefined) {
+      this.name = args.name;
     }
   }
 };
-Blur_queryStatusById_args.prototype = {};
-Blur_queryStatusById_args.prototype.read = function(input) {
+Blur_createSnapshot_args.prototype = {};
+Blur_createSnapshot_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1533,8 +1541,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.STRING) {
+        this.name = input.readString().value;
       } else {
         input.skip(ftype);
       }
@@ -1548,16 +1556,16 @@ Blur_queryStatusById_args.prototype.read = function(input) {
   return;
 };
 
-Blur_queryStatusById_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_queryStatusById_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.uuid !== null && this.uuid !== undefined) {
-    output.writeFieldBegin('uuid', Thrift.Type.I64, 2);
-    output.writeI64(this.uuid);
+  if (this.name !== null && this.name !== undefined) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 2);
+    output.writeString(this.name);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -1565,24 +1573,20 @@ Blur_queryStatusById_args.prototype.write = function(output) {
   return;
 };
 
-Blur_queryStatusById_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_queryStatusById_result.prototype = {};
-Blur_queryStatusById_result.prototype.read = function(input) {
+Blur_createSnapshot_result.prototype = {};
+Blur_createSnapshot_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1595,14 +1599,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();
@@ -1611,6 +1607,9 @@ Blur_queryStatusById_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -1620,13 +1619,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_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);
@@ -1637,16 +1631,20 @@ Blur_queryStatusById_result.prototype.write = function(output) {
   return;
 };
 
-Blur_schema_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_schema_args.prototype = {};
-Blur_schema_args.prototype.read = function(input) {
+Blur_removeSnapshot_args.prototype = {};
+Blur_removeSnapshot_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1666,9 +1664,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);
     }
@@ -1678,36 +1680,37 @@ Blur_schema_args.prototype.read = function(input) {
   return;
 };
 
-Blur_schema_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_schema_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_schema_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_schema_result.prototype = {};
-Blur_schema_result.prototype.read = function(input) {
+Blur_removeSnapshot_result.prototype = {};
+Blur_removeSnapshot_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1720,14 +1723,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();
@@ -1736,6 +1731,9 @@ Blur_schema_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
+      case 0:
+        input.skip(ftype);
+        break;
       default:
         input.skip(ftype);
     }
@@ -1745,13 +1743,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_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);
@@ -1762,7 +1755,7 @@ Blur_schema_result.prototype.write = function(output) {
   return;
 };
 
-Blur_getTableStats_args = function(args) {
+Blur_listSnapshots_args = function(args) {
   this.table = null;
   if (args) {
     if (args.table !== undefined) {
@@ -1770,8 +1763,8 @@ Blur_getTableStats_args = function(args) {
     }
   }
 };
-Blur_getTableStats_args.prototype = {};
-Blur_getTableStats_args.prototype.read = function(input) {
+Blur_listSnapshots_args.prototype = {};
+Blur_listSnapshots_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1803,8 +1796,8 @@ Blur_getTableStats_args.prototype.read = function(input) {
   return;
 };
 
-Blur_getTableStats_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_getTableStats_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);
@@ -1815,7 +1808,7 @@ Blur_getTableStats_args.prototype.write = function(output) {
   return;
 };
 
-Blur_getTableStats_result = function(args) {
+Blur_listSnapshots_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -1831,8 +1824,8 @@ Blur_getTableStats_result = function(args) {
     }
   }
 };
-Blur_getTableStats_result.prototype = {};
-Blur_getTableStats_result.prototype.read = function(input) {
+Blur_listSnapshots_result.prototype = {};
+Blur_listSnapshots_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1846,9 +1839,43 @@ Blur_getTableStats_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.success = new TableStats();
-        this.success.read(input);
+      if (ftype == Thrift.Type.MAP) {
+        var _size224 = 0;
+        var _rtmp3228;
+        this.success = {};
+        var _ktype225 = 0;
+        var _vtype226 = 0;
+        _rtmp3228 = input.readMapBegin();
+        _ktype225 = _rtmp3228.ktype;
+        _vtype226 = _rtmp3228.vtype;
+        _size224 = _rtmp3228.size;
+        for (var _i229 = 0; _i229 < _size224; ++_i229)
+        {
+          if (_i229 > 0 ) {
+            if (input.rstack.length > input.rpos[input.rpos.length -1] + 1) {
+              input.rstack.pop();
+            }
+          }
+          var key230 = null;
+          var val231 = null;
+          key230 = input.readString().value;
+          var _size232 = 0;
+          var _rtmp3236;
+          val231 = [];
+          var _etype235 = 0;
+          _rtmp3236 = input.readListBegin();
+          _etype235 = _rtmp3236.etype;
+          _size232 = _rtmp3236.size;
+          for (var _i237 = 0; _i237 < _size232; ++_i237)
+          {
+            var elem238 = null;
+            elem238 = input.readString().value;
+            val231.push(elem238);
+          }
+          input.readListEnd();
+          this.success[key230] = val231;
+        }
+        input.readMapEnd();
       } else {
         input.skip(ftype);
       }
@@ -1870,11 +1897,30 @@ Blur_getTableStats_result.prototype.read = function(input) {
   return;
 };
 
-Blur_getTableStats_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_getTableStats_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.STRUCT, 0);
-    this.success.write(output);
+    output.writeFieldBegin('success', Thrift.Type.MAP, 0);
+    output.writeMapBegin(Thrift.Type.STRING, Thrift.Type.LIST, Thrift.objectLength(this.success));
+    for (var kiter239 in this.success)
+    {
+      if (this.success.hasOwnProperty(kiter239))
+      {
+        var viter240 = this.success[kiter239];
+        output.writeString(kiter239);
+        output.writeListBegin(Thrift.Type.STRING, viter240.length);
+        for (var iter241 in viter240)
+        {
+          if (viter240.hasOwnProperty(iter241))
+          {
+            iter241 = viter240[iter241];
+            output.writeString(iter241);
+          }
+        }
+        output.writeListEnd();
+      }
+    }
+    output.writeMapEnd();
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -1887,16 +1933,16 @@ Blur_getTableStats_result.prototype.write = function(output) {
   return;
 };
 
-Blur_tableStats_args = function(args) {
-  this.table = null;
+Blur_setUser_args = function(args) {
+  this.user = null;
   if (args) {
-    if (args.table !== undefined) {
-      this.table = args.table;
+    if (args.user !== undefined) {
+      this.user = args.user;
     }
   }
 };
-Blur_tableStats_args.prototype = {};
-Blur_tableStats_args.prototype.read = function(input) {
+Blur_setUser_args.prototype = {};
+Blur_setUser_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1910,8 +1956,9 @@ Blur_tableStats_args.prototype.read = function(input) {
     switch (fid)
     {
       case 1:
-      if (ftype == Thrift.Type.STRING) {
-        this.table = input.readString().value;
+      if (ftype == Thrift.Type.STRUCT) {
+        this.user = new User();
+        this.user.read(input);
       } else {
         input.skip(ftype);
       }
@@ -1928,11 +1975,11 @@ Blur_tableStats_args.prototype.read = function(input) {
   return;
 };
 
-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);
+Blur_setUser_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_setUser_args');
+  if (this.user !== null && this.user !== undefined) {
+    output.writeFieldBegin('user', Thrift.Type.STRUCT, 1);
+    this.user.write(output);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -1940,24 +1987,48 @@ Blur_tableStats_args.prototype.write = function(output) {
   return;
 };
 
-Blur_tableStats_result = function(args) {
-  this.success = null;
-  this.ex = null;
-  if (args instanceof BlurException) {
-    this.ex = args;
-    return;
+Blur_setUser_result = function(args) {
+};
+Blur_setUser_result.prototype = {};
+Blur_setUser_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;
+    }
+    input.skip(ftype);
+    input.readFieldEnd();
   }
+  input.readStructEnd();
+  return;
+};
+
+Blur_setUser_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_setUser_result');
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+Blur_query_args = function(args) {
+  this.table = null;
+  this.blurQuery = null;
   if (args) {
-    if (args.success !== undefined) {
-      this.success = args.success;
+    if (args.table !== undefined) {
+      this.table = args.table;
     }
-    if (args.ex !== undefined) {
-      this.ex = args.ex;
+    if (args.blurQuery !== undefined) {
+      this.blurQuery = args.blurQuery;
     }
   }
 };
-Blur_tableStats_result.prototype = {};
-Blur_tableStats_result.prototype.read = function(input) {
+Blur_query_args.prototype = {};
+Blur_query_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -1970,10 +2041,81 @@ Blur_tableStats_result.prototype.read = function(input) {
     }
     switch (fid)
     {
-      case 0:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.success = new TableStats();
-        this.success.read(input);
+      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.blurQuery = new BlurQuery();
+        this.blurQuery.read(input);
+      } else {
+        input.skip(ftype);
+      }
+      break;
+      default:
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+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.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) {
+  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_query_result.prototype = {};
+Blur_query_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.STRUCT) {
+        this.success = new BlurResults();
+        this.success.read(input);
       } else {
         input.skip(ftype);
       }
@@ -1995,8 +2137,8 @@ Blur_tableStats_result.prototype.read = function(input) {
   return;
 };
 
-Blur_tableStats_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_tableStats_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.STRUCT, 0);
     this.success.write(output);
@@ -2012,32 +2154,20 @@ Blur_tableStats_result.prototype.write = function(output) {
   return;
 };
 
-Blur_terms_args = function(args) {
+Blur_fetchRow_args = function(args) {
   this.table = null;
-  this.columnFamily = null;
-  this.columnName = null;
-  this.startWith = null;
-  this.size = null;
+  this.selector = 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;
+    if (args.selector !== undefined) {
+      this.selector = args.selector;
     }
   }
 };
-Blur_terms_args.prototype = {};
-Blur_terms_args.prototype.read = function(input) {
+Blur_fetchRow_args.prototype = {};
+Blur_fetchRow_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2058,29 +2188,9 @@ Blur_terms_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.startWith = input.readString().value;
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 5:
-      if (ftype == Thrift.Type.I16) {
-        this.size = input.readI16().value;
+      if (ftype == Thrift.Type.STRUCT) {
+        this.selector = new Selector();
+        this.selector.read(input);
       } else {
         input.skip(ftype);
       }
@@ -2094,31 +2204,16 @@ Blur_terms_args.prototype.read = function(input) {
   return;
 };
 
-Blur_terms_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_terms_args');
+Blur_fetchRow_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_fetchRow_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);
+  if (this.selector !== null && this.selector !== undefined) {
+    output.writeFieldBegin('selector', Thrift.Type.STRUCT, 2);
+    this.selector.write(output);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -2126,7 +2221,7 @@ Blur_terms_args.prototype.write = function(output) {
   return;
 };
 
-Blur_terms_result = function(args) {
+Blur_fetchRow_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -2142,8 +2237,8 @@ Blur_terms_result = function(args) {
     }
   }
 };
-Blur_terms_result.prototype = {};
-Blur_terms_result.prototype.read = function(input) {
+Blur_fetchRow_result.prototype = {};
+Blur_fetchRow_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2157,21 +2252,9 @@ Blur_terms_result.prototype.read = function(input) {
     switch (fid)
     {
       case 0:
-      if (ftype == Thrift.Type.LIST) {
-        var _size232 = 0;
-        var _rtmp3236;
-        this.success = [];
-        var _etype235 = 0;
-        _rtmp3236 = input.readListBegin();
-        _etype235 = _rtmp3236.etype;
-        _size232 = _rtmp3236.size;
-        for (var _i237 = 0; _i237 < _size232; ++_i237)
-        {
-          var elem238 = null;
-          elem238 = input.readString().value;
-          this.success.push(elem238);
-        }
-        input.readListEnd();
+      if (ftype == Thrift.Type.STRUCT) {
+        this.success = new FetchResult();
+        this.success.read(input);
       } else {
         input.skip(ftype);
       }
@@ -2193,20 +2276,11 @@ Blur_terms_result.prototype.read = function(input) {
   return;
 };
 
-Blur_terms_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_terms_result');
+Blur_fetchRow_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_fetchRow_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 iter239 in this.success)
-    {
-      if (this.success.hasOwnProperty(iter239))
-      {
-        iter239 = this.success[iter239];
-        output.writeString(iter239);
-      }
-    }
-    output.writeListEnd();
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -2219,28 +2293,20 @@ Blur_terms_result.prototype.write = function(output) {
   return;
 };
 
-Blur_recordFrequency_args = function(args) {
+Blur_fetchRowBatch_args = function(args) {
   this.table = null;
-  this.columnFamily = null;
-  this.columnName = null;
-  this.value = null;
+  this.selectors = 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.selectors !== undefined) {
+      this.selectors = args.selectors;
     }
   }
 };
-Blur_recordFrequency_args.prototype = {};
-Blur_recordFrequency_args.prototype.read = function(input) {
+Blur_fetchRowBatch_args.prototype = {};
+Blur_fetchRowBatch_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2261,22 +2327,22 @@ 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.LIST) {
+        var _size242 = 0;
+        var _rtmp3246;
+        this.selectors = [];
+        var _etype245 = 0;
+        _rtmp3246 = input.readListBegin();
+        _etype245 = _rtmp3246.etype;
+        _size242 = _rtmp3246.size;
+        for (var _i247 = 0; _i247 < _size242; ++_i247)
+        {
+          var elem248 = null;
+          elem248 = new Selector();
+          elem248.read(input);
+          this.selectors.push(elem248);
+        }
+        input.readListEnd();
       } else {
         input.skip(ftype);
       }
@@ -2290,26 +2356,25 @@ Blur_recordFrequency_args.prototype.read = function(input) {
   return;
 };
 
-Blur_recordFrequency_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_recordFrequency_args');
+Blur_fetchRowBatch_args.prototype.write = function(output) {
+  output.writeStructBegin('Blur_fetchRowBatch_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.selectors !== null && this.selectors !== undefined) {
+    output.writeFieldBegin('selectors', Thrift.Type.LIST, 2);
+    output.writeListBegin(Thrift.Type.STRUCT, this.selectors.length);
+    for (var iter249 in this.selectors)
+    {
+      if (this.selectors.hasOwnProperty(iter249))
+      {
+        iter249 = this.selectors[iter249];
+        iter249.write(output);
+      }
+    }
+    output.writeListEnd();
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -2317,7 +2382,7 @@ Blur_recordFrequency_args.prototype.write = function(output) {
   return;
 };
 
-Blur_recordFrequency_result = function(args) {
+Blur_fetchRowBatch_result = function(args) {
   this.success = null;
   this.ex = null;
   if (args instanceof BlurException) {
@@ -2333,8 +2398,8 @@ Blur_recordFrequency_result = function(args) {
     }
   }
 };
-Blur_recordFrequency_result.prototype = {};
-Blur_recordFrequency_result.prototype.read = function(input) {
+Blur_fetchRowBatch_result.prototype = {};
+Blur_fetchRowBatch_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2348,8 +2413,22 @@ 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.LIST) {
+        var _size250 = 0;
+        var _rtmp3254;
+        this.success = [];
+        var _etype253 = 0;
+        _rtmp3254 = input.readListBegin();
+        _etype253 = _rtmp3254.etype;
+        _size250 = _rtmp3254.size;
+        for (var _i255 = 0; _i255 < _size250; ++_i255)
+        {
+          var elem256 = null;
+          elem256 = new FetchResult();
+          elem256.read(input);
+          this.success.push(elem256);
+        }
+        input.readListEnd();
       } else {
         input.skip(ftype);
       }
@@ -2371,150 +2450,20 @@ Blur_recordFrequency_result.prototype.read = function(input) {
   return;
 };
 
-Blur_recordFrequency_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_recordFrequency_result');
+Blur_fetchRowBatch_result.prototype.write = function(output) {
+  output.writeStructBegin('Blur_fetchRowBatch_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);
-    output.writeFieldEnd();
-  }
-  output.writeFieldStop();
-  output.writeStructEnd();
-  return;
-};
-
-Blur_fetchRow_args = function(args) {
-  this.table = null;
-  this.selector = null;
-  if (args) {
-    if (args.table !== undefined) {
-      this.table = args.table;
-    }
-    if (args.selector !== undefined) {
-      this.selector = args.selector;
-    }
-  }
-};
-Blur_fetchRow_args.prototype = {};
-Blur_fetchRow_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.STRUCT) {
-        this.selector = new Selector();
-        this.selector.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      default:
-        input.skip(ftype);
-    }
-    input.readFieldEnd();
-  }
-  input.readStructEnd();
-  return;
-};
-
-Blur_fetchRow_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_fetchRow_args');
-  if (this.table !== null && this.table !== undefined) {
-    output.writeFieldBegin('table', Thrift.Type.STRING, 1);
-    output.writeString(this.table);
-    output.writeFieldEnd();
-  }
-  if (this.selector !== null && this.selector !== undefined) {
-    output.writeFieldBegin('selector', Thrift.Type.STRUCT, 2);
-    this.selector.write(output);
-    output.writeFieldEnd();
-  }
-  output.writeFieldStop();
-  output.writeStructEnd();
-  return;
-};
-
-Blur_fetchRow_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_fetchRow_result.prototype = {};
-Blur_fetchRow_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.STRUCT) {
-        this.success = new FetchResult();
-        this.success.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      case 1:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.ex = new BlurException();
-        this.ex.read(input);
-      } else {
-        input.skip(ftype);
-      }
-      break;
-      default:
-        input.skip(ftype);
-    }
-    input.readFieldEnd();
-  }
-  input.readStructEnd();
-  return;
-};
-
-Blur_fetchRow_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_fetchRow_result');
-  if (this.success !== null && this.success !== undefined) {
-    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
-    this.success.write(output);
+    output.writeFieldBegin('success', Thrift.Type.LIST, 0);
+    output.writeListBegin(Thrift.Type.STRUCT, this.success.length);
+    for (var iter257 in this.success)
+    {
+      if (this.success.hasOwnProperty(iter257))
+      {
+        iter257 = this.success[iter257];
+        iter257.write(output);
+      }
+    }
+    output.writeListEnd();
     output.writeFieldEnd();
   }
   if (this.ex !== null && this.ex !== undefined) {
@@ -2663,19 +2612,19 @@ Blur_mutateBatch_args.prototype.read = function(input) {
     {
       case 1:
       if (ftype == Thrift.Type.LIST) {
-        var _size240 = 0;
-        var _rtmp3244;
+        var _size258 = 0;
+        var _rtmp3262;
         this.mutations = [];
-        var _etype243 = 0;
-        _rtmp3244 = input.readListBegin();
-        _etype243 = _rtmp3244.etype;
-        _size240 = _rtmp3244.size;
-        for (var _i245 = 0; _i245 < _size240; ++_i245)
+        var _etype261 = 0;
+        _rtmp3262 = input.readListBegin();
+        _etype261 = _rtmp3262.etype;
+        _size258 = _rtmp3262.size;
+        for (var _i263 = 0; _i263 < _size258; ++_i263)
         {
-          var elem246 = null;
-          elem246 = new RowMutation();
-          elem246.read(input);
-          this.mutations.push(elem246);
+          var elem264 = null;
+          elem264 = new RowMutation();
+          elem264.read(input);
+          this.mutations.push(elem264);
         }
         input.readListEnd();
       } else {
@@ -2699,12 +2648,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 iter247 in this.mutations)
+    for (var iter265 in this.mutations)
     {
-      if (this.mutations.hasOwnProperty(iter247))
+      if (this.mutations.hasOwnProperty(iter265))
       {
-        iter247 = this.mutations[iter247];
-        iter247.write(output);
+        iter265 = this.mutations[iter265];
+        iter265.write(output);
       }
     }
     output.writeListEnd();
@@ -2773,16 +2722,20 @@ 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)
   {
@@ -2796,16 +2749,19 @@ Blur_createTable_args.prototype.read = function(input) {
     switch (fid)
     {
       case 1:
-      if (ftype == Thrift.Type.STRUCT) {
-        this.tableDescriptor = new TableDescriptor();
-        this.tableDescriptor.read(input);
+      if (ftype == Thrift.Type.STRING) {
+        this.table = input.readString().value;
       } else {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.uuid = input.readString().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -2815,11 +2771,16 @@ 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_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.STRING, 2);
+    output.writeString(this.uuid);
     output.writeFieldEnd();
   }
   output.writeFieldStop();
@@ -2827,7 +2788,7 @@ Blur_createTable_args.prototype.write = function(output) {
   return;
 };
 
-Blur_createTable_result = function(args) {
+Blur_cancelQuery_result = function(args) {
   this.ex = null;
   if (args instanceof BlurException) {
     this.ex = args;
@@ -2839,8 +2800,8 @@ Blur_createTable_result = function(args) {
     }
   }
 };
-Blur_createTable_result.prototype = {};
-Blur_createTable_result.prototype.read = function(input) {
+Blur_cancelQuery_result.prototype = {};
+Blur_cancelQuery_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2873,8 +2834,8 @@ Blur_createTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_createTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_createTable_result');
+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);
@@ -2885,7 +2846,7 @@ Blur_createTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_enableTable_args = function(args) {
+Blur_queryStatusIdList_args = function(args) {
   this.table = null;
   if (args) {
     if (args.table !== undefined) {
@@ -2893,8 +2854,8 @@ Blur_enableTable_args = function(args) {
     }
   }
 };
-Blur_enableTable_args.prototype = {};
-Blur_enableTable_args.prototype.read = function(input) {
+Blur_queryStatusIdList_args.prototype = {};
+Blur_queryStatusIdList_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2926,8 +2887,8 @@ Blur_enableTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_enableTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_enableTable_args');
+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);
@@ -2938,20 +2899,24 @@ Blur_enableTable_args.prototype.write = function(output) {
   return;
 };
 
-Blur_enableTable_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_enableTable_result.prototype = {};
-Blur_enableTable_result.prototype.read = function(input) {
+Blur_queryStatusIdList_result.prototype = {};
+Blur_queryStatusIdList_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -2964,6 +2929,26 @@ Blur_enableTable_result.prototype.read = function(input) {
     }
     switch (fid)
     {
+      case 0:
+      if (ftype == Thrift.Type.LIST) {
+        var _size266 = 0;
+        var _rtmp3270;
+        this.success = [];
+        var _etype269 = 0;
+        _rtmp3270 = input.readListBegin();
+        _etype269 = _rtmp3270.etype;
+        _size266 = _rtmp3270.size;
+        for (var _i271 = 0; _i271 < _size266; ++_i271)
+        {
+          var elem272 = null;
+          elem272 = input.readString().value;
+          this.success.push(elem272);
+        }
+        input.readListEnd();
+      } else {
+        input.skip(ftype);
+      }
+      break;
       case 1:
       if (ftype == Thrift.Type.STRUCT) {
         this.ex = new BlurException();
@@ -2972,9 +2957,6 @@ Blur_enableTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -2984,8 +2966,22 @@ Blur_enableTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_enableTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_enableTable_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.STRING, this.success.length);
+    for (var iter273 in this.success)
+    {
+      if (this.success.hasOwnProperty(iter273))
+      {
+        iter273 = this.success[iter273];
+        output.writeString(iter273);
+      }
+    }
+    output.writeListEnd();
+    output.writeFieldEnd();
+  }
   if (this.ex !== null && this.ex !== undefined) {
     output.writeFieldBegin('ex', Thrift.Type.STRUCT, 1);
     this.ex.write(output);
@@ -2996,16 +2992,20 @@ Blur_enableTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_disableTable_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_disableTable_args.prototype = {};
-Blur_disableTable_args.prototype.read = function(input) {
+Blur_queryStatusById_args.prototype = {};
+Blur_queryStatusById_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3025,9 +3025,13 @@ Blur_disableTable_args.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.uuid = input.readString().value;
+      } else {
         input.skip(ftype);
-        break;
+      }
+      break;
       default:
         input.skip(ftype);
     }
@@ -3037,32 +3041,41 @@ Blur_disableTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_disableTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_disableTable_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();
   }
-  output.writeFieldStop();
+  if (this.uuid !== null && this.uuid !== undefined) {
+    output.writeFieldBegin('uuid', Thrift.Type.STRING, 2);
+    output.writeString(this.uuid);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
   output.writeStructEnd();
   return;
 };
 
-Blur_disableTable_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_disableTable_result.prototype = {};
-Blur_disableTable_result.prototype.read = function(input) {
+Blur_queryStatusById_result.prototype = {};
+Blur_queryStatusById_result.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3075,6 +3088,14 @@ Blur_disableTable_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();
@@ -3083,9 +3104,6 @@ Blur_disableTable_result.prototype.read = function(input) {
         input.skip(ftype);
       }
       break;
-      case 0:
-        input.skip(ftype);
-        break;
       default:
         input.skip(ftype);
     }
@@ -3095,8 +3113,13 @@ Blur_disableTable_result.prototype.read = function(input) {
   return;
 };
 
-Blur_disableTable_result.prototype.write = function(output) {
-  output.writeStructBegin('Blur_disableTable_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);
@@ -3107,20 +3130,32 @@ Blur_disableTable_result.prototype.write = function(output) {
   return;
 };
 
-Blur_removeTable_args = function(args) {
+Blur_terms_args = function(args) {
   this.table = null;
-  this.deleteIndexFiles = 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.deleteIndexFiles !== undefined) {
-      this.deleteIndexFiles = args.deleteIndexFiles;
+    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_removeTable_args.prototype = {};
-Blur_removeTable_args.prototype.read = function(input) {
+Blur_terms_args.prototype = {};
+Blur_terms_args.prototype.read = function(input) {
   input.readStructBegin();
   while (true)
   {
@@ -3141,8 +3176,29 @@ Blur_removeTable_args.prototype.read = function(input) {
       }
       break;
       case 2:
-      if (ftype == Thrift.Type.BOOL) {
-        this.deleteIndexFiles = input.readBool().value;
+      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 {
         input.skip(ftype);
       }
@@ -3156,16 +3212,31 @@ Blur_removeTable_args.prototype.read = function(input) {
   return;
 };
 
-Blur_removeTable_args.prototype.write = function(output) {
-  output.writeStructBegin('Blur_removeTable_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.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.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.writeField

<TRUNCATED>

Mime
View raw message