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
|`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
59
|`filter`| no |`null`|`Filter` condition to limit the returned items. |
54
60
|`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
61
|`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
62
59
63
In addition to the Notion-specific configuration, all the configuration options of the Spring Batch
Copy file name to clipboardExpand all lines: spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/NotionDatabaseItemReader.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -85,8 +85,8 @@ public class NotionDatabaseItemReader<T> extends AbstractPaginatedDataItemReader
85
85
* Create a new {@link NotionDatabaseItemReader}.
86
86
* @param token the Notion integration token
87
87
* @param databaseId UUID of the database to read from
88
-
* @param propertyMapper the {@link PropertyMapper} responsible for mapping Notion
89
-
* item properties into a Java object
88
+
* @param propertyMapper the {@link PropertyMapper} responsible for mapping properties
0 commit comments