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

Method lit

datafusion/expr/src/literal.rs:67–69  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

65
66impl Literal for &str {
67 fn lit(&self) -> Expr {
68 Expr::Literal(ScalarValue::from(*self), None)
69 }
70}
71
72impl Literal for String {

Callers 6

litFunction · 0.45
litFunction · 0.45
lit_with_metadataFunction · 0.45
lagFunction · 0.45
leadFunction · 0.45

Calls 3

LiteralInterface · 0.70
as_refMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected