Learn R Programming

arrow (version 0.15.1)

ChunkedArray: ChunkedArray class

Description

A ChunkedArray is a data structure managing a list of primitive Arrow Arrays logically as one large array. Chunked arrays may be grouped together in a Table.

Usage

chunked_array(..., type = NULL)

Arguments

Vectors to coerce

type

currently ignored

Factory

The ChunkedArray$create() factory method instantiates the object from various Arrays or R vectors. chunked_array() is an alias for it.

Methods

  • $length()

  • $chunk(i)

  • $as_vector()

  • $Slice(offset, length = NULL)

  • $cast(target_type, safe = TRUE, options = cast_options(safe))

  • $null_count()

  • $chunks()

  • $num_chunks()

  • $type()

  • $View(type): Construct a zero-copy view of this chunked array with the given type.

  • $Validate() : Perform any validation checks to determine obvious inconsistencies within the array's internal data. This can be an expensive check, potentially O(length)

See Also

Array