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

Method parse

src/sql/src/session/vars/definitions.rs:194–196  ·  view source on GitHub ↗
(&self, input: VarInput)

Source from the content-addressed store, hash-verified

192 }
193
194 pub fn parse(&self, input: VarInput) -> Result<Box<dyn Value>, VarError> {
195 (self.parse)(input).map_err(|err| err.into_var_error(self))
196 }
197
198 pub fn default_value(&self) -> &'_ dyn Value {
199 self.value.value()

Callers 15

part_mutMethod · 0.45
from_strMethod · 0.45
test_environment_idFunction · 0.45
from_strMethod · 0.45
resolve_data_typeMethod · 0.45
resolve_item_name_idMethod · 0.45
fold_cluster_nameMethod · 0.45
testcaseFunction · 0.45
resolve_itemMethod · 0.45
plan_inspect_shardFunction · 0.45
visit_item_name_mutMethod · 0.45

Calls 1

into_var_errorMethod · 0.80

Tested by 11

test_environment_idFunction · 0.36
setupFunction · 0.36
test_server_errorFunction · 0.36
test_idle_timeoutFunction · 0.36
test_keepaliveFunction · 0.36
test_metricsFunction · 0.36
mainFunction · 0.36