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_encoder in datafusion::common::arrow::json::writer - Rust
[go: Go Back, main page]

Function make_encoder

Source
pub fn make_encoder<'a>(
    field: &'a Arc<Field>,
    array: &'a dyn Array,
    options: &'a EncoderOptions,
) -> Result<NullableEncoder<'a>, ArrowError>
Expand description

Creates an encoder for the given array and field.

This first calls the EncoderFactory if one is provided, and then falls back to the default encoders.