You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| spring-batch-excel | Support for [Microsoft Excel]|[@mdeinum](https://github.com/mdeinum)| 0.1.1 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-excel.yml)|
12
-
| spring-batch-elasticsearch | Support for [Elasticsearch]|[@parikshitdutta](https://github.com/parikshitdutta)| 0.1.0-SNAPSHOT |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-elasticsearch.yml)|
13
-
| spring-batch-bigquery | Support for [Google BigQuery]|[@dgray16](https://github.com/dgray16)| 0.1.0 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-bigquery.yml)|
14
-
| spring-batch-neo4j | Support for [Neo4j]|[@michael-simons](https://github.com/michael-simons)| 0.1.0 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-neo4j.yml)|
15
-
| spring-batch-geode | Support for [Apache Geode]| TBA | 0.1.0-SNAPSHOT |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-geode.yml)|
9
+
| Module | Description | Lead | Version | CI build |
|[spring-batch-bigquery](spring-batch-bigquery/README.adoc)| Support for [Google BigQuery]|[@dgray16](https://github.com/dgray16)| 0.1.0 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-bigquery.yml)|
12
+
|[spring-batch-elasticsearch](spring-batch-elasticsearch/README.md)| Support for [Elasticsearch]|[@parikshitdutta](https://github.com/parikshitdutta)| 0.1.0-SNAPSHOT |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-elasticsearch.yml)|
13
+
|[spring-batch-excel](spring-batch-excel/README.adoc)| Support for [Microsoft Excel]|[@mdeinum](https://github.com/mdeinum)| 0.1.1 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-excel.yml)|
14
+
|[spring-batch-geode](spring-batch-geode/README.adoc)| Support for [Apache Geode]| TBA | 0.1.0-SNAPSHOT |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-geode.yml)|
15
+
|[spring-batch-neo4j](spring-batch-neo4j/README.md)| Support for [Neo4j]|[@michael-simons](https://github.com/michael-simons)| 0.1.0 |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-neo4j.yml)|
16
+
|[spring-batch-notion](spring-batch-notion/README.md)| Support for [Notion]|[@scordio](https://github.com/scordio)| 0.1.0-SNAPSHOT |[](https://github.com/spring-projects/spring-batch-extensions/actions/workflows/spring-batch-notion.yml?query=branch%3Amain)|
16
17
17
18
## Getting support
18
19
@@ -92,6 +93,7 @@ Follow the Spring Batch team members and contributors on Twitter:
92
93
*[@rotnroll666](https://twitter.com/rotnroll666) - Michael Simons
|`baseUrl`| no |`https://api.notion.com/v1`| Base URL of the Notion API. A custom value can be provided for testing purposes (e.g., the URL of a [WireMock][] server). |
52
+
|`databaseId`| yes | - | UUID of the database to read from. |
53
+
|`filter`| no |`null`|`Filter` condition to limit the returned items. |
54
+
|`pageSize`| no |`100`| Number of items to be read with each page. Must be greater than zero and less than or equal to 100. |
55
+
|`propertyMapper`| yes | - | The `PropertyMapper` responsible for mapping properties of a Notion item into a Java object. |
56
+
|`sorts`| no |`null`|`Sort` conditions to order the returned items. Each condition is applied following the declaration order. |
57
+
|`token`| yes | - | The Notion integration token. |
58
+
59
+
In addition to the Notion-specific configuration, all the configuration options of the Spring Batch
|`BeanWrapperPropertyMapper`| Supports JavaBeans. Requires a default constructor and expects the setter names to match the Notion item property names (case-insensitive). |
76
+
|`ConstructorPropertyMapper`| Supports types with a constructor with arguments. Requires the constructor to be unique and its argument names to match the Notion item property names (case-insensitive). |
77
+
|`RecordPropertyMapper`| Supports Java records. It uses the canonical constructor and requires the component names to match the Notion item property names (case-insensitive). |
78
+
79
+
All implementations above offer two constructors:
80
+
* One accepting the `Class` instance of the type to be mapped
81
+
* One without parameters, for cases where the type to be mapped can be inferred by the generic type of the variable or method enclosing the constructor declaration
82
+
83
+
In case none of the provided implementations is suitable, a custom one can be provided.
84
+
85
+
## NotionDatabaseItemWriter
86
+
87
+
Currently not provided but will be added in the future.
88
+
89
+
## License
90
+
91
+
The Spring Batch Notion is released under version 2.0 of the [Apache License][].
0 commit comments