sishen-hbase-ruby 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/hbase-ruby.gemspec +1 -1
- data/lib/hbase/request/row_request.rb +1 -1
- data/lib/hbase/request/scanner_request.rb +1 -8
- metadata +1 -1
data/Rakefile
CHANGED
data/hbase-ruby.gemspec
CHANGED
@@ -11,14 +11,7 @@ module HBase
|
|
11
11
|
|
12
12
|
def open(columns, start_row = nil, end_row = nil, timestamp = nil)
|
13
13
|
search = []
|
14
|
-
|
15
|
-
search << "column=#{columns}"
|
16
|
-
elsif columns.is_a? Array
|
17
|
-
search << columns.collect { |col| "column=#{col}" }.join("&")
|
18
|
-
else
|
19
|
-
raise StandardError, "Only string or array type allowed for columns attr."
|
20
|
-
end
|
21
|
-
|
14
|
+
search << pack_params(columns)
|
22
15
|
search << "start_row=#{CGI.escape(start_row)}" if start_row
|
23
16
|
search << "end_row=#{CGI.escape(end_row)}" if end_row
|
24
17
|
search << "timestamp=#{CGI.escape(timestamp)}" if timestamp
|