This function allocates a query buffer for the given data type.

tiledb_query_buffer_alloc_ptr(query, datatype, ncells)

Arguments

query

A TileDB Query object

datatype

A character value containing the data type

ncells

A number of elements (not bytes)

Value

An external pointer to the allocated buffer object