MCPcopy Create free account
hub / github.com/apache/datafusion / get

Method get

datafusion/expr/src/execution_props.rs:208–211  ·  view source on GitHub ↗

Returns the scalar value stored at `index`, if it has been populated.

(&self, index: SubqueryIndex)

Source from the content-addressed store, hash-verified

206
207 /// Returns the scalar value stored at `index`, if it has been populated.
208 pub fn get(&self, index: SubqueryIndex) -> Option<ScalarValue> {
209 let slot = self.slots.get(index.as_usize())?;
210 slot.lock().unwrap().clone()
211 }
212
213 /// Stores `value` in the slot at `index`.
214 pub fn set(&self, index: SubqueryIndex, value: ScalarValue) -> Result<()> {

Callers 15

columnize_exprFunction · 0.45
resolve_lambda_variablesFunction · 0.45
remove_scopeFunction · 0.45
is_system_variablesFunction · 0.45
udfMethod · 0.45
higher_order_functionMethod · 0.45
udafMethod · 0.45
udwfMethod · 0.45
get_var_providerMethod · 0.45
setMethod · 0.45

Calls 2

as_usizeMethod · 0.45
cloneMethod · 0.45

Tested by 1