Article View: comp.lang.java.programmer
Article #550Re: indexed sequential files
From: Christopher Clark
Date: Mon, 23 Mar 1998 00:00
Date: Mon, 23 Mar 1998 00:00
28 lines
2125 bytes
2125 bytes
Peter van der Linden wrote:
> >Does anybody knows if there is any available java class to manage
> >indexed sequential files?
> I have not heard of anyone writing one, but a search on Gamelan
> may yield more info.
Actually, there's a book out in bookstores (entitled "Java
Algorithms", I think), that builds a basic indexed-sequential file
structure with a B-Tree and Serialization as the data format. As
somebody who never gets a clear answer as to what data to store
initially, I LIKE THIS!
> I bet it would be very simple to whisk up the basics of Indexed
> Sequential Access using a hashtable to store the key/offset pairs, and
> keeping that hashtable in a separate file which is read in at the
> start of processing. Use a random access file to store the data.
Umm... Hashtables aren't an ordered storage, which would make the
sequential part difficult...
@>-`--,--
Chris Clark kitanin@hotmail.com
Compudata Systems Consulting, Inc. compudat@cadvision.com
ICQ#9342023
"Now, I wonder who the deuce that could have been?"
-Sherlock Holmes
Technical Details
Message-ID:
<35168988.87D40E56@cadvision.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3512B77F.3F54@latl.unige.ch> <6eudrn$9h3$1@shell15.ba.best.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 116694,922dcb7e3b8787d7 X-Google-Attributes: gid116694,public X-Google-Thread: f5e83,922dcb7e3b8787d7 X-Google-Attributes: gidf5e83,public X-Google-Thread: f778e,922dcb7e3b8787d7 X-Google-Attributes: gidf778e,public X-Google-Thread: 10a146,922dcb7e3b8787d7 X-Google-Attributes: gid10a146,public X-Google-Thread: 10990d,922dcb7e3b8787d7 X-Google-Attributes: gid10990d,public From: Christopher Clark <compudat@cadvision.com> Subject: Re: indexed sequential files Date: 1998/03/23 Message-ID: <35168988.87D40E56@cadvision.com> X-Deja-AN: 336855988 Content-Transfer-Encoding: 7bit References: <3512B77F.3F54@latl.unige.ch> <6eudrn$9h3$1@shell15.ba.best.com> MIME-Version: 1.0 X-NNTP-Posting-Host: 204.50.1.43 Content-Type: text/plain; charset=us-ascii Organization: Compudata Systems Consulting Inc. Newsgroups: comp.lang.java.programmer,comp.lang.java.softwaretools,ug.comp,ug.cui,ch.si.general