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

Method as_ref

datafusion/common/src/config.rs:348–364  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

346
347impl AsRef<str> for Dialect {
348 fn as_ref(&self) -> &str {
349 match self {
350 Self::Generic => "generic",
351 Self::MySQL => "mysql",
352 Self::PostgreSQL => "postgresql",
353 Self::Hive => "hive",
354 Self::SQLite => "sqlite",
355 Self::Snowflake => "snowflake",
356 Self::Redshift => "redshift",
357 Self::MsSQL => "mssql",
358 Self::ClickHouse => "clickhouse",
359 Self::BigQuery => "bigquery",
360 Self::Ansi => "ansi",
361 Self::DuckDB => "duckdb",
362 Self::Databricks => "databricks",
363 }
364 }
365}
366
367impl FromStr for Dialect {

Callers 15

aggregateFunction · 0.45
aggregate_stringFunction · 0.45
aggregate_distinctFunction · 0.45
merge_sortedMethod · 0.45
sort_mergeMethod · 0.45
sortMethod · 0.45
sort_partitionedMethod · 0.45
create_planFunction · 0.45
extract_dml_filtersFunction · 0.45

Calls

no outgoing calls