Commit Graph

1522 Commits

Author SHA1 Message Date
Faraz
89db774509 Update Javadoc regarding sort order in RepositoryItemReader
Issue #4462
2024-04-30 12:08:51 +02:00
Mahmoud Ben Hassine
936cb115c4 Remove unused imports 2024-04-29 12:12:20 +02:00
Mahmoud Ben Hassine
8a11339593 Change class to record in RecordFieldSetMapperTests 2024-04-25 15:20:01 +02:00
Mahmoud Ben Hassine
7841258724 Fix incorrect error message in RecordFieldSetMapper 2024-04-25 15:16:34 +02:00
Mahmoud Ben Hassine
b812492798 Remove deprecated APIs scheduled for removal in v5.2
Resolves #4398
2024-04-24 16:07:12 +02:00
Henning Poettker
2e9d96bc24 Fix SimpleBinaryBufferedReaderFactory for longer endings
Resolves #811
2024-04-23 13:18:37 +02:00
Jimmy Praet
ff0fb97272 Implement jumpToItem in JsonItemReader
Issue #4557
2024-04-18 12:55:39 +02:00
Fabio Molignoni
dbd2089c47 Set default ignoreWarnings to true in JdbcCursorItemReaderBuilder
Resolves #4570
2024-04-16 14:57:33 +02:00
jinwoo-Bae
5a261fa7c6 Add support for query hints in JPA Item Readers
Enhanced `JpaCursorItemReader`, `JpaCursorItemReaderBuilder`,
`JpaPagingItemReader`, and `JpaPagingItemReaderBuilder` with
query hints configuration. The inclusion of query hints in both
cursor and paging item readers improves query execution strategies,
optimizing performance for complex data retrieval scenarios.

Resolves #4479
2024-04-02 15:49:31 +02:00
Mustafa Yanar
a4a8ab7aaa Fix output chunk end property in ChunkProcessor implementations
Resolves #4560
2024-03-14 11:49:35 +01:00
Baljit Singh
fdafb490cc Avoid collection copying 2024-03-11 12:06:48 +01:00
Taeik Lim
fb180404cb Make util classes to follow style guide
Signed-off-by: Taeik Lim <sibera21@gmail.com>

Issue #4545
2024-03-07 11:15:35 +01:00
Mahmoud Ben Hassine
01cb0aefd2 Fix deprecations in MongoPagingItemReader
Resolves #4552
2024-02-19 14:16:43 +01:00
Henning Poettker
0d1d89c82f Use annotation @Override consistently 2023-12-19 13:35:46 +01:00
Mahmoud Ben Hassine
6c374ff494 Update Javadocs with "since" tag for 5.1 2023-11-22 12:35:34 +01:00
Mahmoud Ben Hassine
a1b1ede35b Fix Javadoc in DefaultFieldSet and DefaultFieldSetFactory
Resolves #4494
2023-11-21 10:20:26 +01:00
Mahmoud Ben Hassine
03d28330c2 Fix NPE in RepeatTemplate
Resolves #1123
2023-11-20 15:10:30 +01:00
hwan33
dcd1ac8b52 Update documentation about serializable keys in the execution context
Resolves #4457
2023-11-17 14:30:05 +01:00
Henning Poettker
11e653287f Upgrade Avro to 1.11.3 2023-10-02 14:29:19 +02:00
Mahmoud Ben Hassine
54239fe9e8 Refine contribution #718
- Rename variables
- Update javadoc
- Add type check before cast
- Update code formatting
2023-09-15 22:49:44 +02:00
Ilya
306d7379bb Add type safe getters to execution context
Issue #718
2023-09-15 22:44:23 +02:00
Glenn Renfro
cc233e6b35 Add support for quotes in DelimitedLineAggregator
Resolves #1139
2023-09-15 21:07:34 +02:00
Glenn Renfro
4444e465a6 Add URL to error message in StaxEventItemReader when resource does not exist
Resolves #1171
2023-09-15 10:15:05 +02:00
Glenn Renfro
6880685d21 Add setter for strict field in DelimitedBuilder
Resolves #809
2023-09-14 18:36:59 +02:00
Glenn Renfro
058dd3c1b0 Add getters for targetMethod and targetObject in AbstractMethodInvokingDelegator
Resolves #1786
2023-09-14 15:41:59 +02:00
sjh836
06e6bdbc98 Add method in ExecutionContext to expose the internal map as read-only
Resolves #4004
2023-09-13 17:10:44 +02:00
Mahmoud Ben Hassine
34c88606b7 Add item reader for Redis
Resolves #4446
2023-09-13 08:33:27 +02:00
Mahmoud Ben Hassine
854117d657 Refine contribution #3961
- Update dependency version
- Add builder for RedisItemWriter
- Update tests
- Update javadoc
- Fix code formatting

