class DBFieldMap {

	public boolean deleteEntry(Field fieldValue, long longValue) {
		if (!fieldClass.isInstance(fieldValue)) {
			throw new IllegalArgumentException("Instance of " + fieldClass.getName() + " expected");
		}
		IndexField indexField = IndexField.getIndexField(fieldValue, longValue);
		try {
			long txId = dbh.startTransaction();
			boolean success = indexTable.deleteRecord(indexField);
			dbh.endTransaction(txId, true);
			return success;
		} catch (IOException e) {
			throw new RuntimeException(e);	
		}
	}

	public  DBFieldMap(Class<? extends Field> fieldClass, int cacheSizeMB);

}