Skip to content

Commit 072a94c

Browse files
committed
Docs
1 parent e0ca711 commit 072a94c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

datafusion/expr/src/udaf.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,7 @@ impl PartialOrd for dyn AggregateUDFImpl {
779779
}
780780
}
781781

782+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_schema_name`].
782783
pub fn udaf_default_schema_name<F: AggregateUDFImpl + ?Sized>(
783784
func: &F,
784785
params: &AggregateFunctionParams,
@@ -832,6 +833,7 @@ pub fn udaf_default_schema_name<F: AggregateUDFImpl + ?Sized>(
832833
Ok(schema_name)
833834
}
834835

836+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_human_display`].
835837
pub fn udaf_default_human_display<F: AggregateUDFImpl + ?Sized>(
836838
func: &F,
837839
params: &AggregateFunctionParams,
@@ -871,6 +873,7 @@ pub fn udaf_default_human_display<F: AggregateUDFImpl + ?Sized>(
871873
Ok(schema_name)
872874
}
873875

876+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_window_function_schema_name`].
874877
pub fn udaf_default_window_function_schema_name<F: AggregateUDFImpl + ?Sized>(
875878
func: &F,
876879
params: &WindowFunctionParams,
@@ -924,6 +927,7 @@ pub fn udaf_default_window_function_schema_name<F: AggregateUDFImpl + ?Sized>(
924927
Ok(schema_name)
925928
}
926929

930+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_display_name`].
927931
pub fn udaf_default_display_name<F: AggregateUDFImpl + ?Sized>(
928932
func: &F,
929933
params: &AggregateFunctionParams,
@@ -965,6 +969,7 @@ pub fn udaf_default_display_name<F: AggregateUDFImpl + ?Sized>(
965969
Ok(display_name)
966970
}
967971

972+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_window_function_display_name`].
968973
pub fn udaf_default_window_function_display_name<F: AggregateUDFImpl + ?Sized>(
969974
func: &F,
970975
params: &WindowFunctionParams,
@@ -1018,6 +1023,7 @@ pub fn udaf_default_window_function_display_name<F: AggregateUDFImpl + ?Sized>(
10181023
Ok(display_name)
10191024
}
10201025

1026+
/// Encapsulates default implementation of [`AggregateUDFImpl::udaf_default_return_field`].
10211027
pub fn udaf_default_return_field<F: AggregateUDFImpl + ?Sized>(
10221028
func: &F,
10231029
arg_fields: &[FieldRef],

0 commit comments

Comments
 (0)