cassandra_client 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+ require 'cassandra_types'
8
+
@@ -0,0 +1,156 @@
1
+ #
2
+ # Autogenerated by Thrift
3
+ #
4
+ # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
+ #
6
+
7
+
8
+ class Column_t
9
+ include ::Thrift::Struct
10
+ COLUMNNAME = 1
11
+ VALUE = 2
12
+ TIMESTAMP = 3
13
+
14
+ ::Thrift::Struct.field_accessor self, :columnName, :value, :timestamp
15
+ FIELDS = {
16
+ COLUMNNAME => {:type => ::Thrift::Types::STRING, :name => 'columnName'},
17
+ VALUE => {:type => ::Thrift::Types::STRING, :name => 'value'},
18
+ TIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'timestamp'}
19
+ }
20
+
21
+ def struct_fields; FIELDS; end
22
+
23
+ def validate
24
+ end
25
+
26
+ end
27
+
28
+ class Batch_mutation_t
29
+ include ::Thrift::Struct
30
+ TABLE = 1
31
+ KEY = 2
32
+ CFMAP = 3
33
+
34
+ ::Thrift::Struct.field_accessor self, :table, :key, :cfmap
35
+ FIELDS = {
36
+ TABLE => {:type => ::Thrift::Types::STRING, :name => 'table'},
37
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
38
+ CFMAP => {:type => ::Thrift::Types::MAP, :name => 'cfmap', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}}}
39
+ }
40
+
41
+ def struct_fields; FIELDS; end
42
+
43
+ def validate
44
+ end
45
+
46
+ end
47
+
48
+ class SuperColumn_t
49
+ include ::Thrift::Struct
50
+ NAME = 1
51
+ COLUMNS = 2
52
+
53
+ ::Thrift::Struct.field_accessor self, :name, :columns
54
+ FIELDS = {
55
+ NAME => {:type => ::Thrift::Types::STRING, :name => 'name'},
56
+ COLUMNS => {:type => ::Thrift::Types::LIST, :name => 'columns', :element => {:type => ::Thrift::Types::STRUCT, :class => Column_t}}
57
+ }
58
+
59
+ def struct_fields; FIELDS; end
60
+
61
+ def validate
62
+ end
63
+
64
+ end
65
+
66
+ class Batch_mutation_super_t
67
+ include ::Thrift::Struct
68
+ TABLE = 1
69
+ KEY = 2
70
+ CFMAP = 3
71
+
72
+ ::Thrift::Struct.field_accessor self, :table, :key, :cfmap
73
+ FIELDS = {
74
+ TABLE => {:type => ::Thrift::Types::STRING, :name => 'table'},
75
+ KEY => {:type => ::Thrift::Types::STRING, :name => 'key'},
76
+ CFMAP => {:type => ::Thrift::Types::MAP, :name => 'cfmap', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::LIST, :element => {:type => ::Thrift::Types::STRUCT, :class => SuperColumn_t}}}
77
+ }
78
+
79
+ def struct_fields; FIELDS; end
80
+
81
+ def validate
82
+ end
83
+
84
+ end
85
+
86
+ class CqlResult_t
87
+ include ::Thrift::Struct
88
+ ERRORCODE = 1
89
+ ERRORTXT = 2
90
+ RESULTSET = 3
91
+
92
+ ::Thrift::Struct.field_accessor self, :errorCode, :errorTxt, :resultSet
93
+ FIELDS = {
94
+ ERRORCODE => {:type => ::Thrift::Types::I32, :name => 'errorCode'},
95
+ ERRORTXT => {:type => ::Thrift::Types::STRING, :name => 'errorTxt'},
96
+ RESULTSET => {:type => ::Thrift::Types::LIST, :name => 'resultSet', :element => {:type => ::Thrift::Types::MAP, :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}}
97
+ }
98
+
99
+ def struct_fields; FIELDS; end
100
+
101
+ def validate
102
+ end
103
+
104
+ end
105
+
106
+ class NotFoundException < ::Thrift::Exception
107
+ include ::Thrift::Struct
108
+
109
+ FIELDS = {
110
+
111
+ }
112
+
113
+ def struct_fields; FIELDS; end
114
+
115
+ def validate
116
+ end
117
+
118
+ end
119
+
120
+ class InvalidRequestException < ::Thrift::Exception
121
+ include ::Thrift::Struct
122
+ def initialize(message=nil)
123
+ super()
124
+ self.why = message
125
+ end
126
+
127
+ def message; why end
128
+
129
+ WHY = 1
130
+
131
+ ::Thrift::Struct.field_accessor self, :why
132
+ FIELDS = {
133
+ WHY => {:type => ::Thrift::Types::STRING, :name => 'why'}
134
+ }
135
+
136
+ def struct_fields; FIELDS; end
137
+
138
+ def validate
139
+ end
140
+
141
+ end
142
+
143
+ class UnavailableException < ::Thrift::Exception
144
+ include ::Thrift::Struct
145
+
146
+ FIELDS = {
147
+
148
+ }
149
+
150
+ def struct_fields; FIELDS; end
151
+
152
+ def validate
153
+ end
154
+
155
+ end
156
+
data.tar.gz.sig ADDED
Binary file
metadata ADDED
@@ -0,0 +1,115 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cassandra_client
3
+ version: !ruby/object:Gem::Version
4
+ version: "0.1"
5
+ platform: ruby
6
+ authors:
7
+ - Evan Weaver
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ0wCwYDVQQDDARldmFu
14
+ MRgwFgYKCZImiZPyLGQBGRYIY2xvdWRidXIxEjAQBgoJkiaJk/IsZAEZFgJzdDAe
15
+ Fw0wNzA5MTYxMDMzMDBaFw0wODA5MTUxMDMzMDBaMD0xDTALBgNVBAMMBGV2YW4x
16
+ GDAWBgoJkiaJk/IsZAEZFghjbG91ZGJ1cjESMBAGCgmSJomT8ixkARkWAnN0MIIB
17
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5C0Io89nyApnr+PvbNFge9Vs
18
+ yRWAlGBUEMahpXp28VrrfXZT0rAW7JBo4PlCE3jl4nE4dzE6gAdItSycjTosrw7A
19
+ Ir5+xoyl4Vb35adv56TIQQXvNz+BzlqnkAY5JN0CSBRTQb6mxS3hFyD/h4qgDosj
20
+ R2RFVzHqSxCS8xq4Ny8uzOwOi+Xyu4w67fI5JvnPvMxqrlR1eaIQHmxnf76RzC46
21
+ QO5QhufjAYGGXd960XzbQsQyTDUYJzrvT7AdOfiyZzKQykKt8dEpDn+QPjFTnGnT
22
+ QmgJBX5WJN0lHF2l1sbv3gh4Kn1tZu+kTUqeXY6ShAoDTyvZRiFqQdwh8w2lTQID
23
+ AQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU+WqJz3xQ
24
+ XSea1hRvvHWcIMgeeC4wDQYJKoZIhvcNAQEFBQADggEBAGLZ75jfOEW8Nsl26CTt
25
+ JFrWxQTcQT/UljeefVE3xYr7lc9oQjbqO3FOyued3qW7TaNEtZfSHoYeUSMYbpw1
26
+ XAwocIPuSRFDGM4B+hgQGVDx8PMGiJKom4qLXjO40UZsR7QyN/u869Vj45LURm6h
27
+ MBcPeqCASI+WNprj9+uZa2kmHiitrFqqfMBNlm5IFbn9XeYSta9AHVvs5QQqV2m5
28
+ hIPfLqCyxsn/YgOGvo6iwyQTWyTswamaAC3HRWZxIS1sfn/Ssqa7E7oQMkv5FAXr
29
+ x5rKePfXINf8XTJczkl9OBEYdE9aNdJsJpXD0asLgGVwBICS5Bjohp6mizJcDC1+
30
+ yZ0=
31
+ -----END CERTIFICATE-----
32
+
33
+ date: 2009-07-04 00:00:00 -07:00
34
+ default_executable:
35
+ dependencies:
36
+ - !ruby/object:Gem::Dependency
37
+ name: json
38
+ type: :runtime
39
+ version_requirement:
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: "0"
45
+ version:
46
+ description: A Ruby client for CassandraDB.
47
+ email: ""
48
+ executables: []
49
+
50
+ extensions: []
51
+
52
+ extra_rdoc_files:
53
+ - CHANGELOG
54
+ - lib/cassandra_client/client.rb
55
+ - lib/cassandra_client/ordered_hash.rb
56
+ - lib/cassandra_client/serialization.rb
57
+ - lib/cassandra_client/table.rb
58
+ - lib/cassandra_client.rb
59
+ - LICENSE
60
+ - README
61
+ files:
62
+ - CHANGELOG
63
+ - conf/cassandra.in.sh
64
+ - conf/log4j.properties
65
+ - conf/storage-conf.xml
66
+ - lib/cassandra_client/client.rb
67
+ - lib/cassandra_client/ordered_hash.rb
68
+ - lib/cassandra_client/serialization.rb
69
+ - lib/cassandra_client/table.rb
70
+ - lib/cassandra_client.rb
71
+ - LICENSE
72
+ - Manifest
73
+ - quickstart.sh
74
+ - Rakefile
75
+ - README
76
+ - test/cassandra_client_test.rb
77
+ - vendor/gen-rb/cassandra.rb
78
+ - vendor/gen-rb/cassandra_constants.rb
79
+ - vendor/gen-rb/cassandra_types.rb
80
+ - cassandra_client.gemspec
81
+ has_rdoc: true
82
+ homepage: http://blog.evanweaver.com/files/doc/fauna/cassandra_client/
83
+ licenses: []
84
+
85
+ post_install_message:
86
+ rdoc_options:
87
+ - --line-numbers
88
+ - --inline-source
89
+ - --title
90
+ - Cassandra_client
91
+ - --main
92
+ - README
93
+ require_paths:
94
+ - lib
95
+ required_ruby_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ version: "0"
100
+ version:
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: "0.8"
106
+ version:
107
+ requirements: []
108
+
109
+ rubyforge_project: fauna
110
+ rubygems_version: 1.3.4
111
+ signing_key:
112
+ specification_version: 3
113
+ summary: A Ruby client for CassandraDB.
114
+ test_files:
115
+ - test/cassandra_client_test.rb
metadata.gz.sig ADDED
Binary file