Optional ReadonlynameThe index file's name, when its source has one (ByteSource.name).
ReadonlysourceChecksum of the header, directory and place table it was built from (Section C.4); a reader only accepts the index when it matches its own.
ReadonlyentryBytes per entry (Section C.2).
ReadonlyplaceHow many places it has an entry for.
StaticopenOpens a locate index file (read on demand, like a .bin).
Validates signature, kind, version, entry width and length. Takes
ownership of a ByteSource: close() closes it, as does a failed
open.
Closes the index's source.
Place id's raw entry (Section C.2); 0 means no geometry.
Place id's area byte (Section C.3); 0 means no area.
Every place's area byte, by id: one read of placeCount bytes, the
first time, then kept -- what ranking a search by area needs.
An open locate index file (Section C.4). Opening reads only the header, and each
entry()orarea()reads just that entry's bytes; onlyareas(), which a search ranked by area needs, keeps anything (one byte per place), so an idle index otherwise costs an open file handle and no memory.Opening does NOT verify the source checksum --
CGeoDataReader'suseLocateIndex()does that against the file it's attached to.