public abstract class BatchExecOverAggregateBase extends ExecNodeBase<org.apache.flink.table.data.RowData> implements InputSortedExecNode<org.apache.flink.table.data.RowData>, SingleTransformationTranslator<org.apache.flink.table.data.RowData>
ExecNode base class for sort-based over window aggregate.| 限定符和类型 | 类和说明 |
|---|---|
static class |
BatchExecOverAggregateBase.OverWindowMode
OverWindowMode describes the mode of a group in over window.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected OverSpec |
overSpec |
FIELD_NAME_CONFIGURATION, FIELD_NAME_DESCRIPTION, FIELD_NAME_ID, FIELD_NAME_INPUT_PROPERTIES, FIELD_NAME_OUTPUT_TYPE, FIELD_NAME_TYPE| 构造器和说明 |
|---|
BatchExecOverAggregateBase(int id,
ExecNodeContext context,
org.apache.flink.configuration.ReadableConfig persistedConfig,
OverSpec overSpec,
InputProperty inputProperty,
org.apache.flink.table.types.logical.RowType outputType,
String description) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected List<RexLiteral> |
getConstants() |
protected org.apache.flink.table.types.logical.RowType |
getInputTypeWithConstants() |
protected BatchExecOverAggregateBase.OverWindowMode |
inferGroupMode(OverSpec.GroupSpec group)
Infer the over window mode based on given group info.
|
protected boolean |
isSlidingWindow(OverSpec.GroupSpec group) |
protected boolean |
isUnboundedFollowingWindow(OverSpec.GroupSpec group) |
protected boolean |
isUnboundedPrecedingWindow(OverSpec.GroupSpec group) |
protected boolean |
isUnboundedWindow(OverSpec.GroupSpec group) |
accept, createFormattedTransformationDescription, createFormattedTransformationName, createTransformationDescription, createTransformationMeta, createTransformationMeta, createTransformationName, createTransformationUid, getContextFromAnnotation, getDescription, getId, getInputEdges, getInputProperties, getOutputType, getPersistedConfig, getSimplifiedName, inputsContainSingleton, replaceInputEdge, setInputEdges, translateToPlan, translateToPlanInternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, getDescription, getId, getInputEdges, getInputProperties, getOutputType, replaceInputEdge, setInputEdgestranslateToPlanprotected final OverSpec overSpec
public BatchExecOverAggregateBase(int id,
ExecNodeContext context,
org.apache.flink.configuration.ReadableConfig persistedConfig,
OverSpec overSpec,
InputProperty inputProperty,
org.apache.flink.table.types.logical.RowType outputType,
String description)
protected org.apache.flink.table.types.logical.RowType getInputTypeWithConstants()
protected boolean isUnboundedWindow(OverSpec.GroupSpec group)
protected boolean isUnboundedPrecedingWindow(OverSpec.GroupSpec group)
protected boolean isUnboundedFollowingWindow(OverSpec.GroupSpec group)
protected boolean isSlidingWindow(OverSpec.GroupSpec group)
protected List<RexLiteral> getConstants()
protected BatchExecOverAggregateBase.OverWindowMode inferGroupMode(OverSpec.GroupSpec group)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.