Implement Join in Java: looking for ideas
From: David Baer (nospam_at_gmx.ch)
Date: 12/17/03
- Previous message: abu: "Newbie: Advice on strategy."
- Next in thread: Ruud de Koter: "Re: Implement Join in Java: looking for ideas"
- Reply: Ruud de Koter: "Re: Implement Join in Java: looking for ideas"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 17 Dec 2003 11:20:32 +0100
Hi, for a proto type i'm implementing a join-operation (as in relational
databases) on potentialy huge tables in java.
if implemented naively, this takes at least size(Table1) * size(Table2).
my plan was to put the keys of the smaller table into a hashtable and than
iterate over the larger table.
is there any comment on this, or you have ideas for better data structures?
thank you!
david
- Previous message: abu: "Newbie: Advice on strategy."
- Next in thread: Ruud de Koter: "Re: Implement Join in Java: looking for ideas"
- Reply: Ruud de Koter: "Re: Implement Join in Java: looking for ideas"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|