You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Igor Sapego (JIRA)" <ji...@apache.org> on 2016/12/07 13:22:59 UTC
[jira] [Comment Edited] (IGNITE-4046) C++: Support DML API
[ https://issues.apache.org/jira/browse/IGNITE-4046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15728740#comment-15728740 ]
Igor Sapego edited comment on IGNITE-4046 at 12/7/16 1:22 PM:
--------------------------------------------------------------
Implemented algorithm that matches {{BinaryArrayIdentityResolver}}'s. When I've tried to implement {{BinaryFieldIdentityResolver}} I've found out that in Java it calculates hash by applying hash function to set of the fields hashes. Field hashes in their turn calculated using Java-specific algorithms and Java data types internal structure. I don't see a way to implement the algorithm, which is going to be able to the same hash in C++ or any other platform.
It is obvious that the portable hashing algorithm should only use binary format to generate object hash. {{BinaryFieldIdentityResolver}} is not portable as for now.
was (Author: isapego):
Implemented algorithm that matches {{BinaryArrayIdentityResolver}}'s. When I've tried to implement {{BinaryFieldIdentityResolver}} I've found out that in Java it calculates hash by applying hash function to set of the fields hashes. Field hashes in their turn calculated using Java-specific algorithms and Java data types internal structure. I don't see a way to implement the algorithm, which is going to be able to the same hash in C++ or any other platform.
> C++: Support DML API
> --------------------
>
> Key: IGNITE-4046
> URL: https://issues.apache.org/jira/browse/IGNITE-4046
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Reporter: Denis Magda
> Assignee: Igor Sapego
> Labels: roadmap
> Fix For: 2.0
>
>
> Ignite's Java component will provide support for DML soon (IGNITE-2294). At she same time DML will be supported at the level of ODBC and JDBC drivers.
> As the next step we should include the similar functionality into Ignite.C++ by doing the following:
> - Implement DML API;
> - Enhance {{query_example.cpp}} by doing INSERTs instead of cache.puts and adding UPDATE and DELETE operation examples.
> - Add documentation to Ignite.C++ readme.io covering the feature. Most like most of the content can be take from the general documentation when this ticket IGNITE-4018 is ready.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)