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

Method run

datafusion-examples/examples/flight/main.rs:70–83  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

68 }
69
70 async fn run(&self) -> Result<(), Box<dyn std::error::Error>> {
71 match self {
72 ExampleKind::All => {
73 for example in ExampleKind::runnable() {
74 println!("Running example: {example}");
75 Box::pin(example.run()).await?;
76 }
77 }
78 ExampleKind::Client => client::client().await?,
79 ExampleKind::Server => server::server().await?,
80 ExampleKind::SqlServer => sql_server::sql_server().await?,
81 }
82 Ok(())
83 }
84}
85
86#[tokio::main]

Callers 1

mainFunction · 0.45

Calls 3

clientFunction · 0.85
serverFunction · 0.85
sql_serverFunction · 0.85

Tested by

no test coverage detected