Skip to main content

Module schema

Module schema 

Source

Re-exportsยง

use super::ValueIter; ๐Ÿ”’
use arrow_schema::ArrowError; ๐Ÿ”’
use arrow_schema::DataType; ๐Ÿ”’
use arrow_schema::Field; ๐Ÿ”’
use arrow_schema::Fields; ๐Ÿ”’
use arrow_schema::Schema; ๐Ÿ”’
use indexmap::map::IndexMap as HashMap; ๐Ÿ”’
use indexmap::set::IndexSet as HashSet; ๐Ÿ”’
use serde_json::Value; ๐Ÿ”’
use std::borrow::Borrow; ๐Ÿ”’
use std::io::BufRead; ๐Ÿ”’
use std::io::Seek; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’

Enumsยง

InferredType ๐Ÿ”’

Functionsยง

coerce_data_type ๐Ÿ”’
Coerce data type during inference
collect_field_types_from_object ๐Ÿ”’
generate_datatype ๐Ÿ”’
generate_fields ๐Ÿ”’
generate_schema ๐Ÿ”’
Generate schema from JSON field names and inferred data types
infer_array_element_type ๐Ÿ”’
infer_json_schema
Infer the fields of a JSON file by reading the first n records of the buffer, with max_read_records controlling the maximum number of records to read.
infer_json_schema_from_iterator
Infer the fields of a JSON file by reading all items from the JSON Value Iterator.
infer_json_schema_from_seekable
Infer the fields of a JSON file by reading the first n records of the file, with max_read_records controlling the maximum number of records to read.
infer_nested_array_type ๐Ÿ”’
infer_scalar_array_type ๐Ÿ”’
infer_struct_array_type ๐Ÿ”’
list_type_of ๐Ÿ”’
Shorthand for building list data type of ty
set_object_scalar_field_type ๐Ÿ”’