ok_hbase 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/.gitignore +18 -0
  2. data/.rspec +2 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +17 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +47 -0
  7. data/Rakefile +22 -0
  8. data/examples/README.md +46 -0
  9. data/examples/advanced/README.md +36 -0
  10. data/examples/advanced/perf_read.rb +146 -0
  11. data/examples/advanced/perf_write.rb +143 -0
  12. data/examples/advanced/table_read.rb +115 -0
  13. data/examples/advanced/table_write.rb +128 -0
  14. data/examples/table_scan.rb +97 -0
  15. data/examples/table_write.rb +97 -0
  16. data/lib/ok_hbase/active_model.rb +35 -0
  17. data/lib/ok_hbase/client.rb +42 -0
  18. data/lib/ok_hbase/concerns/custom_row/class_methods.rb +13 -0
  19. data/lib/ok_hbase/concerns/custom_row.rb +40 -0
  20. data/lib/ok_hbase/concerns/indexable/class_methods.rb +13 -0
  21. data/lib/ok_hbase/concerns/indexable.rb +101 -0
  22. data/lib/ok_hbase/concerns/row.rb +85 -0
  23. data/lib/ok_hbase/concerns/table/batch.rb +95 -0
  24. data/lib/ok_hbase/concerns/table/class_methods.rb +13 -0
  25. data/lib/ok_hbase/concerns/table/instrumentation.rb +48 -0
  26. data/lib/ok_hbase/concerns/table.rb +241 -0
  27. data/lib/ok_hbase/concerns.rb +13 -0
  28. data/lib/ok_hbase/connection.rb +157 -0
  29. data/lib/ok_hbase/row.rb +21 -0
  30. data/lib/ok_hbase/table.rb +10 -0
  31. data/lib/ok_hbase/version.rb +3 -0
  32. data/lib/ok_hbase.rb +39 -0
  33. data/lib/thrift/hbase/hbase.rb +2643 -0
  34. data/lib/thrift/hbase/hbase_constants.rb +14 -0
  35. data/lib/thrift/hbase/hbase_types.rb +252 -0
  36. data/ok-hbase.gemspec +23 -0
  37. data/spec/ok_hbase/connection_spec.rb +99 -0
  38. data/spec/ok_hbase/table_spec.rb +149 -0
  39. data/spec/ok_hbase_spec.rb +24 -0
  40. data/spec/spec_helper.rb +20 -0
  41. data/tasks/bump.rb +30 -0
  42. metadata +122 -0
metadata ADDED
@@ -0,0 +1,122 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ok_hbase
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.5
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Nathan Keyes
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-06-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: thrift
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 0.9.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 0.9.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: activesupport
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Lightweight Ruby Hbase Client
47
+ email:
48
+ - keyes@okcupidlabs.com
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - .gitignore
54
+ - .rspec
55
+ - .rvmrc
56
+ - Gemfile
57
+ - LICENSE.txt
58
+ - README.md
59
+ - Rakefile
60
+ - examples/README.md
61
+ - examples/advanced/README.md
62
+ - examples/advanced/perf_read.rb
63
+ - examples/advanced/perf_write.rb
64
+ - examples/advanced/table_read.rb
65
+ - examples/advanced/table_write.rb
66
+ - examples/table_scan.rb
67
+ - examples/table_write.rb
68
+ - lib/ok_hbase.rb
69
+ - lib/ok_hbase/active_model.rb
70
+ - lib/ok_hbase/client.rb
71
+ - lib/ok_hbase/concerns.rb
72
+ - lib/ok_hbase/concerns/custom_row.rb
73
+ - lib/ok_hbase/concerns/custom_row/class_methods.rb
74
+ - lib/ok_hbase/concerns/indexable.rb
75
+ - lib/ok_hbase/concerns/indexable/class_methods.rb
76
+ - lib/ok_hbase/concerns/row.rb
77
+ - lib/ok_hbase/concerns/table.rb
78
+ - lib/ok_hbase/concerns/table/batch.rb
79
+ - lib/ok_hbase/concerns/table/class_methods.rb
80
+ - lib/ok_hbase/concerns/table/instrumentation.rb
81
+ - lib/ok_hbase/connection.rb
82
+ - lib/ok_hbase/row.rb
83
+ - lib/ok_hbase/table.rb
84
+ - lib/ok_hbase/version.rb
85
+ - lib/thrift/hbase/hbase.rb
86
+ - lib/thrift/hbase/hbase_constants.rb
87
+ - lib/thrift/hbase/hbase_types.rb
88
+ - ok-hbase.gemspec
89
+ - spec/ok_hbase/connection_spec.rb
90
+ - spec/ok_hbase/table_spec.rb
91
+ - spec/ok_hbase_spec.rb
92
+ - spec/spec_helper.rb
93
+ - tasks/bump.rb
94
+ homepage: http://okcwest.github.io/ok_hbase/
95
+ licenses: []
96
+ post_install_message:
97
+ rdoc_options: []
98
+ require_paths:
99
+ - lib
100
+ required_ruby_version: !ruby/object:Gem::Requirement
101
+ none: false
102
+ requirements:
103
+ - - ! '>='
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ requirements: []
113
+ rubyforge_project:
114
+ rubygems_version: 1.8.24
115
+ signing_key:
116
+ specification_version: 3
117
+ summary: Lightweight Ruby Hbase Client
118
+ test_files:
119
+ - spec/ok_hbase/connection_spec.rb
120
+ - spec/ok_hbase/table_spec.rb
121
+ - spec/ok_hbase_spec.rb
122
+ - spec/spec_helper.rb