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

Method run

datafusion-examples/examples/dataframe/main.rs:63–82  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

61 }
62
63 async fn run(&self) -> Result<()> {
64 match self {
65 ExampleKind::All => {
66 for example in ExampleKind::runnable() {
67 println!("Running example: {example}");
68 Box::pin(example.run()).await?;
69 }
70 }
71 ExampleKind::Dataframe => {
72 dataframe::dataframe_example().await?;
73 }
74 ExampleKind::DeserializeToStruct => {
75 deserialize_to_struct::deserialize_to_struct().await?;
76 }
77 ExampleKind::CacheFactory => {
78 cache_factory::cache_dataframe_with_custom_logic().await?;
79 }
80 }
81 Ok(())
82 }
83}
84
85#[tokio::main]

Callers 1

mainFunction · 0.45

Calls 3

dataframe_exampleFunction · 0.85
deserialize_to_structFunction · 0.85

Tested by

no test coverage detected