lib/impala/connection.rb
# Perform a query and return a cursor for iterating over the results.
# @param [String] query the query you want to run
# @return [Cursor] a cursor for the result rows
Perform a query and return a cursor for iterating over the results.
Perform a query and return a cursor for iterating over the results .
def execute(raw_query)
      raise ConnectionError.new("Connection closed") unless open?
      query = sanitize_query(raw_query)
      handle = send_query(query)
      wait_for_result(handle)
      Cursor.new(handle, @service)
    end
def execute ( raw_query ) raise ConnectionError . new ( "Connection closed" ) unless open? query = sanitize_query ( raw_query ) handle = send_query ( query ) wait_for_result ( handle ) Cursor . new ( handle , @service ) end
Perform a query and return a cursor for iterating over the results.
Perform a query and return a cursor for iterating over the results .
a cursor for the result rows
a cursor for the result rows
Cursor
raw_query
<not_specific>
<not_specific>
query the query you want to run
query the query you want to run