Multimap implementation attempt

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Multimap implementation attempt

Konstantin Margorin
Hello Igniters.

I'm trying now to implement Multimap datastructure. I wrote a comment about
implementation details here:

https://issues.apache.org/jira/browse/IGNITE-640

Now I got Multimap prototype with put/get methods:

https://github.com/apache/ignite/compare/master...ruskim:ignite-640?expand=1

This basic test for put/get successfully passed:

https://github.com/ruskim/ignite/blob/2af6274f9234dda1550696014ffd8e327d75da57/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheMultimapSelfTest.java

A lot of thing I did by analogy with IgniteQueue and IgniteSet. I realize,
that most probably I made a lot of errors.

Before moving further I want to be sure that basic things, like put/get,
implemented properly.

Probably someone could look at my code and point me at most serious errors.

Thank you!

Konstantin
Reply | Threaded
Open this post in threaded view
|

Re: Multimap implementation attempt

yzhdanov
Hi Konstantin!

I have added a comment to the ticket.

--Yakov

2016-03-01 16:13 GMT+03:00 Konstantin Margorin <[hidden email]>:

> Hello Igniters.
>
> I'm trying now to implement Multimap datastructure. I wrote a comment about
> implementation details here:
>
> https://issues.apache.org/jira/browse/IGNITE-640
>
> Now I got Multimap prototype with put/get methods:
>
>
> https://github.com/apache/ignite/compare/master...ruskim:ignite-640?expand=1
>
> This basic test for put/get successfully passed:
>
>
> https://github.com/ruskim/ignite/blob/2af6274f9234dda1550696014ffd8e327d75da57/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheMultimapSelfTest.java
>
> A lot of thing I did by analogy with IgniteQueue and IgniteSet. I realize,
> that most probably I made a lot of errors.
>
> Before moving further I want to be sure that basic things, like put/get,
> implemented properly.
>
> Probably someone could look at my code and point me at most serious errors.
>
> Thank you!
>
> Konstantin
>
Reply | Threaded
Open this post in threaded view
|

Re: Multimap implementation attempt

Valentin Kulichenko
Hi Konstantin,

Do you have any progress on this ticket? When do you plan to finish it?

-Val

On Wed, Mar 2, 2016 at 2:54 AM, Yakov Zhdanov <[hidden email]> wrote:

> Hi Konstantin!
>
> I have added a comment to the ticket.
>
> --Yakov
>
> 2016-03-01 16:13 GMT+03:00 Konstantin Margorin <[hidden email]>:
>
> > Hello Igniters.
> >
> > I'm trying now to implement Multimap datastructure. I wrote a comment
> about
> > implementation details here:
> >
> > https://issues.apache.org/jira/browse/IGNITE-640
> >
> > Now I got Multimap prototype with put/get methods:
> >
> >
> >
> https://github.com/apache/ignite/compare/master...ruskim:ignite-640?expand=1
> >
> > This basic test for put/get successfully passed:
> >
> >
> >
> https://github.com/ruskim/ignite/blob/2af6274f9234dda1550696014ffd8e327d75da57/modules/core/src/test/java/org/apache/ignite/internal/processors/cache/datastructures/GridCacheMultimapSelfTest.java
> >
> > A lot of thing I did by analogy with IgniteQueue and IgniteSet. I
> realize,
> > that most probably I made a lot of errors.
> >
> > Before moving further I want to be sure that basic things, like put/get,
> > implemented properly.
> >
> > Probably someone could look at my code and point me at most serious
> errors.
> >
> > Thank you!
> >
> > Konstantin
> >
>