public class ProjectPushDownSpec extends SourceAbilitySpecBase
SourceAbilitySpec
that can not only serialize/deserialize the projection
to/from JSON, but also can push the projection into a SupportsProjectionPushDown
.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_PROJECTED_FIELDS |
FIELD_NAME_PRODUCED_TYPE
Constructor and Description |
---|
ProjectPushDownSpec(int[][] projectedFields,
RowType producedType) |
Modifier and Type | Method and Description |
---|---|
void |
apply(DynamicTableSource tableSource,
SourceAbilityContext context)
Apply the ability to the given
DynamicTableSource . |
getProducedType
public static final String FIELD_NAME_PROJECTED_FIELDS
public ProjectPushDownSpec(int[][] projectedFields, RowType producedType)
public void apply(DynamicTableSource tableSource, SourceAbilityContext context)
SourceAbilitySpec
DynamicTableSource
.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.