| 程序包 | 说明 |
|---|---|
| org.apache.flink.cdc.runtime.operators.transform | |
| org.apache.flink.cdc.runtime.parser |
| 限定符和类型 | 方法和说明 |
|---|---|
ProjectionColumn |
ProjectionColumn.copy() |
ProjectionColumn |
ProjectionColumnProcessor.getProjectionColumn() |
static ProjectionColumn |
ProjectionColumn.ofAliased(org.apache.flink.cdc.common.schema.Column column,
String newName)
This projection is created with a simple $id$ AS $new_id$ expression.
|
static ProjectionColumn |
ProjectionColumn.ofCalculated(String columnName,
org.apache.flink.cdc.common.types.DataType dataType,
String expression,
String scriptExpression,
List<String> originalColumnNames)
This projection is created with a complex calculation expression.
|
static ProjectionColumn |
ProjectionColumn.ofForwarded(org.apache.flink.cdc.common.schema.Column column)
This projection is created with a plain column name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<ProjectionColumn> |
TransformProjection.getProjectionColumns() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProjectionColumnProcessor |
ProjectionColumnProcessor.of(PostTransformChangeInfo tableInfo,
ProjectionColumn projectionColumn,
String timezone,
List<UserDefinedFunctionDescriptor> udfDescriptors,
List<Object> udfFunctionInstances,
org.apache.flink.cdc.common.source.SupportedMetadataColumn[] supportedMetadataColumns) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
TransformProjection.setProjectionColumns(List<ProjectionColumn> projectionColumns) |
| 构造器和说明 |
|---|
ProjectionColumnProcessor(PostTransformChangeInfo tableInfo,
ProjectionColumn projectionColumn,
String timezone,
List<UserDefinedFunctionDescriptor> udfDescriptors,
List<Object> udfFunctionInstances,
org.apache.flink.cdc.common.source.SupportedMetadataColumn[] supportedMetadataColumns) |
| 构造器和说明 |
|---|
TransformProjection(String projection,
List<ProjectionColumn> projectionColumns) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProjectionColumn |
TransformParser.resolveProjectionColumnFromIdentifier(Map<String,org.apache.calcite.rel.type.RelDataType> relDataTypeMap,
Map<String,org.apache.flink.cdc.common.schema.Column> originalColumnMap,
String identifier,
String projectedColumnName,
org.apache.flink.cdc.common.source.SupportedMetadataColumn[] supportedMetadataColumns)
Create a projection column from a simple identifier node (could be an upstream physical
column or a metadata column).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<ProjectionColumn> |
TransformParser.generateProjectionColumns(String projectionExpression,
List<org.apache.flink.cdc.common.schema.Column> columns,
List<UserDefinedFunctionDescriptor> udfDescriptors,
org.apache.flink.cdc.common.source.SupportedMetadataColumn[] supportedMetadataColumns) |
Copyright © 2025 The Apache Software Foundation. All rights reserved.