QueryApi | R Documentation |
tiledbcloud.Query
An R6Class
generator object
FinalizeQuery send a query to run against a specified array/URI registered to a group/project
@param namespace character
@param array character
@param type character
@param content.type character
@param query Query
@param x.payer character
@param open.at integer
@returnType Query
status code : 200 | query completed and results are returned in query object
return type : Query
response headers :
X-TILEDB-CLOUD-TASK-ID | Task ID for just completed query |
status code : 204 | query completed successfully with no return
response headers :
status code : 0 | error response
return type : Error
response headers :
GetEstResultSizes send a query to run against a specified array/URI registered to a group/project
@param namespace character
@param array character
@param type character
@param content.type character
@param query Query
@param x.payer character
@param open.at integer
@returnType Query
status code : 200 | query est result size computed and results are returned in query object
return type : Query
response headers :
X-TILEDB-CLOUD-TASK-ID | Task ID for just computed query result size |
status code : 204 | query completed successfully with no return
response headers :
status code : 0 | error response
return type : Error
response headers :
SubmitQuery send a query to run against a specified array/URI registered to a group/project
@param namespace character
@param array character
@param type character
@param content.type character
@param query Query
@param x.payer character
@param open.at integer
@returnType Query
status code : 200 | query completed and results are returned in query object
return type : Query
response headers :
X-TILEDB-CLOUD-TASK-ID | Task ID for just completed query |
status code : 204 | query completed successfully with no return
response headers :
status code : 0 | error response
return type : Error
response headers :
apiClient
Handles the client-server communication.
new()
QueryApi$new(apiClient)
FinalizeQuery()
QueryApi$FinalizeQuery( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
FinalizeQueryWithHttpInfo()
QueryApi$FinalizeQueryWithHttpInfo( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
GetEstResultSizes()
QueryApi$GetEstResultSizes( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
GetEstResultSizesWithHttpInfo()
QueryApi$GetEstResultSizesWithHttpInfo( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
SubmitQuery()
QueryApi$SubmitQuery( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
SubmitQueryWithHttpInfo()
QueryApi$SubmitQueryWithHttpInfo( namespace, array, type, content.type, query, x.payer = NULL, open.at = NULL, ... )
clone()
The objects of this class are cloneable with this method.
QueryApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run: #################### FinalizeQuery #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.type <- 'type_example' # character | type of query var.content.type <- 'application/json' # character | Content Type of input and return mime var.query <- Query$new() # Query | query to run var.x.payer <- 'x.payer_example' # character | Name of organization or user who should be charged for this request var.open.at <- 56 # integer | open_at for array in unix epoch api.instance <- QueryApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$FinalizeQuery(var.namespace, var.array, var.type, var.content.type, var.query, x.payer=var.x.payer, open.at=var.open.at) #################### GetEstResultSizes #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.type <- 'type_example' # character | type of query var.content.type <- 'application/json' # character | Content Type of input and return mime var.query <- Query$new() # Query | query to run var.x.payer <- 'x.payer_example' # character | Name of organization or user who should be charged for this request var.open.at <- 56 # integer | open_at for array in unix epoch api.instance <- QueryApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetEstResultSizes(var.namespace, var.array, var.type, var.content.type, var.query, x.payer=var.x.payer, open.at=var.open.at) #################### SubmitQuery #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace array is in (an organization name or user's username) var.array <- 'array_example' # character | name/uri of array that is url-encoded var.type <- 'type_example' # character | type of query var.content.type <- 'application/json' # character | Content Type of input and return mime var.query <- Query$new() # Query | query to run var.x.payer <- 'x.payer_example' # character | Name of organization or user who should be charged for this request var.open.at <- 56 # integer | open_at for array in unix epoch api.instance <- QueryApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$SubmitQuery(var.namespace, var.array, var.type, var.content.type, var.query, x.payer=var.x.payer, open.at=var.open.at) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.