Variables
levelDB2LMDB Namespace Reference

Variables

string ldb = "TestLevelDB"
 
 db = leveldb.LevelDB(ldb)
 
int batch_size = 10000
 
int map_size = 1
 
 env = lmdb.open('TestLMDB', map_size=map_size)
 
 txn = env.begin(write=True)
 
int count = 0
 
string str_id = '{:08}'
 

Variable Documentation

int levelDB2LMDB.batch_size = 10000

Definition at line 12 of file levelDB2LMDB.py.

int levelDB2LMDB.count = 0

Definition at line 18 of file levelDB2LMDB.py.

levelDB2LMDB.db = leveldb.LevelDB(ldb)

Definition at line 10 of file levelDB2LMDB.py.

levelDB2LMDB.env = lmdb.open('TestLMDB', map_size=map_size)
string levelDB2LMDB.ldb = "TestLevelDB"

Definition at line 9 of file levelDB2LMDB.py.

int levelDB2LMDB.map_size = 1

Definition at line 13 of file levelDB2LMDB.py.

string levelDB2LMDB.str_id = '{:08}'

Definition at line 20 of file levelDB2LMDB.py.

levelDB2LMDB.txn = env.begin(write=True)

Definition at line 16 of file levelDB2LMDB.py.

Referenced by cet::sqlite::Connection.flush_no_throw().