Create Arrow Schema objects
Usage
narrow_schema(
format,
name = "",
metadata = NULL,
flags = narrow_schema_flags(),
children = NULL,
dictionary = NULL
)
narrow_schema_flags(
dictionary_ordered = FALSE,
nullable = TRUE,
map_keys_sorted = FALSE
)
narrow_schema_deep_copy(schema)
as_narrow_schema(x, ...)
# S3 method for narrow_schema
as_narrow_schema(x, ...)
# S3 method for character
as_narrow_schema(x, ...)
narrow_schema_info(x, ..., recursive = FALSE)
Arguments
- format
- name
An optional name
- metadata
A named character vector of
list()
ofraw()
containing key/value metadata.- flags
Flags to set on input (see
narrow_schema_flags()
)- children
A
list()
of objects created usingnarrow_schema()
.- dictionary
An
narrow_schema()
if this is a dictionary type.- dictionary_ordered
TRUE
if thedictionary
array is ordered- nullable
TRUE
if the type is semantically nullable- map_keys_sorted
TRUE
if the keys for a map have been sorted- schema
A schema created with
narrow_schema()
- x
An object to convert to an
narrow_schema()
- ...
Passed to S3 methods
- recursive
Use
TRUE
to serialize the schema recursively