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

Method validate

datafusion-cli/src/helper.rs:173–178  ·  view source on GitHub ↗
(&self, ctx: &mut ValidationContext<'_>)

Source from the content-addressed store, hash-verified

171
172impl Validator for CliHelper {
173 fn validate(&self, ctx: &mut ValidationContext<'_>) -> Result<ValidationResult> {
174 let input = ctx.input().trim_end();
175 let result = self.validate_input(input);
176 self.reset_hint();
177 result
178 }
179}
180
181impl Helper for CliHelper {}

Callers

nothing calls this directly

Calls 3

validate_inputMethod · 0.80
reset_hintMethod · 0.80
inputMethod · 0.45

Tested by

no test coverage detected