Issue #3957
2023-09-12 21:34:21 +02:00
Santiago Molano
1bd0e0c874 Add ItemWriter for Redis
Issue #3957
2023-09-12 16:57:26 +02:00
Robert McNees
2c97974366 Allow access to update counts in JdbcBatchItemWriter
Resolves #3829
2023-08-31 15:32:01 +02:00
Santiago Molano
5e515473de Add getters for collection and mode in MongoItemWriter
Resolves #3973
2023-08-22 12:10:27 -07:00
Mahmoud Ben Hassine
83b2a2adf9 Refine contribution #4351
- Rename methods to match operation names
- Update Javadocs
- Fix code formatting

Issue #4149
2023-08-22 15:49:14 +02:00
Claiton Grings
34e3e0e152 Add support for bulk inserts in MongoItemWriter
This commit adds support for bulk inserts in the
MongoItemWriter. It introduces a new enumeration
to allow the user to choose the operation to apply
to items (INSERT, UPSERT, DELETE).

Resolves #4149
2023-08-22 15:24:58 +02:00
Mahmoud Ben Hassine
d84057c2b1 Refine contribution #4323
- Update parameter types
- Update tests
- Update Javadocs
- Fix code formatting
2023-08-22 10:00:49 +02:00
LEE Juchan
b1039004bf Add cursor-based ItemReader for MongoDB
Issue #4323
2023-08-22 08:48:50 +02:00
Mahmoud Ben Hassine
6a93f6e696 Rename MongoItemReader to MongoPagingItemReader
Resolves #4341
2023-08-22 08:38:19 +02:00
Shaoqiang Lu
1add2830f5 Auto-detect the class/interface to be mocked
Issue #4426
2023-08-03 09:51:59 +02:00
Mahmoud Ben Hassine
f245593726 Add synchronized decorators for non-stream item readers/writers
Resolves #4368
2023-07-19 08:04:45 +02:00
Shaoqiang Lu
14b6c66543 Replace Charset.defaultCharset() with StandardCharsets.UTF_8 in tests
Resolves #4417
2023-07-18 18:12:52 +02:00
Mahmoud Ben Hassine
85196328ed Make getCurrentItemCount public in AbstractItemCountingItemStreamItemReader
Resolves #1639
2023-07-18 17:39:54 +02:00
Stefano Cordio
aaa0aee44f Fix typo in SimpleMailMessageItemWriter Javadoc 2023-07-18 13:37:50 +02:00
Mahmoud Ben Hassine
6fa4e45356 Refine contribution #4376
* Rename variable
* Update Javadocs
* Update tests

Related to #804
2023-07-18 12:21:48 +02:00
jinwoo-Bae
34eda1fb0d Add option to clear the persistence context in JpaItemWriter
Resolves #804
2023-07-18 11:57:14 +02:00
Mahmoud Ben Hassine
5bccfed523 Replace synchronized blocks and methods with locks
This commit replaces synchronized blocks and methods
that are used frequently or that guard blocking I/O
operations with locks. This is required to prevent
virtual threads pinning, as explained in JEP 444 [1].

Note that synchronized blocks and methods that are used
infrequently (like AutomaticJobRegistrar#start/stop) or
that guard in-memory operations were not replaced as this
is not required, see JEP 444 [1].

Resolves to #4399

---
[1]: https://openjdk.org/jeps/444
2023-07-15 08:18:07 +02:00
Mahmoud Ben Hassine
52064c0541 Code cleanup
- Inline variables
- Remove unused variables
- Remove redundant array creation
- Remove redundant `@SuppressWarnings`
- Remove unnecessary exceptions from throws list
- Remove redundant initializers
- Use List.subList().clear() where appropriate
- Use try-with-resources where needed
- Use pattern variables where appropriate
2023-07-12 23:25:18 +02:00
Mahmoud Ben Hassine
4763480c57 Fix compiler warnings
- Add `@Nullable` where needed
- Suppress warnings where appropriate
- Add generic type definitions
2023-07-12 20:55:18 +02:00
Mahmoud Ben Hassine
f82c16b825 Fix javadoc errors and warnings
Resolves #1624
2023-07-06 06:46:26 +02:00
Mahmoud Ben Hassine
060c96f01f Move KafkaItemReader integration tests to a separate class
Tests requiring a kafka broker should be part of the
integration tests suite, not the unit tests suite.
2023-07-05 08:54:11 +02:00
Mahmoud Ben Hassine
c1ef2c0fe5 Remove unnecessary default branch for enum in switch statement 2023-07-05 08:03:49 +02:00
Mahmoud Ben Hassine
efdb59e570 Replace hardcoded charsets with StandardCharsets 2023-07-05 08:03:48 +02:00