dot-Dims.UploadDesc: Given an UploadDesc, return the dimensions as a list of the...

.Dims.UploadDescR Documentation

Given an UploadDesc, return the dimensions as a list of the form: list(list(name="dim_name", start=start, length=length, chunk=chunk), list(...), ...)

Description

Given an UploadDesc, return the dimensions as a list of the form: list(list(name="dim_name", start=start, length=length, chunk=chunk), list(...), ...)

Usage

.Dims.UploadDesc(
  desc,
  default_names = NULL,
  default_chunk_sizes = NULL,
  lengths = NULL,
  make_unique = FALSE
)

Arguments

desc

an UploadDesc

default_names

an optional list of names to use as dimension names when the UploadDesc doesn't provide its own names

default_chunk_sizes

an optional list of chunk sizes to use when the UploadDesc doesn't provide its own chunk sizes

lengths

an optional list of chunk lengths; if not provided, each dimension has an unbounded length ("*")

make_unique

if TRUE, dimension names are changed to make them unique from each other and from attribute names in the UploadDesc

Value

a list of name, start, end, chunk lists


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