Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Awesful hack for clock/timestamp thingy

  • Loading branch information...
commit 580b723f6c158d70066065323d907931f79fe4d7 1 parent 63ddf14
@b b authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/cassandra/0.7/columns.rb
View
13 lib/cassandra/0.7/columns.rb
@@ -1,3 +1,16 @@
+# THIS IS FILTHY
+module CassandraThrift
+ class Column
+ def timestamp
+ clock.timestamp
+ end
+
+ def timestamp=(ts)
+ clock.timestamp = ts
+ end
+ end
+end
+
class Cassandra
# A bunch of crap, mostly related to introspecting on column types
module Columns #:nodoc:
Please sign in to comment.
Something went wrong with that request. Please try again.