New.httpquery: Start a query running asynchronously in SciDB. Return an env...

View source: R/httpapi.R

New.httpqueryR Documentation

Start a query running asynchronously in SciDB. Return an env of class "httpquery" to wrap the query while it executes.

Description

Start a query running asynchronously in SciDB. Return an env of class "httpquery" to wrap the query while it executes.

Usage

New.httpquery(conn, afl, options = list())

Arguments

conn

the "connection" env attribute of a scidb database connection

afl

the AFL query to execute

options

a named list of extra options to include in the metadata for the query. See "Query Options" in the [SciDB HTTP API User Guide](https://paradigm4.atlassian.net/l/cp/4pUzXzzh) for a full list. Options include: * format: requested output format * pageSize: requested number of elements per page * precision: number of significant floating-point digits to output

Value

an env of class "httpquery" to manage the query. Call Next.httpquery to get the first page of output. Call Close.httpquery to close the query. The query is closed automatically when the httpquery object goes out is garbage-collected.


Paradigm4/SciDBR documentation built on Nov. 9, 2023, 4:58 a.m.