This is an automated email from the ASF dual-hosted git repository. twalthr pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit 66bd2ed652dce9c9eb3d03bc31ab89600b2c708d Author: slinkydeveloper <francescogu...@gmail.com> AuthorDate: Wed Sep 29 17:52:43 2021 +0200 [FLINK-24399][table-common] Improved DataType#getChildren javadoc Signed-off-by: slinkydeveloper <francescogu...@gmail.com> --- .../src/main/java/org/apache/flink/table/types/DataType.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/DataType.java b/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/DataType.java index 23c0e85..a947496 100644 --- a/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/DataType.java +++ b/flink-table/flink-table-common/src/main/java/org/apache/flink/table/types/DataType.java @@ -97,6 +97,12 @@ public abstract class DataType implements AbstractDataType<DataType>, Serializab return conversionClass; } + /** + * Returns the children of this data type, if any. Returns an empty list if this data type is + * atomic. + * + * @return the children data types + */ public abstract List<DataType> getChildren(); public abstract <R> R accept(DataTypeVisitor<R> visitor);