From 17170cbce374d2c8148ea42a05a09bff934a9eda Mon Sep 17 00:00:00 2001 From: BoddedaAjay Date: Tue, 24 Mar 2026 22:23:16 +0530 Subject: [PATCH 1/2] docs: Add documentation to DataQuantaBuilderDecorator class --- .../wayang/api/util/DataQuantaBuilderDecorator.scala | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala b/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala index e15a03fef..818dffd34 100644 --- a/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala +++ b/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala @@ -25,11 +25,13 @@ import org.apache.wayang.core.platform.Platform import org.apache.wayang.core.types.DataSetType /** - * Utility to extend a [[DataQuantaBuilder]]'s functionality by decoration. - */ -/** - * TODO: add the documentation in the methods of org.apache.wayang.api.util.DataQuantaBuilderDecorator - * labels: documentation,todo + * Utility to extend a [[DataQuantaBuilder]]'s functionality by decoration. + * + * DataQuantaBuilderDecorator follows the Decorator design pattern, allowing + * additional behaviour to be added to [[DataQuantaBuilder]] instances without + * modifying the original class. This is particularly useful for building + * flexible and composable data processing pipelines in Apache Wayang, + * including the upcoming DataFrame API where composable operators are essential. */ abstract class DataQuantaBuilderDecorator[This <: DataQuantaBuilder[This, Out], Out] (baseBuilder: DataQuantaBuilder[_, Out]) From c5cdf7d080b11bf324ad55465866ffa9307cfd82 Mon Sep 17 00:00:00 2001 From: Zoi Kaoudi Date: Thu, 21 May 2026 18:32:42 +0200 Subject: [PATCH 2/2] Refactor comments in DataQuantaBuilderDecorator Removed comments about the DataFrame API and composable operators. --- .../apache/wayang/api/util/DataQuantaBuilderDecorator.scala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala b/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala index 818dffd34..57c8ca340 100644 --- a/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala +++ b/wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala @@ -29,9 +29,7 @@ import org.apache.wayang.core.types.DataSetType * * DataQuantaBuilderDecorator follows the Decorator design pattern, allowing * additional behaviour to be added to [[DataQuantaBuilder]] instances without - * modifying the original class. This is particularly useful for building - * flexible and composable data processing pipelines in Apache Wayang, - * including the upcoming DataFrame API where composable operators are essential. + * modifying the original class. */ abstract class DataQuantaBuilderDecorator[This <: DataQuantaBuilder[This, Out], Out] (baseBuilder: DataQuantaBuilder[_, Out])