Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.9.1
-
None
-
None
-
Docs Required, Release Notes Required
Description
We are building a set of filters which work with BinaryObject format of our POJOs. We want to build test to ensure these filters are built correctly. The idea is:
1) Use BinaryMarshaller to marshal our POJO into BinraryObject format
2) Run our filters against these BinaryObject
3) Verify the result
We found below 2 functions may be useful for our use case. Are they made available for use? Please also advise any recommended way to test user-defined filters against BinaryObject.
private <T> BinaryObjectImpl marshal(T obj, BinaryMarshaller marsh) throws IgniteCheckedException {
protected BinaryMarshaller binaryMarshaller( BinaryNameMapper nameMapper, BinaryIdMapper mapper, BinarySerializer serializer, Collection<BinaryTypeConfiguration> cfgs, Collection<String> excludedClasses ) throws IgniteCheckedException {