[
https://issues.apache.org/jira/browse/IGNITE-15978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451631#comment-17451631
]
Ignite TC Bot commented on IGNITE-15978:
----------------------------------------
{panel:title=Branch: [pull/9590/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/9590/head] Base: [master] : New Tests
(6)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Binary Objects{color} [[tests
6|https://ci.ignite.apache.org/viewLog.html?buildId=6300483]]
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalSelfTest.testMapsHandlePossible - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalSelfTest.testCollectionsHandlePossible -
PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalSelfTest.testObjectHandleIsPossible - PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalNonCompactSelfTest.testMapsHandlePossible -
PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalNonCompactSelfTest.testCollectionsHandlePossible -
PASSED{color}
* {color:#013220}IgniteBinaryObjectsTestSuite:
BinaryObjectBuilderAdditionalNonCompactSelfTest.testObjectHandleIsPossible -
PASSED{color}
{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=6299442&buildTypeId=IgniteTests24Java8_RunAll]
> Support binary HANLDEs by BinaryObjectBuilder
> ---------------------------------------------
>
> Key: IGNITE-15978
> URL: https://issues.apache.org/jira/browse/IGNITE-15978
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Vladimir Ermakov
> Assignee: Vladimir Ermakov
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We have to support binary HANLDEs by BinaryObjectBuilder.
> Now, the binary object is created by marshaling the java object may contain
> filed that is represented by the HANDLE (reference) to the other member of
> the upper object.e.g.
>
> {code:java}
> class MyClass {
> List<Value> lst0;
> List<Value> lst1;
> }
> MyClass var = new MyClass();
> var.lst0 = ...;
> var.lst1 = lst0; // Will be serialized as the HANDLE with offset that refers
> to the lst0 {code}
> But the same layout of the binary object cannot be built by
> BinaryObjectBuilder.e.g.:
> {code:java}
> BinaryObjectBuilder bob = builder("MyClass");
> List<Value> lst = ...;
> bob.setField("lst0", lst);
> bob.setField("lst1", lst);
> BinaryObject bo = bob.build(); // Binary object will not contain HANDLE. The
> collections will be marshaled independently, {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)