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

Class Array

src/repr/src/adt/array.rs:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40/// `Array<'a>` continues to work unchanged.
41#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash, Ord, PartialOrd)]
42pub struct Array<'a, T = Datum<'a>> {
43 /// The elements in the array.
44 pub(crate) elements: DatumList<'a, T>,
45 /// The dimensions of the array.
46 pub(crate) dims: ArrayDimensions<'a>,
47}
48
49impl<'a, T> Array<'a, T> {
50 /// Returns the dimensions of the array.

Callers 15

summarizeRegionsFunction · 0.85
summarizeDayCostFunction · 0.85
getEmptyBreakdownFunction · 0.85
parse_literal_arrayFunction · 0.85
parse_literal_listFunction · 0.85
array_removeFunction · 0.85
output_sql_typeMethod · 0.85
output_sql_typeMethod · 0.85
from_oid_and_typmodMethod · 0.85
try_fromMethod · 0.85

Calls

no outgoing calls

Tested by 3

test_arrayFunction · 0.68
test_encode_empty_arrayFunction · 0.68
test_array_schemaFunction · 0.68