Class: Hypertable::ThriftGen::HqlService::Client
Instance Method Summary
collapse
#close_mutator, #close_scanner, #create_table, #drop_table, #exists_table, #flush_mutator, #get_cell, #get_cells, #get_cells_as_arrays, #get_row, #get_row_as_arrays, #get_schema, #get_table_id, #get_table_splits, #get_tables, #next_cells, #next_cells_as_arrays, #next_row, #next_row_as_arrays, #open_mutator, #open_scanner, #put_cell, #put_cell_as_array, #put_cells, #put_cells_as_arrays, #recv_close_mutator, #recv_close_scanner, #recv_create_table, #recv_drop_table, #recv_exists_table, #recv_flush_mutator, #recv_get_cell, #recv_get_cells, #recv_get_cells_as_arrays, #recv_get_row, #recv_get_row_as_arrays, #recv_get_schema, #recv_get_table_id, #recv_get_table_splits, #recv_get_tables, #recv_next_cells, #recv_next_cells_as_arrays, #recv_next_row, #recv_next_row_as_arrays, #recv_open_mutator, #recv_open_scanner, #recv_put_cell, #recv_put_cell_as_array, #recv_put_cells, #recv_put_cells_as_arrays, #recv_set_cell, #recv_set_cell_as_array, #recv_set_cells, #recv_set_cells_as_arrays, #send_close_mutator, #send_close_scanner, #send_create_table, #send_drop_table, #send_exists_table, #send_flush_mutator, #send_get_cell, #send_get_cells, #send_get_cells_as_arrays, #send_get_row, #send_get_row_as_arrays, #send_get_schema, #send_get_table_id, #send_get_table_splits, #send_get_tables, #send_next_cells, #send_next_cells_as_arrays, #send_next_row, #send_next_row_as_arrays, #send_open_mutator, #send_open_scanner, #send_put_cell, #send_put_cell_as_array, #send_put_cells, #send_put_cells_as_arrays, #send_set_cell, #send_set_cell_as_array, #send_set_cells, #send_set_cells_as_arrays, #set_cell, #set_cell_as_array, #set_cells, #set_cells_as_arrays
Instance Method Details
#hql_exec(command, noflush, unbuffered) ⇒ Object
17
18
19
20
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 17
def hql_exec(command, noflush, unbuffered)
send_hql_exec(command, noflush, unbuffered)
return recv_hql_exec()
end
|
#hql_exec2(command, noflush, unbuffered) ⇒ Object
49
50
51
52
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 49
def hql_exec2(command, noflush, unbuffered)
send_hql_exec2(command, noflush, unbuffered)
return recv_hql_exec2()
end
|
#hql_query(command) ⇒ Object
33
34
35
36
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 33
def hql_query(command)
send_hql_query(command)
return recv_hql_query()
end
|
#hql_query2(command) ⇒ Object
65
66
67
68
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 65
def hql_query2(command)
send_hql_query2(command)
return recv_hql_query2()
end
|
#recv_hql_exec ⇒ Object
26
27
28
29
30
31
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 26
def recv_hql_exec()
result = receive_message(Hql_exec_result)
return result.success unless result.success.nil?
raise result.e unless result.e.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hql_exec failed: unknown result')
end
|
#recv_hql_exec2 ⇒ Object
58
59
60
61
62
63
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 58
def recv_hql_exec2()
result = receive_message(Hql_exec2_result)
return result.success unless result.success.nil?
raise result.e unless result.e.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hql_exec2 failed: unknown result')
end
|
#recv_hql_query ⇒ Object
42
43
44
45
46
47
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 42
def recv_hql_query()
result = receive_message(Hql_query_result)
return result.success unless result.success.nil?
raise result.e unless result.e.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hql_query failed: unknown result')
end
|
#recv_hql_query2 ⇒ Object
74
75
76
77
78
79
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 74
def recv_hql_query2()
result = receive_message(Hql_query2_result)
return result.success unless result.success.nil?
raise result.e unless result.e.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'hql_query2 failed: unknown result')
end
|
#send_hql_exec(command, noflush, unbuffered) ⇒ Object
22
23
24
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 22
def send_hql_exec(command, noflush, unbuffered)
send_message('hql_exec', Hql_exec_args, :command => command, :noflush => noflush, :unbuffered => unbuffered)
end
|
#send_hql_exec2(command, noflush, unbuffered) ⇒ Object
54
55
56
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 54
def send_hql_exec2(command, noflush, unbuffered)
send_message('hql_exec2', Hql_exec2_args, :command => command, :noflush => noflush, :unbuffered => unbuffered)
end
|
#send_hql_query(command) ⇒ Object
38
39
40
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 38
def send_hql_query(command)
send_message('hql_query', Hql_query_args, :command => command)
end
|
#send_hql_query2(command) ⇒ Object
70
71
72
|
# File 'lib/hypertable/gen-rb/hql_service.rb', line 70
def send_hql_query2(command)
send_message('hql_query2', Hql_query2_args, :command => command)
end
|