You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ca...@codespot.com on 2011/10/27 20:28:33 UTC

[cassandra-node] 9 new revisions pushed by gdusbabek@gmail.com on 2011-10-27 18:28 GMT

9 new revisions:

Revision: 2718ae6cb231
Author:   Dan Di Spaltro <da...@cloudkick.com>
Date:     Tue Aug  9 07:39:23 2011
Log:      missing new
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=2718ae6cb231

Revision: 757860e0f47c
Author:   Dan Di Spaltro <da...@cloudkick.com>
Date:     Tue Aug  9 07:39:42 2011
Log:      Merge branch 'master' of github.com:racker/node-cassandra-client
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=757860e0f47c

Revision: fe940280827d
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 16:20:07 2011
Log:      updated generated files, includes binary fix
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=fe940280827d

Revision: 1b704699c71f
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 17:28:06 2011
Log:      decoder is aware of byte buffers
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=1b704699c71f

Revision: 547370961fb9
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 16:22:20 2011
Log:      bump version
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=547370961fb9

Revision: 8c6d5129ffb4
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Fri Aug 26 10:39:50 2011
Log:      Merge pull request #9 from racker/binary_fix...
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=8c6d5129ffb4

Revision: ab546363ce7f
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Wed Oct 19 09:50:01 2011
Log:      Let people know that the project has moved to apache extras.
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=ab546363ce7f

Revision: 9805bc9707c1
Author:   gdusbabek <gd...@gmail.com>
Date:     Thu Oct 27 11:24:19 2011
Log:      merge over missed things from github
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=9805bc9707c1

Revision: e1d6b04b90b6
Author:   gdusbabek <gd...@gmail.com>
Date:     Thu Oct 27 11:28:01 2011
Log:      reverse patch README.md
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=e1d6b04b90b6

==============================================================================
Revision: 2718ae6cb231
Author:   Dan Di Spaltro <da...@cloudkick.com>
Date:     Tue Aug  9 07:39:23 2011
Log:      missing new

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=2718ae6cb231

Modified:
  /lib/driver.js

