@Internal public final class LastValueAggFunction<T> extends BuiltInAggregateFunction<T,org.apache.flink.table.data.RowData>
| Constructor and Description |
|---|
LastValueAggFunction(org.apache.flink.table.types.logical.LogicalType valueType) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate(org.apache.flink.table.data.GenericRowData acc,
org.apache.flink.table.data.StringData value) |
void |
accumulate(org.apache.flink.table.data.GenericRowData acc,
org.apache.flink.table.data.StringData value,
Long order) |
void |
accumulate(org.apache.flink.table.data.RowData rowData,
Object value) |
void |
accumulate(org.apache.flink.table.data.RowData rowData,
Object value,
Long order) |
org.apache.flink.table.data.RowData |
createAccumulator() |
org.apache.flink.table.types.DataType |
getAccumulatorDataType() |
List<org.apache.flink.table.types.DataType> |
getArgumentDataTypes() |
org.apache.flink.table.types.DataType |
getOutputDataType() |
T |
getValue(org.apache.flink.table.data.RowData rowData) |
boolean |
isDeterministic() |
void |
resetAccumulator(org.apache.flink.table.data.RowData rowData) |
getRequirements, getTypeInferencegetAccumulatorType, getResultTypepublic LastValueAggFunction(org.apache.flink.table.types.logical.LogicalType valueType)
public List<org.apache.flink.table.types.DataType> getArgumentDataTypes()
getArgumentDataTypes in class BuiltInAggregateFunction<T,org.apache.flink.table.data.RowData>public org.apache.flink.table.types.DataType getAccumulatorDataType()
getAccumulatorDataType in class BuiltInAggregateFunction<T,org.apache.flink.table.data.RowData>public org.apache.flink.table.types.DataType getOutputDataType()
getOutputDataType in class BuiltInAggregateFunction<T,org.apache.flink.table.data.RowData>public boolean isDeterministic()
isDeterministic in interface org.apache.flink.table.functions.FunctionDefinitionisDeterministic in class BuiltInAggregateFunction<T,org.apache.flink.table.data.RowData>public org.apache.flink.table.data.RowData createAccumulator()
createAccumulator in class org.apache.flink.table.functions.ImperativeAggregateFunction<T,org.apache.flink.table.data.RowData>public void accumulate(org.apache.flink.table.data.RowData rowData,
Object value)
public void accumulate(org.apache.flink.table.data.RowData rowData,
Object value,
Long order)
public void accumulate(org.apache.flink.table.data.GenericRowData acc,
org.apache.flink.table.data.StringData value)
public void accumulate(org.apache.flink.table.data.GenericRowData acc,
org.apache.flink.table.data.StringData value,
Long order)
public void resetAccumulator(org.apache.flink.table.data.RowData rowData)
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.