Module: api

Methods

(inner) Api(apiKey, client)

Handles connection to Impala API.
Parameters:
Name Type Description
apiKey string Key to authenticate into Impala API.
client function Client to make HTTP requests.
Source:

(inner) makeRequest(method, url, options) → {Promise.<response>}

Makes a request to Impala API.
Parameters:
Name Type Description
method string The HTTP method to use.
url string The endpoint of the API to call.
options array Options to pass in the request.
Source:
Returns:
response to the request.
Type
Promise.<response>