=======================================
--- /lib/driver.js	Wed Aug  3 08:25:13 2011
+++ /lib/driver.js	Tue Aug  9 07:39:23 2011
@@ -265,7 +265,7 @@
    var exe = function(errback) {
      self.pool.acquire(function(conn) {
        if (!conn) {
-        callback(Error('Unable to acquire an open connection from the  
pool!'));
+        callback(new Error('Unable to acquire an open connection from the  
pool!'));
        } else {
          conn.execute(query, args, function(err, res) {
            if (err) {

==============================================================================
Revision: 757860e0f47c
Author:   Dan Di Spaltro <da...@cloudkick.com>
Date:     Tue Aug  9 07:39:42 2011
Log:      Merge branch 'master' of github.com:racker/node-cassandra-client

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=757860e0f47c



==============================================================================
Revision: fe940280827d
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 16:20:07 2011
Log:      updated generated files, includes binary fix

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=fe940280827d

Modified:
  /lib/gen-nodejs/Cassandra.js
  /lib/gen-nodejs/cassandra_types.js

=======================================
--- /lib/gen-nodejs/Cassandra.js	Fri May 20 16:32:24 2011
+++ /lib/gen-nodejs/Cassandra.js	Thu Aug 25 16:20:07 2011
@@ -1,5 +1,5 @@
  //
-// Autogenerated by Thrift
+// Autogenerated by Thrift Compiler (0.7.0)
  //
  // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  //
@@ -8,6276 +8,6679 @@
  var ttypes = require('./cassandra_types');
  //HELPER FUNCTIONS AND STRUCTURES

-var Cassandra_login_args = function(args){
-  this.auth_request = null
-if( args != null ){  if (null != args.auth_request)
-  this.auth_request = args.auth_request
-}}
-Cassandra_login_args.prototype = {}
-Cassandra_login_args.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.auth_request = new ttypes.AuthenticationRequest()
-        this.auth_request.read(input)
+var Cassandra_login_args = function(args) {
+  this.auth_request = null;
+  if (args) {
+    if (args.auth_request !== undefined) {
+      this.auth_request = args.auth_request;
+    }
+  }
+};
+Cassandra_login_args.prototype = {};
+Cassandra_login_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.STRUCT) {
+        this.auth_request = new ttypes.AuthenticationRequest();
+        this.auth_request.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_login_args.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_login_args')
-  if (null != this.auth_request) {
-    output.writeFieldBegin('auth_request', Thrift.Type.STRUCT, 1)
-    this.auth_request.write(output)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_login_result = function(args){
-  this.authnx = null
-  this.authzx = null
-if( args != null ){  if (null != args.authnx)
-  this.authnx = args.authnx
-  if (null != args.authzx)
-  this.authzx = args.authzx
-}}
-Cassandra_login_result.prototype = {}
-Cassandra_login_result.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.authnx = new ttypes.AuthenticationException()
-        this.authnx.read(input)
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_login_args.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_login_args');
+  if (this.auth_request != null) {
+    output.writeFieldBegin('auth_request', Thrift.Type.STRUCT, 1);
+    this.auth_request.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_login_result = function(args) {
+  this.authnx = null;
+  this.authzx = null;
+  if (args) {
+    if (args.authnx !== undefined) {
+      this.authnx = args.authnx;
+    }
+    if (args.authzx !== undefined) {
+      this.authzx = args.authzx;
+    }
+  }
+};
+Cassandra_login_result.prototype = {};
+Cassandra_login_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.authnx = new ttypes.AuthenticationException();
+        this.authnx.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRUCT) {
-        this.authzx = new ttypes.AuthorizationException()
-        this.authzx.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.authzx = new ttypes.AuthorizationException();
+        this.authzx.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_login_result.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_login_result')
-  if (null != this.authnx) {
-    output.writeFieldBegin('authnx', Thrift.Type.STRUCT, 1)
-    this.authnx.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.authzx) {
-    output.writeFieldBegin('authzx', Thrift.Type.STRUCT, 2)
-    this.authzx.write(output)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_set_keyspace_args = function(args){
-  this.keyspace = null
-if( args != null ){  if (null != args.keyspace)
-  this.keyspace = args.keyspace
-}}
-Cassandra_set_keyspace_args.prototype = {}
-Cassandra_set_keyspace_args.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.keyspace = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_login_result.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_login_result');
+  if (this.authnx != null) {
+    output.writeFieldBegin('authnx', Thrift.Type.STRUCT, 1);
+    this.authnx.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.authzx != null) {
+    output.writeFieldBegin('authzx', Thrift.Type.STRUCT, 2);
+    this.authzx.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_set_keyspace_args = function(args) {
+  this.keyspace = null;
+  if (args) {
+    if (args.keyspace !== undefined) {
+      this.keyspace = args.keyspace;
+    }
+  }
+};
+Cassandra_set_keyspace_args.prototype = {};
+Cassandra_set_keyspace_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.keyspace = input.readString();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_set_keyspace_args.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_set_keyspace_args')
-  if (null != this.keyspace) {
-    output.writeFieldBegin('keyspace', Thrift.Type.STRING, 1)
-    output.writeString(this.keyspace)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_set_keyspace_result = function(args){
-  this.ire = null
-if( args != null ){  if (null != args.ire)
-  this.ire = args.ire
-}}
-Cassandra_set_keyspace_result.prototype = {}
-Cassandra_set_keyspace_result.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.ire = new ttypes.InvalidRequestException()
-        this.ire.read(input)
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_set_keyspace_args.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_set_keyspace_args');
+  if (this.keyspace != null) {
+    output.writeFieldBegin('keyspace', Thrift.Type.STRING, 1);
+    output.writeString(this.keyspace);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_set_keyspace_result = function(args) {
+  this.ire = null;
+  if (args) {
+    if (args.ire !== undefined) {
+      this.ire = args.ire;
+    }
+  }
+};
+Cassandra_set_keyspace_result.prototype = {};
+Cassandra_set_keyspace_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.ire = new ttypes.InvalidRequestException();
+        this.ire.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
+      case 0:
+        input.skip(ftype);
+        break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_set_keyspace_result.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_set_keyspace_result')
-  if (null != this.ire) {
-    output.writeFieldBegin('ire', Thrift.Type.STRUCT, 1)
-    this.ire.write(output)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_get_args = function(args){
-  this.key = null
-  this.column_path = null
-  this.consistency_level = 1
-if( args != null ){  if (null != args.key)
-  this.key = args.key
-  if (null != args.column_path)
-  this.column_path = args.column_path
-  if (null != args.consistency_level)
-  this.consistency_level = args.consistency_level
-}}
-Cassandra_get_args.prototype = {}
-Cassandra_get_args.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.key = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_set_keyspace_result.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_set_keyspace_result');
+  if (this.ire != null) {
+    output.writeFieldBegin('ire', Thrift.Type.STRUCT, 1);
+    this.ire.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_get_args = function(args) {
+  this.key = null;
+  this.column_path = null;
+  this.consistency_level = 1;
+  if (args) {
+    if (args.key !== undefined) {
+      this.key = args.key;
+    }
+    if (args.column_path !== undefined) {
+      this.column_path = args.column_path;
+    }
+    if (args.consistency_level !== undefined) {
+      this.consistency_level = args.consistency_level;
+    }
+  }
+};
+Cassandra_get_args.prototype = {};
+Cassandra_get_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.key = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRUCT) {
-        this.column_path = new ttypes.ColumnPath()
-        this.column_path.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.column_path = new ttypes.ColumnPath();
+        this.column_path.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 3:      if (ftype == Thrift.Type.I32) {
-        this.consistency_level = input.readI32()
+        input.skip(ftype);
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.I32) {
+        this.consistency_level = input.readI32();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_get_args.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_get_args')
-  if (null != this.key) {
-    output.writeFieldBegin('key', Thrift.Type.STRING, 1)
-    output.writeString(this.key)
-    output.writeFieldEnd()
-  }
-  if (null != this.column_path) {
-    output.writeFieldBegin('column_path', Thrift.Type.STRUCT, 2)
-    this.column_path.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.consistency_level) {
-    output.writeFieldBegin('consistency_level', Thrift.Type.I32, 3)
-    output.writeI32(this.consistency_level)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_get_result = function(args){
-  this.success = null
-  this.ire = null
-  this.nfe = null
-  this.ue = null
-  this.te = null
-if( args != null ){  if (null != args.success)
-  this.success = args.success
-  if (null != args.ire)
-  this.ire = args.ire
-  if (null != args.nfe)
-  this.nfe = args.nfe
-  if (null != args.ue)
-  this.ue = args.ue
-  if (null != args.te)
-  this.te = args.te
-}}
-Cassandra_get_result.prototype = {}
-Cassandra_get_result.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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 ttypes.ColumnOrSuperColumn()
-        this.success.read(input)
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_get_args.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_get_args');
+  if (this.key != null) {
+    output.writeFieldBegin('key', Thrift.Type.STRING, 1);
+    output.writeString(this.key);
+    output.writeFieldEnd();
+  }
+  if (this.column_path != null) {
+    output.writeFieldBegin('column_path', Thrift.Type.STRUCT, 2);
+    this.column_path.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.consistency_level != null) {
+    output.writeFieldBegin('consistency_level', Thrift.Type.I32, 3);
+    output.writeI32(this.consistency_level);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_get_result = function(args) {
+  this.success = null;
+  this.ire = null;
+  this.nfe = null;
+  this.ue = null;
+  this.te = null;
+  if (args) {
+    if (args.success !== undefined) {
+      this.success = args.success;
+    }
+    if (args.ire !== undefined) {
+      this.ire = args.ire;
+    }
+    if (args.nfe !== undefined) {
+      this.nfe = args.nfe;
+    }
+    if (args.ue !== undefined) {
+      this.ue = args.ue;
+    }
+    if (args.te !== undefined) {
+      this.te = args.te;
+    }
+  }
+};
+Cassandra_get_result.prototype = {};
+Cassandra_get_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 ttypes.ColumnOrSuperColumn();
+        this.success.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 1:      if (ftype == Thrift.Type.STRUCT) {
-        this.ire = new ttypes.InvalidRequestException()
-        this.ire.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 1:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.ire = new ttypes.InvalidRequestException();
+        this.ire.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRUCT) {
-        this.nfe = new ttypes.NotFoundException()
-        this.nfe.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.nfe = new ttypes.NotFoundException();
+        this.nfe.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 3:      if (ftype == Thrift.Type.STRUCT) {
-        this.ue = new ttypes.UnavailableException()
-        this.ue.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.ue = new ttypes.UnavailableException();
+        this.ue.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 4:      if (ftype == Thrift.Type.STRUCT) {
-        this.te = new ttypes.TimedOutException()
-        this.te.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 4:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.te = new ttypes.TimedOutException();
+        this.te.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_get_result.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_get_result')
-  if (null != this.success) {
-    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0)
-    this.success.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.ire) {
-    output.writeFieldBegin('ire', Thrift.Type.STRUCT, 1)
-    this.ire.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.nfe) {
-    output.writeFieldBegin('nfe', Thrift.Type.STRUCT, 2)
-    this.nfe.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.ue) {
-    output.writeFieldBegin('ue', Thrift.Type.STRUCT, 3)
-    this.ue.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.te) {
-    output.writeFieldBegin('te', Thrift.Type.STRUCT, 4)
-    this.te.write(output)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_get_slice_args = function(args){
-  this.key = null
-  this.column_parent = null
-  this.predicate = null
-  this.consistency_level = 1
-if( args != null ){  if (null != args.key)
-  this.key = args.key
-  if (null != args.column_parent)
-  this.column_parent = args.column_parent
-  if (null != args.predicate)
-  this.predicate = args.predicate
-  if (null != args.consistency_level)
-  this.consistency_level = args.consistency_level
-}}
-Cassandra_get_slice_args.prototype = {}
-Cassandra_get_slice_args.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.key = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Cassandra_get_result.prototype.write = function(output) {
+  output.writeStructBegin('Cassandra_get_result');
+  if (this.success != null) {
+    output.writeFieldBegin('success', Thrift.Type.STRUCT, 0);
+    this.success.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.ire != null) {
+    output.writeFieldBegin('ire', Thrift.Type.STRUCT, 1);
+    this.ire.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.nfe != null) {
+    output.writeFieldBegin('nfe', Thrift.Type.STRUCT, 2);
+    this.nfe.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.ue != null) {
+    output.writeFieldBegin('ue', Thrift.Type.STRUCT, 3);
+    this.ue.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.te != null) {
+    output.writeFieldBegin('te', Thrift.Type.STRUCT, 4);
+    this.te.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var Cassandra_get_slice_args = function(args) {
+  this.key = null;
+  this.column_parent = null;
+  this.predicate = null;
+  this.consistency_level = 1;
+  if (args) {
+    if (args.key !== undefined) {
+      this.key = args.key;
+    }
+    if (args.column_parent !== undefined) {
+      this.column_parent = args.column_parent;
+    }
+    if (args.predicate !== undefined) {
+      this.predicate = args.predicate;
+    }
+    if (args.consistency_level !== undefined) {
+      this.consistency_level = args.consistency_level;
+    }
+  }
+};
+Cassandra_get_slice_args.prototype = {};
+Cassandra_get_slice_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.key = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRUCT) {
-        this.column_parent = new ttypes.ColumnParent()
-        this.column_parent.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.column_parent = new ttypes.ColumnParent();
+        this.column_parent.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 3:      if (ftype == Thrift.Type.STRUCT) {
-        this.predicate = new ttypes.SlicePredicate()
-        this.predicate.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.predicate = new ttypes.SlicePredicate();
+        this.predicate.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 4:      if (ftype == Thrift.Type.I32) {
-        this.consistency_level = input.readI32()
+        input.skip(ftype);
+      }
+      break;
+      case 4:
+      if (ftype == Thrift.Type.I32) {
+        this.consistency_level = input.readI32();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Cassandra_get_slice_args.prototype.write = function(output){
-  output.writeStructBegin('Cassandra_get_slice_args')
-  if (null != this.key) {
-    output.writeFieldBegin('key', Thrift.Type.STRING, 1)
-    output.writeString(this.key)
-    output.writeFieldEnd()
-  }
-  if (null != this.column_parent) {
-    output.writeFieldBegin('column_parent', Thrift.Type.STRUCT, 2)
-    this.column_parent.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.predicate) {
-    output.writeFieldBegin('predicate', Thrift.Type.STRUCT, 3)
-    this.predicate.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.consistency_level) {
-    output.writeFieldBegin('consistency_level', Thrift.Type.I32, 4)
-    output.writeI32(this.consistency_level)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var Cassandra_get_slice_result = function(args){
-  this.success = null
-  this.ire = null
-  this.ue = null
-  this.te = null
-if( args != null ){  if (null != args.success)
-  this.success = args.success
-  if (null != args.ire)
-  this.ire = args.ire
-  if (null != args.ue)
-  this.ue = args.ue
-  if (null != args.te)
-  this.te = args.te
-}}
-Cassandra_get_slice_result.prototype = {}
-Cassandra_get_slice_result.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.LIST) {
-        {
-          var _size88 = 0
-          var rtmp3
-          this.success = []
-          var _etype91 = 0
-          rtmp3 = input.readListBegin()
-          _etype91 = rtmp3.etype
-          _size88 = rtmp3.size
-          for (var _i92 = 0; _i92 < _size88; ++_i92)
-          {
-            var elem93 = null
-            elem93 = new ttypes.ColumnOrSuperColumn()
-            elem93.read(input)
-            this.success.push(elem93)
-          }
-          input.readListEnd()
-        }
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
***The diff for this file has been truncated for email.***
=======================================
--- /lib/gen-nodejs/cassandra_types.js	Fri May 20 16:32:24 2011
+++ /lib/gen-nodejs/cassandra_types.js	Thu Aug 25 16:20:07 2011
@@ -1,2615 +1,2828 @@
  //
-// Autogenerated by Thrift
+// Autogenerated by Thrift Compiler (0.7.0)
  //
  // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
  //
  var Thrift = require('thrift').Thrift;
  var ttypes = module.exports = {};
-ttypes.ConsistencyLevel = {
-'ONE' : 1
-,'QUORUM' : 2
-,'LOCAL_QUORUM' : 3
-,'EACH_QUORUM' : 4
-,'ALL' : 5
-,'ANY' : 6
-,'TWO' : 7
-,'THREE' : 8
-}
-ttypes.IndexOperator = {
-'EQ' : 0
-,'GTE' : 1
-,'GT' : 2
-,'LTE' : 3
-,'LT' : 4
-}
-ttypes.IndexType = {
+ttypes.ConsistencyLevel = {
+'ONE' : 1,
+'QUORUM' : 2,
+'LOCAL_QUORUM' : 3,
+'EACH_QUORUM' : 4,
+'ALL' : 5,
+'ANY' : 6,
+'TWO' : 7,
+'THREE' : 8
+};
+ttypes.IndexOperator = {
+'EQ' : 0,
+'GTE' : 1,
+'GT' : 2,
+'LTE' : 3,
+'LT' : 4
+};
+ttypes.IndexType = {
  'KEYS' : 0
-}
-ttypes.Compression = {
-'GZIP' : 1
-,'NONE' : 2
-}
-ttypes.CqlResultType = {
-'ROWS' : 1
-,'VOID' : 2
-,'INT' : 3
-}
-ttypes.VERSION = '19.10.0'
-var Column = module.exports.Column = function(args){
-  this.name = null
-  this.value = null
-  this.timestamp = null
-  this.ttl = null
-if( args != null ){  if (null != args.name)
-  this.name = args.name
-  if (null != args.value)
-  this.value = args.value
-  if (null != args.timestamp)
-  this.timestamp = args.timestamp
-  if (null != args.ttl)
-  this.ttl = args.ttl
-}}
-Column.prototype = {}
-Column.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.name = input.readString()
+};
+ttypes.Compression = {
+'GZIP' : 1,
+'NONE' : 2
+};
+ttypes.CqlResultType = {
+'ROWS' : 1,
+'VOID' : 2,
+'INT' : 3
+};
+ttypes.VERSION = '19.10.0';
+var Column = module.exports.Column = function(args) {
+  this.name = null;
+  this.value = null;
+  this.timestamp = null;
+  this.ttl = null;
+  if (args) {
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
+    if (args.value !== undefined) {
+      this.value = args.value;
+    }
+    if (args.timestamp !== undefined) {
+      this.timestamp = args.timestamp;
+    }
+    if (args.ttl !== undefined) {
+      this.ttl = args.ttl;
+    }
+  }
+};
+Column.prototype = {};
+Column.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.name = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRING) {
-        this.value = input.readString()
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRING) {
+        this.value = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 3:      if (ftype == Thrift.Type.I64) {
-        this.timestamp = input.readI64()
+        input.skip(ftype);
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.I64) {
+        this.timestamp = input.readI64();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 4:      if (ftype == Thrift.Type.I32) {
-        this.ttl = input.readI32()
+        input.skip(ftype);
+      }
+      break;
+      case 4:
+      if (ftype == Thrift.Type.I32) {
+        this.ttl = input.readI32();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-Column.prototype.write = function(output){
-  output.writeStructBegin('Column')
-  if (null != this.name) {
-    output.writeFieldBegin('name', Thrift.Type.STRING, 1)
-    output.writeString(this.name)
-    output.writeFieldEnd()
-  }
-  if (null != this.value) {
-    output.writeFieldBegin('value', Thrift.Type.STRING, 2)
-    output.writeString(this.value)
-    output.writeFieldEnd()
-  }
-  if (null != this.timestamp) {
-    output.writeFieldBegin('timestamp', Thrift.Type.I64, 3)
-    output.writeI64(this.timestamp)
-    output.writeFieldEnd()
-  }
-  if (null != this.ttl) {
-    output.writeFieldBegin('ttl', Thrift.Type.I32, 4)
-    output.writeI32(this.ttl)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var SuperColumn = module.exports.SuperColumn = function(args){
-  this.name = null
-  this.columns = null
-if( args != null ){  if (null != args.name)
-  this.name = args.name
-  if (null != args.columns)
-  this.columns = args.columns
-}}
-SuperColumn.prototype = {}
-SuperColumn.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.name = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+Column.prototype.write = function(output) {
+  output.writeStructBegin('Column');
+  if (this.name != null) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 1);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
+  if (this.value != null) {
+    output.writeFieldBegin('value', Thrift.Type.STRING, 2);
+    output.writeString(this.value);
+    output.writeFieldEnd();
+  }
+  if (this.timestamp != null) {
+    output.writeFieldBegin('timestamp', Thrift.Type.I64, 3);
+    output.writeI64(this.timestamp);
+    output.writeFieldEnd();
+  }
+  if (this.ttl != null) {
+    output.writeFieldBegin('ttl', Thrift.Type.I32, 4);
+    output.writeI32(this.ttl);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var SuperColumn = module.exports.SuperColumn = function(args) {
+  this.name = null;
+  this.columns = null;
+  if (args) {
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
+    if (args.columns !== undefined) {
+      this.columns = args.columns;
+    }
+  }
+};
+SuperColumn.prototype = {};
+SuperColumn.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.name = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.LIST) {
-        {
-          var _size0 = 0
-          var rtmp3
-          this.columns = []
-          var _etype3 = 0
-          rtmp3 = input.readListBegin()
-          _etype3 = rtmp3.etype
-          _size0 = rtmp3.size
-          for (var _i4 = 0; _i4 < _size0; ++_i4)
-          {
-            var elem5 = null
-            elem5 = new ttypes.Column()
-            elem5.read(input)
-            this.columns.push(elem5)
-          }
-          input.readListEnd()
-        }
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.LIST) {
+        var _size0 = 0;
+        var _rtmp34;
+        this.columns = [];
+        var _etype3 = 0;
+        _rtmp34 = input.readListBegin();
+        _etype3 = _rtmp34.etype;
+        _size0 = _rtmp34.size;
+        for (var _i5 = 0; _i5 < _size0; ++_i5)
+        {
+          var elem6 = null;
+          elem6 = new ttypes.Column();
+          elem6.read(input);
+          this.columns.push(elem6);
+        }
+        input.readListEnd();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-SuperColumn.prototype.write = function(output){
-  output.writeStructBegin('SuperColumn')
-  if (null != this.name) {
-    output.writeFieldBegin('name', Thrift.Type.STRING, 1)
-    output.writeString(this.name)
-    output.writeFieldEnd()
-  }
-  if (null != this.columns) {
-    output.writeFieldBegin('columns', Thrift.Type.LIST, 2)
-    {
-      output.writeListBegin(Thrift.Type.STRUCT, this.columns.length)
-      {
-        for(var iter6 in this.columns)
-        {
-          if (this.columns.hasOwnProperty(iter6))
-          {
-            iter6=this.columns[iter6]
-            iter6.write(output)
-          }
-        }
-      }
-      output.writeListEnd()
-    }
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var CounterColumn = module.exports.CounterColumn = function(args){
-  this.name = null
-  this.value = null
-if( args != null ){  if (null != args.name)
-  this.name = args.name
-  if (null != args.value)
-  this.value = args.value
-}}
-CounterColumn.prototype = {}
-CounterColumn.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.name = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+SuperColumn.prototype.write = function(output) {
+  output.writeStructBegin('SuperColumn');
+  if (this.name != null) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 1);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
+  if (this.columns != null) {
+    output.writeFieldBegin('columns', Thrift.Type.LIST, 2);
+    output.writeListBegin(Thrift.Type.STRUCT, this.columns.length);
+    for (var iter7 in this.columns)
+    {
+      if (this.columns.hasOwnProperty(iter7))
+      {
+        iter7 = this.columns[iter7];
+        iter7.write(output);
+      }
+    }
+    output.writeListEnd();
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var CounterColumn = module.exports.CounterColumn = function(args) {
+  this.name = null;
+  this.value = null;
+  if (args) {
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
+    if (args.value !== undefined) {
+      this.value = args.value;
+    }
+  }
+};
+CounterColumn.prototype = {};
+CounterColumn.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.name = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.I64) {
-        this.value = input.readI64()
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.I64) {
+        this.value = input.readI64();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-CounterColumn.prototype.write = function(output){
-  output.writeStructBegin('CounterColumn')
-  if (null != this.name) {
-    output.writeFieldBegin('name', Thrift.Type.STRING, 1)
-    output.writeString(this.name)
-    output.writeFieldEnd()
-  }
-  if (null != this.value) {
-    output.writeFieldBegin('value', Thrift.Type.I64, 2)
-    output.writeI64(this.value)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var CounterSuperColumn = module.exports.CounterSuperColumn =  
function(args){
-  this.name = null
-  this.columns = null
-if( args != null ){  if (null != args.name)
-  this.name = args.name
-  if (null != args.columns)
-  this.columns = args.columns
-}}
-CounterSuperColumn.prototype = {}
-CounterSuperColumn.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.name = input.readString()
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+CounterColumn.prototype.write = function(output) {
+  output.writeStructBegin('CounterColumn');
+  if (this.name != null) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 1);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
+  if (this.value != null) {
+    output.writeFieldBegin('value', Thrift.Type.I64, 2);
+    output.writeI64(this.value);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var CounterSuperColumn = module.exports.CounterSuperColumn =  
function(args) {
+  this.name = null;
+  this.columns = null;
+  if (args) {
+    if (args.name !== undefined) {
+      this.name = args.name;
+    }
+    if (args.columns !== undefined) {
+      this.columns = args.columns;
+    }
+  }
+};
+CounterSuperColumn.prototype = {};
+CounterSuperColumn.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.name = input.readBinary();
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.LIST) {
-        {
-          var _size7 = 0
-          var rtmp3
-          this.columns = []
-          var _etype10 = 0
-          rtmp3 = input.readListBegin()
-          _etype10 = rtmp3.etype
-          _size7 = rtmp3.size
-          for (var _i11 = 0; _i11 < _size7; ++_i11)
-          {
-            var elem12 = null
-            elem12 = new ttypes.CounterColumn()
-            elem12.read(input)
-            this.columns.push(elem12)
-          }
-          input.readListEnd()
-        }
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.LIST) {
+        var _size8 = 0;
+        var _rtmp312;
+        this.columns = [];
+        var _etype11 = 0;
+        _rtmp312 = input.readListBegin();
+        _etype11 = _rtmp312.etype;
+        _size8 = _rtmp312.size;
+        for (var _i13 = 0; _i13 < _size8; ++_i13)
+        {
+          var elem14 = null;
+          elem14 = new ttypes.CounterColumn();
+          elem14.read(input);
+          this.columns.push(elem14);
+        }
+        input.readListEnd();
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-CounterSuperColumn.prototype.write = function(output){
-  output.writeStructBegin('CounterSuperColumn')
-  if (null != this.name) {
-    output.writeFieldBegin('name', Thrift.Type.STRING, 1)
-    output.writeString(this.name)
-    output.writeFieldEnd()
-  }
-  if (null != this.columns) {
-    output.writeFieldBegin('columns', Thrift.Type.LIST, 2)
-    {
-      output.writeListBegin(Thrift.Type.STRUCT, this.columns.length)
-      {
-        for(var iter13 in this.columns)
-        {
-          if (this.columns.hasOwnProperty(iter13))
-          {
-            iter13=this.columns[iter13]
-            iter13.write(output)
-          }
-        }
-      }
-      output.writeListEnd()
-    }
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var ColumnOrSuperColumn = module.exports.ColumnOrSuperColumn =  
function(args){
-  this.column = null
-  this.super_column = null
-  this.counter_column = null
-  this.counter_super_column = null
-if( args != null ){  if (null != args.column)
-  this.column = args.column
-  if (null != args.super_column)
-  this.super_column = args.super_column
-  if (null != args.counter_column)
-  this.counter_column = args.counter_column
-  if (null != args.counter_super_column)
-  this.counter_super_column = args.counter_super_column
-}}
-ColumnOrSuperColumn.prototype = {}
-ColumnOrSuperColumn.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.column = new ttypes.Column()
-        this.column.read(input)
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+CounterSuperColumn.prototype.write = function(output) {
+  output.writeStructBegin('CounterSuperColumn');
+  if (this.name != null) {
+    output.writeFieldBegin('name', Thrift.Type.STRING, 1);
+    output.writeString(this.name);
+    output.writeFieldEnd();
+  }
+  if (this.columns != null) {
+    output.writeFieldBegin('columns', Thrift.Type.LIST, 2);
+    output.writeListBegin(Thrift.Type.STRUCT, this.columns.length);
+    for (var iter15 in this.columns)
+    {
+      if (this.columns.hasOwnProperty(iter15))
+      {
+        iter15 = this.columns[iter15];
+        iter15.write(output);
+      }
+    }
+    output.writeListEnd();
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var ColumnOrSuperColumn = module.exports.ColumnOrSuperColumn =  
function(args) {
+  this.column = null;
+  this.super_column = null;
+  this.counter_column = null;
+  this.counter_super_column = null;
+  if (args) {
+    if (args.column !== undefined) {
+      this.column = args.column;
+    }
+    if (args.super_column !== undefined) {
+      this.super_column = args.super_column;
+    }
+    if (args.counter_column !== undefined) {
+      this.counter_column = args.counter_column;
+    }
+    if (args.counter_super_column !== undefined) {
+      this.counter_super_column = args.counter_super_column;
+    }
+  }
+};
+ColumnOrSuperColumn.prototype = {};
+ColumnOrSuperColumn.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.column = new ttypes.Column();
+        this.column.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 2:      if (ftype == Thrift.Type.STRUCT) {
-        this.super_column = new ttypes.SuperColumn()
-        this.super_column.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 2:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.super_column = new ttypes.SuperColumn();
+        this.super_column.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 3:      if (ftype == Thrift.Type.STRUCT) {
-        this.counter_column = new ttypes.CounterColumn()
-        this.counter_column.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 3:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.counter_column = new ttypes.CounterColumn();
+        this.counter_column.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
-      case 4:      if (ftype == Thrift.Type.STRUCT) {
-        this.counter_super_column = new ttypes.CounterSuperColumn()
-        this.counter_super_column.read(input)
+        input.skip(ftype);
+      }
+      break;
+      case 4:
+      if (ftype == Thrift.Type.STRUCT) {
+        this.counter_super_column = new ttypes.CounterSuperColumn();
+        this.counter_super_column.read(input);
        } else {
-        input.skip(ftype)
-      }
-      break
+        input.skip(ftype);
+      }
+      break;
        default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-ColumnOrSuperColumn.prototype.write = function(output){
-  output.writeStructBegin('ColumnOrSuperColumn')
-  if (null != this.column) {
-    output.writeFieldBegin('column', Thrift.Type.STRUCT, 1)
-    this.column.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.super_column) {
-    output.writeFieldBegin('super_column', Thrift.Type.STRUCT, 2)
-    this.super_column.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.counter_column) {
-    output.writeFieldBegin('counter_column', Thrift.Type.STRUCT, 3)
-    this.counter_column.write(output)
-    output.writeFieldEnd()
-  }
-  if (null != this.counter_super_column) {
-    output.writeFieldBegin('counter_super_column', Thrift.Type.STRUCT, 4)
-    this.counter_super_column.write(output)
-    output.writeFieldEnd()
-  }
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var NotFoundException = module.exports.NotFoundException = function(args){
+        input.skip(ftype);
+    }
+    input.readFieldEnd();
+  }
+  input.readStructEnd();
+  return;
+};
+
+ColumnOrSuperColumn.prototype.write = function(output) {
+  output.writeStructBegin('ColumnOrSuperColumn');
+  if (this.column != null) {
+    output.writeFieldBegin('column', Thrift.Type.STRUCT, 1);
+    this.column.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.super_column != null) {
+    output.writeFieldBegin('super_column', Thrift.Type.STRUCT, 2);
+    this.super_column.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.counter_column != null) {
+    output.writeFieldBegin('counter_column', Thrift.Type.STRUCT, 3);
+    this.counter_column.write(output);
+    output.writeFieldEnd();
+  }
+  if (this.counter_super_column != null) {
+    output.writeFieldBegin('counter_super_column', Thrift.Type.STRUCT, 4);
+    this.counter_super_column.write(output);
+    output.writeFieldEnd();
+  }
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var NotFoundException = module.exports.NotFoundException = function(args) {
    Thrift.TException.call(this, "NotFoundException")
    this.name = "NotFoundException"
-}
-Thrift.inherits(NotFoundException, Thrift.TException)
-NotFoundException.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    var ret = input.readFieldBegin()
-    var fname = ret.fname
-    var ftype = ret.ftype
-    var fid   = ret.fid
-    if (ftype == Thrift.Type.STOP)
-      break
-    switch(fid)
-    {
-      default:
-        input.skip(ftype)
-    }
-    input.readFieldEnd()
-  }
-  input.readStructEnd()
-  return
-}
-
-NotFoundException.prototype.write = function(output){
-  output.writeStructBegin('NotFoundException')
-  output.writeFieldStop()
-  output.writeStructEnd()
-  return
-}
-
-var InvalidRequestException = module.exports.InvalidRequestException =  
function(args){
+};
+Thrift.inherits(NotFoundException, Thrift.TException);
+NotFoundException.prototype.name = 'NotFoundException';
+NotFoundException.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;
+};
+
+NotFoundException.prototype.write = function(output) {
+  output.writeStructBegin('NotFoundException');
+  output.writeFieldStop();
+  output.writeStructEnd();
+  return;
+};
+
+var InvalidRequestException = module.exports.InvalidRequestException =  
function(args) {
    Thrift.TException.call(this, "InvalidRequestException")
    this.name = "InvalidRequestException"
-  this.why = null
-if( args != null ){  if (null != args.why)
-  this.why = args.why
-}}
-Thrift.inherits(InvalidRequestException, Thrift.TException)
-InvalidRequestException.prototype.read = function(input){
-  var ret = input.readStructBegin()
-  while (1)
-  {
-    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.why = input.readString()
+  this.why = null;
+  if (args) {
+    if (args.why !== undefined) {
+      this.why = args.why;
+    }
+  }
+};
+Thrift.inherits(InvalidRequestException, Thrift.TException);
***The diff for this file has been truncated for email.***

==============================================================================
Revision: 1b704699c71f
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 17:28:06 2011
Log:      decoder is aware of byte buffers

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=1b704699c71f

Modified:
  /lib/decoder.js

=======================================
--- /lib/decoder.js	Mon Aug  8 13:34:01 2011
+++ /lib/decoder.js	Thu Aug 25 17:28:06 2011
@@ -24,12 +24,12 @@
    var num = 0;
    // if the sign bit is on, start wtih every bit asserted.  we only care  
about 32 bits because we lose precision after
    // that anyway.
-  if ((0x0080 & bytes.charCodeAt(0)) === 0x0080) {
+  if ((0x0080 & bytes[0]) === 0x0080) {
      num = 0xffffffff;
    }
    for (var i = 0; i < bytes.length; i++) {
      num <<= 8;
-    num |= bytes.charCodeAt(i);
+    num |= bytes[i];
    }
    return num;
  };
@@ -38,7 +38,7 @@
    // convert bytes (which is really a string) to a list of ints. then  
convert the bytes (ints) to a big integer.
    var ints = [];
    for (var i = 0; i < bytes.length; i++) {
-    ints[i] = bytes.charCodeAt(i); // how does this handle negative values  
(bytes that overflow 127)?
+    ints[i] = bytes[i]; // how does this handle negative values (bytes  
that overflow 127)?
      if (ints[i] > 255) {
        throw new Error('Invalid character in packed string ' + ints[i]);
      }
@@ -53,12 +53,12 @@
    }

    // trim all leading zeros except the most significant one (we don't want  
to flip signs)
-  while (bytes.charCodeAt(0) === 0 && bytes.charCodeAt(1) === 0) {
-    bytes = bytes.substr(1);
+  while (bytes[0] === 0 && bytes[1] === 0) {
+    bytes = bytes.slice(1);
    }

    // zero is a tricky bastard. new BigInteger([0]) != new BigInteger('0').  
wtf?
-  if (bytes.length === 1 && bytes.charCodeAt(0) === 0) {
+  if (bytes.length === 1 && bytes[0] === 0) {
      return new BigInteger('0');
    } else {
      return bytesToBigInt(bytes);

==============================================================================
Revision: 547370961fb9
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Thu Aug 25 16:22:20 2011
Log:      bump version

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=547370961fb9

Modified:
  /package.json

=======================================
--- /package.json	Mon Aug  8 13:58:53 2011
+++ /package.json	Thu Aug 25 16:22:20 2011
@@ -6,7 +6,7 @@
    ],
    "name": "cassandra-client",
    "description": "Node.js CQL driver for Apache Cassandra",
-  "version": "0.3.0",
+  "version": "0.4.1",
    "homepage": "https://github.com/racker/node-cassandra-client",
    "repository": {
      "type": "git",

==============================================================================
Revision: 8c6d5129ffb4
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Fri Aug 26 10:39:50 2011
Log:      Merge pull request #9 from racker/binary_fix

Allow binary columns to be read as buffers instead of strings.
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=8c6d5129ffb4



==============================================================================
Revision: ab546363ce7f
Author:   Gary Dusbabek <gd...@gmail.com>
Date:     Wed Oct 19 09:50:01 2011
Log:      Let people know that the project has moved to apache extras.
http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=ab546363ce7f

Modified:
  /README.md

=======================================
--- /README.md	Tue May 31 05:33:23 2011
+++ /README.md	Wed Oct 19 09:50:01 2011
@@ -1,3 +1,12 @@
+THIS PROJECT HAS MOVED
+====================
+
+
+node-cassandra-client has moved to apache extras:  
http://code.google.com/a/apache-extras.org/p/cassandra-node/
+
+The code on this github project will no longer be maintained.
+
+
  node-cassandra-client
  ====================


==============================================================================
Revision: 9805bc9707c1
Author:   gdusbabek <gd...@gmail.com>
Date:     Thu Oct 27 11:24:19 2011
Log:      merge over missed things from github

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=9805bc9707c1

Modified:
  /package.json

=======================================
--- /package.json	Thu Oct 27 10:51:24 2011
+++ /package.json	Thu Oct 27 11:24:19 2011
@@ -7,6 +7,7 @@
    "name": "cassandra-client",
    "description": "Node.js CQL driver for Apache Cassandra",
    "version": "0.3.1",
+  "version": "0.4.2",
    "homepage": "https://github.com/racker/node-cassandra-client",
    "repository": {
      "type": "git",

==============================================================================
Revision: e1d6b04b90b6
Author:   gdusbabek <gd...@gmail.com>
Date:     Thu Oct 27 11:28:01 2011
Log:      reverse patch README.md

http://code.google.com/a/apache-extras.org/p/cassandra-node/source/detail?r=e1d6b04b90b6

Modified:
  /README.md

=======================================
--- /README.md	Wed Oct 19 09:50:01 2011
+++ /README.md	Thu Oct 27 11:28:01 2011
@@ -1,12 +1,3 @@
-THIS PROJECT HAS MOVED
-====================
-
-
-node-cassandra-client has moved to apache extras:  
http://code.google.com/a/apache-extras.org/p/cassandra-node/
-
-The code on this github project will no longer be maintained.
-
-
  node-cassandra-client
  ====================