/** * @return The number of bytes contained in this database as a function of the number of records */ protected final long numBytes() { return myLogic.getNumBytes(numRecords); }
public final long requiredMemory(long numRecords) { return myLogic.getNumBytes(numRecords); }
/** * @param numRecords The number of records which need to be stored * @return The number of bytes required to store numRecords records */ public final long getNumBytes(long numRecords) { return myLogic.getNumBytes(numRecords); }
public void prepareWriteRecordRange(DatabaseHandle dh, long recordIndex, long numRecords) throws IOException { prepareWriteRange(dh, myLogic.getByteIndex(recordIndex), myLogic.getNumBytes(numRecords)); }