powered by
Allocates a columnar table output: one typed buffer per column, each of length nrow. Intended for lock-free disjoint row-range writes in shard_map.
nrow
table_buffer(schema, nrow, backing = c("auto", "mmap", "shm"))
A shard_table_buffer object with one shared buffer per schema column.
shard_table_buffer
A shard_schema.
shard_schema
Total number of rows in the final table.
Backing type for buffers ("auto", "mmap", "shm").
"auto"
"mmap"
"shm"
# \donttest{ s <- schema(x = float64(), y = int32()) tb <- table_buffer(s, nrow = 100L) # }
Run the code above in your browser using DataLab