org.helidb.util.bplus
Interface NodeRepositoryBuilder<K>

Type Parameters:
K - The type of keys in the node repository.
All Known Implementing Classes:
BPlusTreeIndexBackendFileBackedNodeRepositoryBuilder, FileBackedNodeRepositoryBuilder, LruCacheNodeRepositoryBuilder

public interface NodeRepositoryBuilder<K>

This is the interface for NodeRepository builder objects.

The same builder objects can be used to create several node repository objects with the same configuration.

Since:
1.0
Author:
Karl Gustafsson
In_jar:
helidb-core

Method Summary
 NodeRepository<K> create(ReadWritableFile f, boolean readOnly)
          Create the node repository.
 

Method Detail

create

NodeRepository<K> create(ReadWritableFile f,
                         boolean readOnly)
Create the node repository.

Parameters:
f - The file containing the node repository data.
readOnly - Should the repository be read only?
Returns:
The created node repository.