Class BeamBuiltinAnalyticFunctions
java.lang.Object
org.apache.beam.sdk.extensions.sql.impl.transform.BeamBuiltinAnalyticFunctions
Built-in Analytic Functions for the aggregation analytics functionality.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<String, Function<Schema.FieldType, Combine.CombineFn<?, ?, ?>>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Combine.CombineFn<?, ?, ?> create(String functionName, Schema.FieldType fieldType) static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T> navigationFirstValue(boolean ignoreNulls) FIRST_VALUE that optionally skips nulls.static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T> navigationLastValue(boolean ignoreNulls) LAST_VALUE that optionally skips nulls.static Combine.CombineFn<?, ?, ?> navigationNthValue(long n, boolean ignoreNulls) NTH_VALUE(expr, n) [IGNORE NULLS]: the value ofexprfrom the n-th row of the frame (frame-absolute, 1-based, counted from the frame start).static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T> static <T> Combine.CombineFn<T, ?, T>
-
Field Details
-
BUILTIN_ANALYTIC_FACTORIES
public static final Map<String,Function<Schema.FieldType, BUILTIN_ANALYTIC_FACTORIESCombine.CombineFn<?, ?, ?>>>
-
-
Constructor Details
-
BeamBuiltinAnalyticFunctions
public BeamBuiltinAnalyticFunctions()
-
-
Method Details
-
create
-
numberingRowNumber
-
numberingDenseRank
-
numberingRank
-
numberingPercentRank
-
numberingCumeDist
-