NCBI C++ ToolKit
|
Implementation for the CWriteDB_LMDB and related classes. More...
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbifile.hpp>
#include <objtools/blast/seqdb_reader/impl/seqdb_lmdb.hpp>
#include <objtools/blast/seqdb_writer/writedb_lmdb.hpp>
#include <objects/seqloc/PDB_seq_id.hpp>
#include <math.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Macros | |
#define | DEFAULT_MAX_ENTRY_PER_TXN 40000 |
#define | DEFAULT_MIN_SPLIT_SORT_SIZE 500000000 |
#define | DEFAULT_MIN_SPLIT_CHUNK_SIZE 25000000 |
Functions | |
Uint4 | s_WirteIds (CNcbiOfstream &os, vector< string > &ids) |
Uint4 | s_WirteTaxIds (CNcbiOfstream &os, vector< TTaxId > &tax_ids) |
Uint4 | s_WirteOids (CNcbiOfstream &os, vector< blastdb::TOid > &oids) |
Implementation for the CWriteDB_LMDB and related classes.
Definition in file writedb_lmdb.cpp.
#define DEFAULT_MAX_ENTRY_PER_TXN 40000 |
Definition at line 46 of file writedb_lmdb.cpp.
#define DEFAULT_MIN_SPLIT_CHUNK_SIZE 25000000 |
Definition at line 48 of file writedb_lmdb.cpp.
#define DEFAULT_MIN_SPLIT_SORT_SIZE 500000000 |
Definition at line 47 of file writedb_lmdb.cpp.
Uint4 s_WirteIds | ( | CNcbiOfstream & | os, |
vector< string > & | ids | ||
) |
Definition at line 344 of file writedb_lmdb.cpp.
References l(), and ct::sort().
Referenced by CWriteDB_LMDB::x_CreateOidToSeqidsLookupFile().
Uint4 s_WirteOids | ( | CNcbiOfstream & | os, |
vector< blastdb::TOid > & | oids | ||
) |
Definition at line 578 of file writedb_lmdb.cpp.
Referenced by CWriteDB_TaxID::x_CreateTaxIdToOidsLookupFile().
Uint4 s_WirteTaxIds | ( | CNcbiOfstream & | os, |
vector< TTaxId > & | tax_ids | ||
) |
Definition at line 523 of file writedb_lmdb.cpp.
References TAX_ID_TO.
Referenced by CWriteDB_TaxID::x_CreateOidToTaxIdsLookupFile().