| PrestoQuery-class | R Documentation |
This reference class (so that the object can be passed by reference and modified) encapsulates the lifecycle of a Presto query from its inception (by providing a PrestoConnection and a query statement) to the steps it takes to execute (i.e. an initial POST request and subsequent GET requests).
This is similar to the PrestoQuery class defined in the Presto Python client
.connA PrestoConnection object
.statementThe query statement
.idThe query ID returned after the first POST request
.timestampThe timestamp of the query execution
.bigintHow BIGINT fields should be converted to an R class
.stateThe query state. This changes every time the query advances to the next stage
.next.uriThe URI that specifies the next endpoint to send the GET request
.info.uriThe information URI
.statsQuery stats. This changes every time the query advances to the next stage
.responseHTTP request response. This changes when the query advances
.contentParsed content from the HTTP request response
.fetched.row.countHow many rows of data have been fetched to R
.post.data.fetchedA boolean flag indicating if data returned from the POST request has been fetched
.quietIf a progress bar should be shown for long queries (which run
for more than 2 seconds. Default to NA which turns on the
progress bar for interactive queries.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.