Skip to content

Commit

Permalink
Support batched queries (#429)
Browse files Browse the repository at this point in the history
* first attempt with tiledb_batch as well as new function

* removed not-working tiledb_batched class

* add helper function documentation for batched queries

* adding completed and statis helpers

* add unit test for batched operation

* use batchedquery s3 type for batched query data helper
  • Loading branch information
eddelbuettel authored Jun 23, 2022
1 parent 7efe67b commit c67258c
Show file tree
Hide file tree
Showing 10 changed files with 533 additions and 0 deletions.
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ export(capacity)
export(cell_order)
export(cell_val_num)
export(check)
export(completedBatched)
export(config)
export(createBatched)
export(datatype)
export(datetimes_as_int64)
export(dimensions)
export(domain)
export(extended)
export(fetchBatched)
export(filter_list)
export(fromDataFrame)
export(fromMatrix)
Expand Down Expand Up @@ -70,6 +73,7 @@ export(selected_ranges)
export(set_allocation_size_preference)
export(set_max_chunk_size)
export(set_return_as_preference)
export(statusBatched)
export(strings_as_factors)
export(tdb_collect)
export(tdb_filter)
Expand Down
4 changes: 4 additions & 0 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ libtiledb_query_import_buffer <- function(ctx, query, name, arrowpointers) {
.Call(`_tiledb_libtiledb_query_import_buffer`, ctx, query, name, arrowpointers)
}

makeQueryWrapper <- function(qp) {
.Call(`_tiledb_makeQueryWrapper`, qp)
}

libtiledb_query_set_coordinates <- function(query, coords, dtype) {
.Call(`_tiledb_libtiledb_query_set_coordinates`, query, coords, dtype)
}
Expand Down
Loading

0 comments on commit c67258c

Please sign in to comment.