You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Alex Karasulu <ak...@apache.org> on 2007/09/29 05:41:00 UTC
[ApacheDS] Why are we using Object instead of long for entryIds?
Hey Emmanuel,
I know you refactored the JdbmStore a while back to use longs instead of
BigIntegers for the entryId
but I see the JdbmStore now uses Object as the parameter for id's. Any
reason why you avoided using
Long or long?
Alex
Re: [ApacheDS] Why are we using Object instead of long for entryIds?
Posted by Alex Karasulu <ak...@apache.org>.
Oh ok I guess this is another thing to look at during the bigbang.
Alex
On 9/29/07, Emmanuel Lecharny <el...@gmail.com> wrote:
>
> I have no idea...
>
> I think it was just a missing modification... Or maybe I just stopped
> before fucking up the whole backend ;)
>
> On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> > Sorry E I meant the JdbmIndex here :
> >
> >
> http://svn.apache.org/repos/asf/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
> >
> > Take a look for example at reverseLookup( Object ). I think this should
> > take a Long argument no?
> >
> > Alex
> >
> >
> > On 9/29/07, Emmanuel Lecharny <el...@gmail.com> wrote:
> > > Any pointers ?
> > >
> > > On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> > > > Hey Emmanuel,
> > > >
> > > > I know you refactored the JdbmStore a while back to use longs
> instead of
> > > > BigIntegers for the entryId
> > > > but I see the JdbmStore now uses Object as the parameter for
> id's. Any
> > > > reason why you avoided using
> > > > Long or long?
> > > >
> > > > Alex
> > > >
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Cordialement,
> > > Emmanuel Lécharny
> > > www.iktek.com
> > >
> >
> >
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
Re: [ApacheDS] Why are we using Object instead of long for entryIds?
Posted by Emmanuel Lecharny <el...@gmail.com>.
I have no idea...
I think it was just a missing modification... Or maybe I just stopped
before fucking up the whole backend ;)
On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> Sorry E I meant the JdbmIndex here :
>
> http://svn.apache.org/repos/asf/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
>
> Take a look for example at reverseLookup( Object ). I think this should
> take a Long argument no?
>
> Alex
>
>
> On 9/29/07, Emmanuel Lecharny <el...@gmail.com> wrote:
> > Any pointers ?
> >
> > On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> > > Hey Emmanuel,
> > >
> > > I know you refactored the JdbmStore a while back to use longs instead of
> > > BigIntegers for the entryId
> > > but I see the JdbmStore now uses Object as the parameter for id's. Any
> > > reason why you avoided using
> > > Long or long?
> > >
> > > Alex
> > >
> > >
> >
> >
> > --
> > Regards,
> > Cordialement,
> > Emmanuel Lécharny
> > www.iktek.com
> >
>
>
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: [ApacheDS] Why are we using Object instead of long for entryIds?
Posted by Alex Karasulu <ak...@apache.org>.
Sorry E I meant the JdbmIndex here :
http://svn.apache.org/repos/asf/directory/apacheds/trunk/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java
Take a look for example at reverseLookup( Object ). I think this should
take a Long argument no?
Alex
On 9/29/07, Emmanuel Lecharny <el...@gmail.com> wrote:
>
> Any pointers ?
>
> On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> > Hey Emmanuel,
> >
> > I know you refactored the JdbmStore a while back to use longs instead of
> > BigIntegers for the entryId
> > but I see the JdbmStore now uses Object as the parameter for id's. Any
> > reason why you avoided using
> > Long or long?
> >
> > Alex
> >
> >
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
Re: [ApacheDS] Why are we using Object instead of long for entryIds?
Posted by Emmanuel Lecharny <el...@gmail.com>.
Any pointers ?
On 9/29/07, Alex Karasulu <ak...@apache.org> wrote:
> Hey Emmanuel,
>
> I know you refactored the JdbmStore a while back to use longs instead of
> BigIntegers for the entryId
> but I see the JdbmStore now uses Object as the parameter for id's. Any
> reason why you avoided using
> Long or long?
>
> Alex
>
>
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com