Index
All Classes and Interfaces|All Packages
A
- afterPropertiesSet() - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
- ASCENDING - Enum constant in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Direction
-
Ascending direction.
B
- BeanWrapperPropertyMapper<T> - Class in io.github.scordio.springframework.batch.extensions.notion.mapping
-
PropertyMapper
implementation for JavaBeans. - BeanWrapperPropertyMapper(Class<T>) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.BeanWrapperPropertyMapper
-
Create a new
BeanWrapperPropertyMapper
for the given target type. - BeanWrapperPropertyMapper(T...) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.BeanWrapperPropertyMapper
-
Create a new
BeanWrapperPropertyMapper
, inferring the target type. - by(Sort.Timestamp) - Static method in class io.github.scordio.springframework.batch.extensions.notion.Sort
-
Sort condition that orders the database query by the timestamp associated with a database entry, in ascending direction.
- by(Sort.Timestamp, Sort.Direction) - Static method in class io.github.scordio.springframework.batch.extensions.notion.Sort
-
Sort condition that orders the database query by the timestamp associated with a database entry.
- by(String) - Static method in class io.github.scordio.springframework.batch.extensions.notion.Sort
-
Sort condition that orders the database query by a particular property, in ascending direction.
- by(String, Sort.Direction) - Static method in class io.github.scordio.springframework.batch.extensions.notion.Sort
-
Sort condition that orders the database query by a particular property.
C
- ConstructorPropertyMapper<T> - Class in io.github.scordio.springframework.batch.extensions.notion.mapping
-
PropertyMapper
implementation for types with a constructor with arguments. - ConstructorPropertyMapper(Class<T>) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.ConstructorPropertyMapper
-
Create a new
ConstructorPropertyMapper
for the given target type. - ConstructorPropertyMapper(T...) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.ConstructorPropertyMapper
-
Create a new
ConstructorPropertyMapper
, inferring the target type. - CREATED_TIME - Enum constant in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Timestamp
-
The time the entry was created.
D
- DEFAULT_DIRECTION - Static variable in class io.github.scordio.springframework.batch.extensions.notion.Sort
-
Default direction of
Sort
conditions. - DESCENDING - Enum constant in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Direction
-
Descending direction.
- doClose() - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
- doOpen() - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
- doPageRead() - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
I
- io.github.scordio.springframework.batch.extensions.notion - package io.github.scordio.springframework.batch.extensions.notion
- io.github.scordio.springframework.batch.extensions.notion.mapping - package io.github.scordio.springframework.batch.extensions.notion.mapping
J
- jumpToItem(int) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
L
- LAST_EDITED_TIME - Enum constant in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Timestamp
-
The time the entry was last edited.
M
- map(Map<String, String>) - Method in class io.github.scordio.springframework.batch.extensions.notion.mapping.ConstructorPropertyMapper
- map(Map<String, String>) - Method in interface io.github.scordio.springframework.batch.extensions.notion.mapping.PropertyMapper
-
Map the given item properties into an object of type
T
.
N
- NotionDatabaseItemReader<T> - Class in io.github.scordio.springframework.batch.extensions.notion
-
Restartable
ItemReader
that reads entries from a Notion database via a paging technique. - NotionDatabaseItemReader() - Constructor for class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
Create a new
NotionDatabaseItemReader
with the following defaults:baseUrl
= "https://api.notion.com/v1"pageSize
= 100
P
- PropertyMapper<T> - Interface in io.github.scordio.springframework.batch.extensions.notion.mapping
-
Strategy interface for mapping the properties of a Notion item into a Java object.
R
- RecordPropertyMapper<T extends Record> - Class in io.github.scordio.springframework.batch.extensions.notion.mapping
-
PropertyMapper
implementation forJava records
. - RecordPropertyMapper(Class<T>) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.RecordPropertyMapper
-
Create a new
RecordPropertyMapper
for the given target type. - RecordPropertyMapper(T...) - Constructor for class io.github.scordio.springframework.batch.extensions.notion.mapping.RecordPropertyMapper
-
Create a new
RecordPropertyMapper
, inferring the target type.
S
- setBaseUrl(String) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
The base URL of the Notion API.
- setDatabaseId(String) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
UUID of the database to read from.
- setPageSize(int) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
The number of items to be read with each page.
- setPropertyMapper(PropertyMapper<T>) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
The
PropertyMapper
responsible for mapping Notion item properties into a Java object. - setSorts(Sort...) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
Sort
conditions to order the returned items. - setToken(String) - Method in class io.github.scordio.springframework.batch.extensions.notion.NotionDatabaseItemReader
-
The Notion integration token.
- Sort - Class in io.github.scordio.springframework.batch.extensions.notion
-
Sort conditions to order the entries returned from a database query.
- Sort() - Constructor for class io.github.scordio.springframework.batch.extensions.notion.Sort
- Sort.Direction - Enum Class in io.github.scordio.springframework.batch.extensions.notion
-
Sort directions.
- Sort.Timestamp - Enum Class in io.github.scordio.springframework.batch.extensions.notion
-
Timestamps associated with database entries.
V
- valueOf(String) - Static method in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Timestamp
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.scordio.springframework.batch.extensions.notion.Sort.Timestamp
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages