Go to the SVN repository for this file.
1 #ifndef OBJTOOLS_WRITERS_WRITEDB__WRITEDB_LMDB_HPP 2 #define OBJTOOLS_WRITERS_WRITEDB__WRITEDB_LMDB_HPP 52 #define DEFAULT_LMDB_MAP_SIZE 500000 53 #define DEFAULT_TAXID_MAP_SIZE 500000 55 #define DEFAULT_LMDB_MAP_SIZE 700000000 56 #define DEFAULT_TAXID_MAP_SIZE 300000000 78 voidInsertVolumesInfo(
constvector<string> & vol_names,
constvector<blastdb::TOid> & vol_num_oids);
99 voidx_CommitTransaction();
101 voidx_CreateOidToSeqidsLookupFile();
103 voidx_IncreaseEnvMapSize();
104 voidx_IncreaseEnvMapSize(
constvector<string> & vol_names,
constvector<blastdb::TOid> & vol_num_oids);
117 if(v.
id== k.
id) {
126 returnv.
id< k.
id;
131 voidx_Split(vector<SKeyValuePair>::iterator
b, vector<SKeyValuePair>::iterator e,
const unsigned intmin_chunk_size);
160 voidx_CommitTransaction();
161 voidx_CreateOidToTaxIdsLookupFile();
162 voidx_CreateTaxIdToOidsLookupFile();
164 voidx_IncreaseEnvMapSize();
171 template<
classvalueType>
ncbi::TMaskedQueryRegions mask
This class supports creation of a string accession to integer OID lmdb database.
vector< SKeyValuePair > m_list
unsigned int m_MaxEntryPerTxn
This class supports creation of tax id list lookup files.
vector< SKeyValuePair< blastdb::TOid > > m_TaxId2OidList
vector< SKeyValuePair< Uint8 > > m_TaxId2OffsetsList
unsigned int m_MaxEntryPerTxn
Resource class for `MDB_env*` handles.
SStrictId_Tax::TId TTaxId
Taxon id type.
uint64_t Uint8
8-byte (64-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XOBJREAD_EXPORT
char * dbname(DBPROCESS *dbproc)
Get name of current database.
const GenericPointer< typename T::ValueType > T2 value
Defines BLAST database access classes.
Defines interface to interact with LMDB files.
const blastdb::TOid kSeqDBEntryNotFound
Int4 TOid
Ordinal ID in BLAST databases.
static bool cmp_key(const SKeyValuePair &v, const SKeyValuePair &k)
SKeyValuePair(TTaxId t, valueType v)
static bool cmp_key(const SKeyValuePair &v, const SKeyValuePair &k)
#define DEFAULT_LMDB_MAP_SIZE
#define DEFAULT_TAXID_MAP_SIZE
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4