Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
make_builder in datafusion::common::arrow::array - Rust
[go: Go Back, main page]

Function make_builder

Source
pub fn make_builder(
    datatype: &DataType,
    capacity: usize,
) -> Box<dyn ArrayBuilder>
Expand description

Returns a builder with capacity for capacity elements of datatype DataType.

This function is useful to construct arrays from an arbitrary vectors with known/expected schema.

See comments on StructBuilder for retrieving collection builders built by make_builder.