Skip to content

Commit 17170cb

Browse files
committed
docs: Add documentation to DataQuantaBuilderDecorator class
1 parent 92cff92 commit 17170cb

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

wayang-api/wayang-api-scala-java/src/main/scala/org/apache/wayang/api/util/DataQuantaBuilderDecorator.scala

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,13 @@ import org.apache.wayang.core.platform.Platform
2525
import org.apache.wayang.core.types.DataSetType
2626

2727
/**
28-
* Utility to extend a [[DataQuantaBuilder]]'s functionality by decoration.
29-
*/
30-
/**
31-
* TODO: add the documentation in the methods of org.apache.wayang.api.util.DataQuantaBuilderDecorator
32-
* labels: documentation,todo
28+
* Utility to extend a [[DataQuantaBuilder]]'s functionality by decoration.
29+
*
30+
* DataQuantaBuilderDecorator follows the Decorator design pattern, allowing
31+
* additional behaviour to be added to [[DataQuantaBuilder]] instances without
32+
* modifying the original class. This is particularly useful for building
33+
* flexible and composable data processing pipelines in Apache Wayang,
34+
* including the upcoming DataFrame API where composable operators are essential.
3335
*/
3436
abstract class DataQuantaBuilderDecorator[This <: DataQuantaBuilder[This, Out], Out]
3537
(baseBuilder: DataQuantaBuilder[_, Out])

0 commit comments

Comments
 (0)