valepakh commented on code in PR #4438:
URL: https://github.com/apache/ignite-3/pull/4438#discussion_r1774676757
##########
modules/api/src/main/java/org/apache/ignite/compute/JobDescriptor.java:
##########
@@ -33,22 +33,26 @@ public class JobDescriptor<T, R> {
private final JobExecutionOptions options;
+ private final @Nullable Marshaller<T, byte[]> argumentMarshaller;
+
private final @Nullable Marshaller<R, byte[]> resultMarshaller;
- private final @Nullable Marshaller<T, byte[]> argumentMarshaller;
+ private final Class<?> resultClass;
Review Comment:
This is how I initially made this, but since we're doing pojos, the exact
type could be not the result of the job but some other class, so that the
`ItThinClientPojoComputeMarshallingTest.pojoJobWithDifferentClass` won't
compile.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]