Skip to contents

Create arrow vectors

Usage

narrow_array(
  schema = narrow_schema("n"),
  array_data = narrow_array_data(),
  validate = TRUE
)

narrow_array_validate(x)

as_narrow_array(x, ...)

# S3 method for narrow_array
as_narrow_array(x, ...)

Arguments

schema

An narrow_schema()

array_data

An narrow_array_data()

validate

Use FALSE to skip validation

x

An object to convert to an narrow_array()

...

Passed to S3 methods

Value

An object of class "narrow_array"

Examples

narrow_array()
#> <narrow_array n[0]>
#> - schema:
#>   <narrow_schema 'n' at 0x55e692687560>
#>   - format: n
#>   - name: 
#>   - flags: nullable
#>   - metadata:  list()
#>   - dictionary: NULL
#>   - children[0]:
#> - array_data:
#>   <narrow_array_data at 0x55e6926809e0>
#>   - length: 0
#>   - null_count: -1
#>   - offset: 0
#>   - buffers[0]:
#>   - dictionary: NULL
#>   - children[0]: