NCBI C++ ToolKit
Macros | Functions
writedb_lmdb.cpp File Reference

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>
+ Include dependency graph for writedb_lmdb.cpp:

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)
 

Detailed Description

Implementation for the CWriteDB_LMDB and related classes.

Definition in file writedb_lmdb.cpp.

Macro Definition Documentation

◆ DEFAULT_MAX_ENTRY_PER_TXN

#define DEFAULT_MAX_ENTRY_PER_TXN   40000

Definition at line 46 of file writedb_lmdb.cpp.

◆ DEFAULT_MIN_SPLIT_CHUNK_SIZE

#define DEFAULT_MIN_SPLIT_CHUNK_SIZE   25000000

Definition at line 48 of file writedb_lmdb.cpp.

◆ DEFAULT_MIN_SPLIT_SORT_SIZE

#define DEFAULT_MIN_SPLIT_SORT_SIZE   500000000

Definition at line 47 of file writedb_lmdb.cpp.

Function Documentation

◆ s_WirteIds()

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().

◆ s_WirteOids()

Uint4 s_WirteOids ( CNcbiOfstream os,
vector< blastdb::TOid > &  oids 
)

Definition at line 578 of file writedb_lmdb.cpp.

Referenced by CWriteDB_TaxID::x_CreateTaxIdToOidsLookupFile().

◆ s_WirteTaxIds()

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().

Modified on Fri Sep 20 14:58:15 2024 by modify_doxy.py rev. 669887