private final static int BATCH_SIZE = 10000;
private DB db;
protected KyotoDataInterface(String name, String path, Class<T> objectClass, Combinator<T> combinator) {
super(name, objectClass, combinator);
db = new DB();
File file = new File(new File(path), name + ".kcf");
File parentDir = file.getParentFile();
if (parentDir.isFile()) {
throw new RuntimeException("Path " + parentDir.getAbsolutePath() + " is a file!");
}