336337338339340341342343344345346
closeData(); ABlockWriter mba = fileWriter.prepareMetaBlock("RFile.index"); mba.writeInt(RINDEX_MAGIC); mba.writeInt(RINDEX_VER_6); if (currentLocalityGroup != null) localityGroups.add(currentLocalityGroup); mba.writeInt(localityGroups.size());
341342343344345346347348349350351
mba.writeInt(RINDEX_VER_6); if (currentLocalityGroup != null) localityGroups.add(currentLocalityGroup); mba.writeInt(localityGroups.size()); for (LocalityGroupMetadata lc : localityGroups) { lc.write(mba); }
456457458459460461462463464465466
closeData(); ABlockWriter mba = fileWriter.prepareMetaBlock("RFile.index"); mba.writeInt(RINDEX_MAGIC); mba.writeInt(RINDEX_VER); if (currentLocalityGroup != null) localityGroups.add(currentLocalityGroup);
457458459460461462463464465466467
closeData(); ABlockWriter mba = fileWriter.prepareMetaBlock("RFile.index"); mba.writeInt(RINDEX_MAGIC); mba.writeInt(RINDEX_VER); if (currentLocalityGroup != null) localityGroups.add(currentLocalityGroup); mba.writeInt(localityGroups.size());
462463464465466467468469470471472
mba.writeInt(RINDEX_VER); if (currentLocalityGroup != null) localityGroups.add(currentLocalityGroup); mba.writeInt(localityGroups.size()); for (LocalityGroupMetadata lc : localityGroups) { lc.write(mba); }