MCPcopy Create free account

hub / github.com/apache/avro-rs / functions

Functions1,631 in github.com/apache/avro-rs

Methodname
(&self)
avro/src/util.rs:46
Methodnamed
( ident: Ident, generics: Generics, name: &str, schema_expr: TokenStream,
avro_derive/src/implementation.rs:44
Functionnested_optional_record
()
avro/src/schema_compatibility.rs:540
Functionnested_record
()
avro/src/schema_compatibility.rs:536
Methodnew
( ident: &Ident, attributes: &[Attribute], span: Span, )
avro_derive/src/attributes/mod.rs:38
Methodnew
(secs: i64, nanos: i32)
avro_derive/tests/serde.rs:390
Methodnew
(months: u32)
avro/src/duration.rs:33
Methodnew
Create a `Record` given a `Schema`. If the `Schema` is not a `Schema::Record` variant, `None` will be returned.
avro/src/types.rs:224
Methodnew
(compression_level: miniz_oxide::deflate::CompressionLevel)
avro/src/codec.rs:29
Methodnew
Create a new checker, with recursion set to an empty set.
avro/src/schema_compatibility.rs:136
Methodnew
(details: Details)
avro/src/error.rs:39
Methodnew
( /// The schema that was used to write the Avro datum. #[builder(start_fn)] writer_sc
avro/src/reader/datum.rs:52
Methodnew
Creates a `Reader` given something implementing the `io::Read` trait to read from. No reader `Schema` will be set. NOTE** The avro header is going to
avro/src/reader/mod.rs:60
Methodnew
( schema: Schema, /// The expected header. #[builder(default = RabinFingerprintHeader:
avro/src/reader/single_object.rs:43
Methodnew
( reader: R, schemata: Vec<&'r Schema>, human_readable: bool, )
avro/src/reader/block.rs:57
Methodnew
( /// The schema for the data that will be written #[builder(start_fn)] schema: &'s Sc
avro/src/writer/datum.rs:49
Methodnew
Creates a `Writer` given a `Schema` and something implementing the `io::Write` trait to write to. No compression `Codec` will be used.
avro/src/writer/mod.rs:113
Methodnew
()
avro/src/writer/single_object.rs:132
Methodnew
( input_schemas: HashMap<Name, Value>, input_order: Vec<Name>, parsed_schemas: Names,
avro/src/schema/parser.rs:44
Methodnew
Resolve all references in this schema. If some references are to other schemas, see [`ResolvedSchema::new_with_schemata`].
avro/src/schema/resolve.rs:44
Methodnew
Create a new `Name`. Parses the optional `namespace` from the `name` string. `aliases` will not be defined.
avro/src/schema/name.rs:67
Methodnew
Creates a new `UnionSchema` from a vector of schemas. # Errors Will return an error if `schemas` has duplicate unnamed schemas or if `schemas` contai
avro/src/schema/union.rs:66
Methodnew
(len: Option<usize>)
avro/src/serde/ser.rs:55
Methodnew
(input: &'de Value)
avro/src/serde/de.rs:80
Methodnew
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, )
avro/src/serde/ser_schema/mod.rs:93
Methodnew
(writer: &'w mut W, union: &'s UnionSchema, config: Config<'s, S>)
avro/src/serde/ser_schema/union.rs:49
Methodnew
( writer: &'w mut W, schema: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/tuple.rs:121
Methodnew
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, len: Option<us
avro/src/serde/ser_schema/block.rs:75
Methodnew
( writer: &'w mut W, record: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/record/mod.rs:51
Methodnew
(value: &'v Value, schema: &'s Schema)
avro/src/serde/ser_schema/record/field_default.rs:33
Methodnew
Create a new deserializer for this schema. This will resolve a [`Schema::Ref`] to its actual schema.
avro/src/serde/deser_schema/mod.rs:88
Methodnew
( reader: &'r mut R, schema: &'s Schema, config: Config<'s, S>, )
avro/src/serde/deser_schema/tuple.rs:36
Methodnew
(reader: &'r mut R, schema: &'s EnumSchema)
avro/src/serde/deser_schema/enums.rs:40
Methodnew
(reader: &'r mut R, schema: &'s RecordSchema, config: Config<'s, S>)
avro/src/serde/deser_schema/record.rs:36
Methodnew
(msg: &str)
avro/tests/shared.rs:72
Methodnew_with_capacity
( schema: &Schema, initial_buffer_cap: usize, )
avro/src/writer/single_object.rs:44
Methodnew_with_capacity_and_header_builder
( schema: &Schema, initial_buffer_cap: usize, header_builder: &HB, )
avro/src/writer/single_object.rs:52
Methodnew_with_enclosing_namespace
Create a new `Name` using the namespace from `enclosing_namespace` if absent.
avro/src/schema/name.rs:72
Methodnew_with_header_builder
(header_builder: &impl HeaderBuilder)
avro/src/writer/single_object.rs:146
Methodnew_with_known_schemata
Creates `ResolvedSchema` with some already known schemas. Those schemata would be used to resolve references if needed.
avro/src/schema/resolve.rs:60
Methodnew_with_schemata
Resolve all references in these schemas. TODO: Support this These schemas will be resolved in order, so references to schemas later in the list is no
avro/src/schema/resolve.rs:53
Methodnewtype_variant_seed
(self, _seed: T)
avro/src/serde/de.rs:153
Methodnewtype_variant_seed
(self, _: T)
avro/src/serde/deser_schema/enums.rs:76
Methodnext_element_seed
(&mut self, seed: T)
avro/src/serde/de.rs:851
Methodnext_element_seed
(&mut self, seed: T)
avro/src/serde/deser_schema/tuple.rs:60
Methodnext_element_seed
(&mut self, seed: T)
avro/src/serde/deser_schema/block.rs:93
Methodnext_entry_seed
( &mut self, kseed: K, vseed: V, )
avro/src/serde/deser_schema/block.rs:163
Methodnext_key_seed
(&mut self, seed: K)
avro/src/serde/de.rs:865
Methodnext_key_seed
(&mut self, seed: K)
avro/src/serde/deser_schema/record.rs:49
Methodnext_key_seed
(&mut self, seed: K)
avro/src/serde/deser_schema/block.rs:125
Methodnext_value_seed
(&mut self, seed: V)
avro/src/serde/de.rs:879
Methodnext_value_seed
(&mut self, seed: V)
avro/src/serde/deser_schema/record.rs:64
Methodnext_value_seed
(&mut self, seed: V)
avro/src/serde/deser_schema/block.rs:141
Functionnull_compress_and_decompress
()
avro/src/codec.rs:301
Methodone
( writer: &'w mut W, schema: &'s Schema, config: Config<'s, S>, bytes_written:
avro/src/serde/ser_schema/tuple.rs:49
Methodone_union
(writer: &'w mut W, union: &'s UnionSchema, config: Config<'s, S>)
avro/src/serde/ser_schema/tuple.rs:63
Methodparse
Parse a `serde_json::Value` into a `Name`.
avro/src/schema/name.rs:112
Methodparse
Parse a `serde_json::Value` into a `RecordField`.
avro/src/schema/record/field.rs:85
Methodparse_as_native_complex
Try to parse this as a native complex type.
avro/src/schema/parser.rs:257
Methodparse_from_raw_avro
Create an instance of the struct based on parsing the UUID out of the header of a raw message Code for reading messages will most likely want to use
avro/src/headers.rs:86
Methodparse_list
Create an array of `Schema`s from an iterator of JSON Avro schemas. It is allowed that the schemas have cross-dependencies; these will be resolved du
avro/src/schema/parser.rs:70
Methodparse_reader
Create a `Schema` from a reader which implements [`Read`].
avro/src/schema/mod.rs:614
Methodparse_special_float
IEEE 754 NaN and infinities are not valid JSON numbers. So they are represented in JSON as strings.
avro/src/types.rs:990
Methodparse_str
Create a `Schema` from a string representing a JSON Avro schema.
avro/src/schema/parser.rs:62
Methodparse_str
Create a `Schema` from a string representing a JSON Avro schema.
avro/src/schema/mod.rs:528
Methodparse_str_with_list
Create a `Schema` from a string representing a JSON Avro schema, along with an array of `Schema`'s from a list of named JSON Avro schemas (Record, Enu
avro/src/schema/mod.rs:579
Methodparse_with_names
Parses an Avro schema from JSON. Any `Schema::Ref`s must be known in the `names` map.
avro/src/schema/mod.rs:630
Functionpoint_2d_fullname_schema
()
avro/src/schema_compatibility.rs:1167
Functionpoint_2d_schema
()
avro/src/schema_compatibility.rs:1155
Functionpoint_3d_match_name_schema
()
avro/src/schema_compatibility.rs:1205
Functionpoint_3d_no_default_schema
()
avro/src/schema_compatibility.rs:1179
Functionpoint_3d_schema
()
avro/src/schema_compatibility.rs:1192
Methodpointer_hash
Hash a schema based only on its pointer value.
avro/src/schema_compatibility.rs:167
Functionproc_macro_derive_avro_schema
Templated from Serde
avro_derive/src/lib.rs:48
Methodr#enum
( #[builder(start_fn)] name: Name, #[builder(start_fn)] symbols: Vec<impl Into<String>>,
avro/src/schema/builders.rs:58
Methodread_block_header
(reader: &mut R)
avro/src/serde/deser_schema/block.rs:74
Methodread_next
(&mut self, read_schema: Option<&Schema>)
avro/src/reader/block.rs:187
Methodread_next_deser
(&mut self)
avro/src/reader/mod.rs:133
Methodread_next_deser
( &mut self, reader_schema: Option<&Schema>, )
avro/src/reader/block.rs:218
Methodrecord
( #[builder(start_fn)] name: Name, #[builder(default)] fields: Vec<RecordField>, alias
avro/src/schema/builders.rs:101
Methodrecord
( writer: &'w mut W, schema: &'s RecordSchema, config: Config<'s, S>, bytes_wr
avro/src/serde/ser_schema/mod.rs:688
Methodrecursive_type_check
(value: &Value, schema: &'s Schema)
avro/src/serde/ser_schema/record/field_default.rs:52
Methodregex
The regex used to validate the schema name. When the name part of the full name is provided as a capture group named `name`, the default implementati
avro/src/validator.rs:78
Methodregex
The regex used to validate the schema namespace. The default implementation uses the Avro specified regex.
avro/src/validator.rs:140
Methodregex
The regex used to validate the symbols of enums. The default implementation uses the Avro specified regex.
avro/src/validator.rs:193
Methodregex
The regex used to validate the record field names. The default implementation uses the Avro specified regex.
avro/src/validator.rs:244
Functionrename_fields
()
avro_derive/src/case.rs:208
Functionrename_variants
()
avro_derive/src/case.rs:170
Functionresolve_bytes_failure
()
avro/src/types.rs:1761
Functionresolve_bytes_ok
()
avro/src/types.rs:1728
Functionresolve_date
()
avro/src/types.rs:1830
Functionresolve_decimal_bytes
()
avro/src/types.rs:1767
Functionresolve_decimal_fixed
()
avro/src/types.rs:1808
Functionresolve_decimal_invalid_precision_for_length
()
avro/src/types.rs:1794
Functionresolve_decimal_invalid_scale
()
avro/src/types.rs:1780
Methodresolve_default_value
( field_schema: &Schema, field_name: &str, record_name: &str, names: &Names,
avro/src/schema/record/field.rs:135
Functionresolve_duration
()
avro/src/types.rs:1911
Functionresolve_string_from_bytes
()
avro/src/types.rs:1739
Functionresolve_string_from_fixed
()
avro/src/types.rs:1750
Functionresolve_time_micros
()
avro/src/types.rs:1844
← previousnext →1,001–1,100 of 1,631, ranked by callers