Method: Impala::Cursor#fetch_all

Defined in:
lib/impala/cursor.rb

#fetch_allArray<Hash>

Returns all the remaining rows in the result set.

Returns:

  • (Array<Hash>)

    the remaining rows in the result set

See Also:

  • #fetch_one


51
52
53
# File 'lib/impala/cursor.rb', line 51

def fetch_all
  self.to_a
end