package com.thinkaurelius.titan.diskstorage.persistit;
import com.thinkaurelius.titan.PersistitStorageSetup;
import com.thinkaurelius.titan.diskstorage.KeyColumnValueStoreTest;
import com.thinkaurelius.titan.diskstorage.StorageException;
import com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyColumnValueStoreManager;
import static com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.*;
import com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue.OrderedKeyValueStoreManagerAdapter;
import org.apache.commons.configuration.Configuration;
public class PersistitKeyColumnValueVariableTest extends KeyColumnValueStoreTest {
public KeyColumnValueStoreManager openStorageManager() throws StorageException {
Configuration config = PersistitStorageSetup.getPersistitGraphConfig();
PersistitStoreManager sm = new PersistitStoreManager(config.subset(STORAGE_NAMESPACE));
return new OrderedKeyValueStoreManagerAdapter(sm);
}
}