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

Method structured

src/persist/src/indexed/encoding.rs:290–296  ·  view source on GitHub ↗

Return the [`ColumnarRecordsStructuredExt`] of the blob.

(&self)

Source from the content-addressed store, hash-verified

288
289 /// Return the [`ColumnarRecordsStructuredExt`] of the blob.
290 pub fn structured(&self) -> Option<&ColumnarRecordsStructuredExt> {
291 match self {
292 BlobTraceUpdates::Row(_) => None,
293 BlobTraceUpdates::Both(_, s) => Some(s),
294 BlobTraceUpdates::Structured { key_values, .. } => Some(key_values),
295 }
296 }
297
298 /// Return the estimated memory usage of the raw data.
299 pub fn goodbytes(&self) -> usize {

Callers 6

write_hollow_partMethod · 0.80
normalizeMethod · 0.80
as_partMethod · 0.80
into_protoMethod · 0.80
structured_key_lowerMethod · 0.80
encode_arrow_batchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected