File tree Expand file tree Collapse file tree 8 files changed +16
-0
lines changed
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/abilities/source Expand file tree Collapse file tree 8 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 3535import org .apache .flink .table .types .utils .TypeConversions ;
3636
3737import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
38+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
3839import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
3940import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
4041
5657 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the aggregation
5758 * to/from JSON, but also can push the local aggregate into a {@link SupportsAggregatePushDown}.
5859 */
60+ @ JsonIgnoreProperties (ignoreUnknown = true )
5961@ JsonTypeName ("AggregatePushDown" )
6062public final class AggregatePushDownSpec extends SourceAbilitySpecBase {
6163
Original file line number Diff line number Diff line change 3131
3232import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
3333import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnore ;
34+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
3435import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
3536import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
3637
5152 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the filter
5253 * to/from JSON, but also can push the filter into a {@link SupportsFilterPushDown}.
5354 */
55+ @ JsonIgnoreProperties (ignoreUnknown = true )
5456@ JsonTypeName ("FilterPushDown" )
5557public final class FilterPushDownSpec extends SourceAbilitySpecBase {
5658 public static final String FIELD_NAME_PREDICATES = "predicates" ;
Original file line number Diff line number Diff line change 2323import org .apache .flink .table .connector .source .abilities .SupportsLimitPushDown ;
2424
2525import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
26+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2627import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
2728import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
2829
3233 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the limit value
3334 * to/from JSON, but also can push the limit value into a {@link LimitPushDownSpec}.
3435 */
36+ @ JsonIgnoreProperties (ignoreUnknown = true )
3537@ JsonTypeName ("LimitPushDown" )
3638public final class LimitPushDownSpec extends SourceAbilitySpecBase {
3739 public static final String FIELD_NAME_LIMIT = "limit" ;
Original file line number Diff line number Diff line change 2424import org .apache .flink .table .planner .utils .PartitionUtils ;
2525
2626import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
27+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2728import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
2829import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
2930
3839 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the partitions
3940 * to/from JSON, but also can push the partitions into a {@link SupportsPartitionPushDown}.
4041 */
42+ @ JsonIgnoreProperties (ignoreUnknown = true )
4143@ JsonTypeName ("PartitionPushDown" )
4244public final class PartitionPushDownSpec extends SourceAbilitySpecBase {
4345 public static final String FIELD_NAME_PARTITIONS = "partitions" ;
Original file line number Diff line number Diff line change 2525import org .apache .flink .table .types .logical .RowType ;
2626
2727import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
28+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2829import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
2930import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
3031
3738 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the projection
3839 * to/from JSON, but also can push the projection into a {@link SupportsProjectionPushDown}.
3940 */
41+ @ JsonIgnoreProperties (ignoreUnknown = true )
4042@ JsonTypeName ("ProjectPushDown" )
4143public final class ProjectPushDownSpec extends SourceAbilitySpecBase {
4244 public static final String FIELD_NAME_PROJECTED_FIELDS = "projectedFields" ;
Original file line number Diff line number Diff line change 2626import org .apache .flink .table .types .utils .TypeConversions ;
2727
2828import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
29+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2930import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
3031import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
3132
4142 * columns to/from JSON, but also can read the metadata columns from {@link
4243 * SupportsReadingMetadata}.
4344 */
45+ @ JsonIgnoreProperties (ignoreUnknown = true )
4446@ JsonTypeName ("ReadingMetadata" )
4547public final class ReadingMetadataSpec extends SourceAbilitySpecBase {
4648 public static final String FIELD_NAME_METADATA_KEYS = "metadataKeys" ;
Original file line number Diff line number Diff line change 2424import org .apache .flink .table .types .logical .RowType ;
2525
2626import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
27+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
2728import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
2829import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
2930
3435 * whether a source watermark should be used to/from JSON, but can also apply it to {@link
3536 * SupportsSourceWatermark}.
3637 */
38+ @ JsonIgnoreProperties (ignoreUnknown = true )
3739@ JsonTypeName ("SourceWatermark" )
3840public final class SourceWatermarkSpec extends SourceAbilitySpecBase {
3941 public static final String FIELD_NAME_SOURCE_WATERMARK_ENABLED = "sourceWatermarkEnabled" ;
Original file line number Diff line number Diff line change 3434import org .apache .flink .table .watermark .WatermarkParams ;
3535
3636import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonCreator ;
37+ import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
3738import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonProperty ;
3839import org .apache .flink .shaded .jackson2 .com .fasterxml .jackson .annotation .JsonTypeName ;
3940
5354 * A sub-class of {@link SourceAbilitySpec} that can not only serialize/deserialize the watermark
5455 * to/from JSON, but also can push the watermark into a {@link SupportsWatermarkPushDown}.
5556 */
57+ @ JsonIgnoreProperties (ignoreUnknown = true )
5658@ JsonTypeName ("WatermarkPushDown" )
5759public final class WatermarkPushDownSpec extends SourceAbilitySpecBase {
5860 public static final String FIELD_NAME_WATERMARK_EXPR = "watermarkExpr" ;
You can’t perform that action at this time.
0 commit comments