Class: Hypertable::ThriftGen::ClientService::Client
- Inherits:
-
Object
- Object
- Hypertable::ThriftGen::ClientService::Client
- Includes:
- Thrift::Client
- Defined in:
- lib/hypertable/gen-rb/client_service.rb
Direct Known Subclasses
Instance Method Summary collapse
- #close_mutator(mutator, flush) ⇒ Object
- #close_scanner(scanner) ⇒ Object
- #create_table(name, schema) ⇒ Object
- #drop_table(name, if_exists) ⇒ Object
- #flush_mutator(mutator) ⇒ Object
- #get_cell(name, row, column) ⇒ Object
- #get_cells(name, scan_spec) ⇒ Object
- #get_cells_as_arrays(name, scan_spec) ⇒ Object
- #get_row(name, row) ⇒ Object
- #get_row_as_arrays(name, row) ⇒ Object
- #get_schema(name) ⇒ Object
- #get_table_id(name) ⇒ Object
- #get_tables ⇒ Object
- #next_cells(scanner) ⇒ Object
- #next_cells_as_arrays(scanner) ⇒ Object
- #next_row(scanner) ⇒ Object
- #next_row_as_arrays(scanner) ⇒ Object
- #open_mutator(name) ⇒ Object
- #open_scanner(name, scan_spec, retry_table_not_found) ⇒ Object
- #recv_close_mutator ⇒ Object
- #recv_close_scanner ⇒ Object
- #recv_create_table ⇒ Object
- #recv_drop_table ⇒ Object
- #recv_flush_mutator ⇒ Object
- #recv_get_cell ⇒ Object
- #recv_get_cells ⇒ Object
- #recv_get_cells_as_arrays ⇒ Object
- #recv_get_row ⇒ Object
- #recv_get_row_as_arrays ⇒ Object
- #recv_get_schema ⇒ Object
- #recv_get_table_id ⇒ Object
- #recv_get_tables ⇒ Object
- #recv_next_cells ⇒ Object
- #recv_next_cells_as_arrays ⇒ Object
- #recv_next_row ⇒ Object
- #recv_next_row_as_arrays ⇒ Object
- #recv_open_mutator ⇒ Object
- #recv_open_scanner ⇒ Object
- #recv_set_cell ⇒ Object
- #recv_set_cell_as_array ⇒ Object
- #recv_set_cells ⇒ Object
- #recv_set_cells_as_arrays ⇒ Object
- #send_close_mutator(mutator, flush) ⇒ Object
- #send_close_scanner(scanner) ⇒ Object
- #send_create_table(name, schema) ⇒ Object
- #send_drop_table(name, if_exists) ⇒ Object
- #send_flush_mutator(mutator) ⇒ Object
- #send_get_cell(name, row, column) ⇒ Object
- #send_get_cells(name, scan_spec) ⇒ Object
- #send_get_cells_as_arrays(name, scan_spec) ⇒ Object
- #send_get_row(name, row) ⇒ Object
- #send_get_row_as_arrays(name, row) ⇒ Object
- #send_get_schema(name) ⇒ Object
- #send_get_table_id(name) ⇒ Object
- #send_get_tables ⇒ Object
- #send_next_cells(scanner) ⇒ Object
- #send_next_cells_as_arrays(scanner) ⇒ Object
- #send_next_row(scanner) ⇒ Object
- #send_next_row_as_arrays(scanner) ⇒ Object
- #send_open_mutator(name) ⇒ Object
- #send_open_scanner(name, scan_spec, retry_table_not_found) ⇒ Object
- #send_set_cell(mutator, cell) ⇒ Object
- #send_set_cell_as_array(mutator, cell) ⇒ Object
- #send_set_cells(mutator, cells) ⇒ Object
- #send_set_cells_as_arrays(mutator, cells) ⇒ Object
- #set_cell(mutator, cell) ⇒ Object
- #set_cell_as_array(mutator, cell) ⇒ Object
- #set_cells(mutator, cells) ⇒ Object
- #set_cells_as_arrays(mutator, cells) ⇒ Object
Instance Method Details
#close_mutator(mutator, flush) ⇒ Object
222 223 224 225 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 222 def close_mutator(mutator, flush) send_close_mutator(mutator, flush) recv_close_mutator() end |
#close_scanner(scanner) ⇒ Object
47 48 49 50 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 47 def close_scanner(scanner) send_close_scanner(scanner) recv_close_scanner() end |
#create_table(name, schema) ⇒ Object
16 17 18 19 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 16 def create_table(name, schema) send_create_table(name, schema) recv_create_table() end |
#drop_table(name, if_exists) ⇒ Object
360 361 362 363 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 360 def drop_table(name, if_exists) send_drop_table(name, if_exists) recv_drop_table() end |
#flush_mutator(mutator) ⇒ Object
297 298 299 300 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 297 def flush_mutator(mutator) send_flush_mutator(mutator) recv_flush_mutator() end |
#get_cell(name, row, column) ⇒ Object
158 159 160 161 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 158 def get_cell(name, row, column) send_get_cell(name, row, column) return recv_get_cell() end |
#get_cells(name, scan_spec) ⇒ Object
174 175 176 177 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 174 def get_cells(name, scan_spec) send_get_cells(name, scan_spec) return recv_get_cells() end |
#get_cells_as_arrays(name, scan_spec) ⇒ Object
190 191 192 193 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 190 def get_cells_as_arrays(name, scan_spec) send_get_cells_as_arrays(name, scan_spec) return recv_get_cells_as_arrays() end |
#get_row(name, row) ⇒ Object
126 127 128 129 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 126 def get_row(name, row) send_get_row(name, row) return recv_get_row() end |
#get_row_as_arrays(name, row) ⇒ Object
142 143 144 145 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 142 def get_row_as_arrays(name, row) send_get_row_as_arrays(name, row) return recv_get_row_as_arrays() end |
#get_schema(name) ⇒ Object
328 329 330 331 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 328 def get_schema(name) send_get_schema(name) return recv_get_schema() end |
#get_table_id(name) ⇒ Object
312 313 314 315 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 312 def get_table_id(name) send_get_table_id(name) return recv_get_table_id() end |
#get_tables ⇒ Object
344 345 346 347 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 344 def get_tables() send_get_tables() return recv_get_tables() end |
#next_cells(scanner) ⇒ Object
62 63 64 65 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 62 def next_cells(scanner) send_next_cells(scanner) return recv_next_cells() end |
#next_cells_as_arrays(scanner) ⇒ Object
78 79 80 81 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 78 def next_cells_as_arrays(scanner) send_next_cells_as_arrays(scanner) return recv_next_cells_as_arrays() end |
#next_row(scanner) ⇒ Object
94 95 96 97 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 94 def next_row(scanner) send_next_row(scanner) return recv_next_row() end |
#next_row_as_arrays(scanner) ⇒ Object
110 111 112 113 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 110 def next_row_as_arrays(scanner) send_next_row_as_arrays(scanner) return recv_next_row_as_arrays() end |
#open_mutator(name) ⇒ Object
206 207 208 209 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 206 def open_mutator(name) send_open_mutator(name) return recv_open_mutator() end |
#open_scanner(name, scan_spec, retry_table_not_found) ⇒ Object
31 32 33 34 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 31 def open_scanner(name, scan_spec, retry_table_not_found) send_open_scanner(name, scan_spec, retry_table_not_found) return recv_open_scanner() end |
#recv_close_mutator ⇒ Object
231 232 233 234 235 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 231 def recv_close_mutator() result = (Close_mutator_result) raise result.e unless result.e.nil? return end |
#recv_close_scanner ⇒ Object
56 57 58 59 60 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 56 def recv_close_scanner() result = (Close_scanner_result) raise result.e unless result.e.nil? return end |
#recv_create_table ⇒ Object
25 26 27 28 29 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 25 def recv_create_table() result = (Create_table_result) raise result.e unless result.e.nil? return end |
#recv_drop_table ⇒ Object
369 370 371 372 373 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 369 def recv_drop_table() result = (Drop_table_result) raise result.e unless result.e.nil? return end |
#recv_flush_mutator ⇒ Object
306 307 308 309 310 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 306 def recv_flush_mutator() result = (Flush_mutator_result) raise result.e unless result.e.nil? return end |
#recv_get_cell ⇒ Object
167 168 169 170 171 172 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 167 def recv_get_cell() result = (Get_cell_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cell failed: unknown result') end |
#recv_get_cells ⇒ Object
183 184 185 186 187 188 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 183 def recv_get_cells() result = (Get_cells_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cells failed: unknown result') end |
#recv_get_cells_as_arrays ⇒ Object
199 200 201 202 203 204 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 199 def recv_get_cells_as_arrays() result = (Get_cells_as_arrays_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_cells_as_arrays failed: unknown result') end |
#recv_get_row ⇒ Object
135 136 137 138 139 140 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 135 def recv_get_row() result = (Get_row_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_row failed: unknown result') end |
#recv_get_row_as_arrays ⇒ Object
151 152 153 154 155 156 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 151 def recv_get_row_as_arrays() result = (Get_row_as_arrays_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_row_as_arrays failed: unknown result') end |
#recv_get_schema ⇒ Object
337 338 339 340 341 342 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 337 def recv_get_schema() result = (Get_schema_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_schema failed: unknown result') end |
#recv_get_table_id ⇒ Object
321 322 323 324 325 326 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 321 def recv_get_table_id() result = (Get_table_id_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_id failed: unknown result') end |
#recv_get_tables ⇒ Object
353 354 355 356 357 358 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 353 def recv_get_tables() result = (Get_tables_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_tables failed: unknown result') end |
#recv_next_cells ⇒ Object
71 72 73 74 75 76 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 71 def recv_next_cells() result = (Next_cells_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_cells failed: unknown result') end |
#recv_next_cells_as_arrays ⇒ Object
87 88 89 90 91 92 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 87 def recv_next_cells_as_arrays() result = (Next_cells_as_arrays_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_cells_as_arrays failed: unknown result') end |
#recv_next_row ⇒ Object
103 104 105 106 107 108 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 103 def recv_next_row() result = (Next_row_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_row failed: unknown result') end |
#recv_next_row_as_arrays ⇒ Object
119 120 121 122 123 124 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 119 def recv_next_row_as_arrays() result = (Next_row_as_arrays_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'next_row_as_arrays failed: unknown result') end |
#recv_open_mutator ⇒ Object
215 216 217 218 219 220 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 215 def recv_open_mutator() result = (Open_mutator_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'open_mutator failed: unknown result') end |
#recv_open_scanner ⇒ Object
40 41 42 43 44 45 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 40 def recv_open_scanner() result = (Open_scanner_result) return result.success unless result.success.nil? raise result.e unless result.e.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'open_scanner failed: unknown result') end |
#recv_set_cell ⇒ Object
246 247 248 249 250 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 246 def recv_set_cell() result = (Set_cell_result) raise result.e unless result.e.nil? return end |
#recv_set_cell_as_array ⇒ Object
261 262 263 264 265 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 261 def recv_set_cell_as_array() result = (Set_cell_as_array_result) raise result.e unless result.e.nil? return end |
#recv_set_cells ⇒ Object
276 277 278 279 280 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 276 def recv_set_cells() result = (Set_cells_result) raise result.e unless result.e.nil? return end |
#recv_set_cells_as_arrays ⇒ Object
291 292 293 294 295 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 291 def recv_set_cells_as_arrays() result = (Set_cells_as_arrays_result) raise result.e unless result.e.nil? return end |
#send_close_mutator(mutator, flush) ⇒ Object
227 228 229 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 227 def send_close_mutator(mutator, flush) ('close_mutator', Close_mutator_args, :mutator => mutator, :flush => flush) end |
#send_close_scanner(scanner) ⇒ Object
52 53 54 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 52 def send_close_scanner(scanner) ('close_scanner', Close_scanner_args, :scanner => scanner) end |
#send_create_table(name, schema) ⇒ Object
21 22 23 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 21 def send_create_table(name, schema) ('create_table', Create_table_args, :name => name, :schema => schema) end |
#send_drop_table(name, if_exists) ⇒ Object
365 366 367 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 365 def send_drop_table(name, if_exists) ('drop_table', Drop_table_args, :name => name, :if_exists => if_exists) end |
#send_flush_mutator(mutator) ⇒ Object
302 303 304 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 302 def send_flush_mutator(mutator) ('flush_mutator', Flush_mutator_args, :mutator => mutator) end |
#send_get_cell(name, row, column) ⇒ Object
163 164 165 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 163 def send_get_cell(name, row, column) ('get_cell', Get_cell_args, :name => name, :row => row, :column => column) end |
#send_get_cells(name, scan_spec) ⇒ Object
179 180 181 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 179 def send_get_cells(name, scan_spec) ('get_cells', Get_cells_args, :name => name, :scan_spec => scan_spec) end |
#send_get_cells_as_arrays(name, scan_spec) ⇒ Object
195 196 197 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 195 def send_get_cells_as_arrays(name, scan_spec) ('get_cells_as_arrays', Get_cells_as_arrays_args, :name => name, :scan_spec => scan_spec) end |
#send_get_row(name, row) ⇒ Object
131 132 133 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 131 def send_get_row(name, row) ('get_row', Get_row_args, :name => name, :row => row) end |
#send_get_row_as_arrays(name, row) ⇒ Object
147 148 149 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 147 def send_get_row_as_arrays(name, row) ('get_row_as_arrays', Get_row_as_arrays_args, :name => name, :row => row) end |
#send_get_schema(name) ⇒ Object
333 334 335 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 333 def send_get_schema(name) ('get_schema', Get_schema_args, :name => name) end |
#send_get_table_id(name) ⇒ Object
317 318 319 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 317 def send_get_table_id(name) ('get_table_id', Get_table_id_args, :name => name) end |
#send_get_tables ⇒ Object
349 350 351 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 349 def send_get_tables() ('get_tables', Get_tables_args) end |
#send_next_cells(scanner) ⇒ Object
67 68 69 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 67 def send_next_cells(scanner) ('next_cells', Next_cells_args, :scanner => scanner) end |
#send_next_cells_as_arrays(scanner) ⇒ Object
83 84 85 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 83 def send_next_cells_as_arrays(scanner) ('next_cells_as_arrays', Next_cells_as_arrays_args, :scanner => scanner) end |
#send_next_row(scanner) ⇒ Object
99 100 101 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 99 def send_next_row(scanner) ('next_row', Next_row_args, :scanner => scanner) end |
#send_next_row_as_arrays(scanner) ⇒ Object
115 116 117 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 115 def send_next_row_as_arrays(scanner) ('next_row_as_arrays', Next_row_as_arrays_args, :scanner => scanner) end |
#send_open_mutator(name) ⇒ Object
211 212 213 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 211 def send_open_mutator(name) ('open_mutator', Open_mutator_args, :name => name) end |
#send_open_scanner(name, scan_spec, retry_table_not_found) ⇒ Object
36 37 38 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 36 def send_open_scanner(name, scan_spec, retry_table_not_found) ('open_scanner', Open_scanner_args, :name => name, :scan_spec => scan_spec, :retry_table_not_found => retry_table_not_found) end |
#send_set_cell(mutator, cell) ⇒ Object
242 243 244 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 242 def send_set_cell(mutator, cell) ('set_cell', Set_cell_args, :mutator => mutator, :cell => cell) end |
#send_set_cell_as_array(mutator, cell) ⇒ Object
257 258 259 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 257 def send_set_cell_as_array(mutator, cell) ('set_cell_as_array', Set_cell_as_array_args, :mutator => mutator, :cell => cell) end |
#send_set_cells(mutator, cells) ⇒ Object
272 273 274 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 272 def send_set_cells(mutator, cells) ('set_cells', Set_cells_args, :mutator => mutator, :cells => cells) end |
#send_set_cells_as_arrays(mutator, cells) ⇒ Object
287 288 289 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 287 def send_set_cells_as_arrays(mutator, cells) ('set_cells_as_arrays', Set_cells_as_arrays_args, :mutator => mutator, :cells => cells) end |
#set_cell(mutator, cell) ⇒ Object
237 238 239 240 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 237 def set_cell(mutator, cell) send_set_cell(mutator, cell) recv_set_cell() end |
#set_cell_as_array(mutator, cell) ⇒ Object
252 253 254 255 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 252 def set_cell_as_array(mutator, cell) send_set_cell_as_array(mutator, cell) recv_set_cell_as_array() end |
#set_cells(mutator, cells) ⇒ Object
267 268 269 270 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 267 def set_cells(mutator, cells) send_set_cells(mutator, cells) recv_set_cells() end |
#set_cells_as_arrays(mutator, cells) ⇒ Object
282 283 284 285 |
# File 'lib/hypertable/gen-rb/client_service.rb', line 282 def set_cells_as_arrays(mutator, cells) send_set_cells_as_arrays(mutator, cells) recv_set_cells_as_arrays() end |