MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / schema

Method schema

src/avro/src/reader.rs:225–230  ·  view source on GitHub ↗

Get a reference to the resolved schema (or just the writer schema, if no reader schema was provided or the two schemas are identical)

(&self)

Source from the content-addressed store, hash-verified

223 /// (or just the writer schema, if no reader schema was provided
224 /// or the two schemas are identical)
225 pub fn schema(&self) -> &Schema {
226 match &self.resolved_schema {
227 Some(schema) => schema,
228 None => self.writer_schema(),
229 }
230 }
231
232 #[inline]
233 /// Read the next Avro value from the file, if one exists.

Callers 1

read_nextMethod · 0.45

Calls 1

writer_schemaMethod · 0.80

Tested by

no test coverage detected