!(*
this==
f);
140 delete[] (
unsigned char*)
data;
261 voidOpen(EAccessMode
mode= eWrite);
264 const string&
GetDbFile(
void)
const{
returnm_DbFile; }
269 voidSetSQLiteFlags(
int flags);
274 voidSetAccessMode(EAccessMode
mode);
279 voidGetFileNames(
TStringSet& files)
const;
287 voidDeleteFile(
const string&
file_name);
288 voidDeleteFile(
Int8file_id);
342fAnnot_All = fAnnot_Internal | fAnnot_External
352 Int8GetAnnotCountForBlob(
Int8blob_id);
377 voidBeginUpdate(
void);
380 voidEndUpdate(
void);
386 voidBeginRead(
void);
389 voidEndRead(
void);
392 voidAnalyze(
void);
403 voidx_ExecuteSqls(
const char* sqls[],
size_t len);
418 intdata_idx)
const;
421eSt_GetFileNames = 0,
470 voidx_ResetDbConnection(
void);
EFormat
The formats are checked in the same order as declared here.
@ eUnknown
unknown format
EAccessMode GetAccessMode(void) const
Get current access mode.
CTls< SLDS2_DbConnection > TDbConnectionsTls
vector< CSeq_id_Handle > TSeqIds
List of seq-ids.
vector< SLDS2_Blob > TBlobSet
A set of ids (file_id, blob_id etc.).
CLDS2_Database & operator=(const CLDS2_Database &)
set< Int8 > TLdsIdSet
List of ids (blob_id, bioseq_id, lds_id etc.)
EAnnotChoice
Annotation type flags.
CLDS2_Database(const CLDS2_Database &)
@ eSt_GetLdsSeqIdForIntId
@ eSt_GetAnnotBlobsAllByTxtId
@ eSt_GetLdsSeqIdForTxtId
@ eSt_GetAnnotBlobsByIntId
@ eSt_GetSeq_idForLdsSeqId
@ eSt_GetAnnotInfosForBlob
@ eSt_GetBioseqIdForIntId
@ eSt_GetBioseqIdForTxtId
@ eSt_GetAnnotBlobsByTxtId
@ eSt_GetAnnotCountForBlob
@ eSt_GetAnnotBlobsAllByIntId
int GetSQLiteFlags(void) const
Get SQLite flags, see CSQLITE_Connection::TOperationFlags.
vector< AutoPtr< CSQLITE_Statement > > TStatements
set< CSeq_id_Handle > TSeqIdSet
EAccessMode
Database access mode flags.
@ eWrite
Read/write access.
@ eRead
Read-only access.
const string & GetDbFile(void) const
Get database file name.
vector< AutoPtr< SLDS2_Annot > > TLDS2Annots
CRef< TDbConnectionsTls > m_DbConn
void PrepareUpdate(void)
Prepare to update the DB.
void CancelUpdate(void)
Cancel the update, rollback the changes.
Connection to SQLite database.
SQL statement executing on SQLite database.
void Reset(void)
Reset the statement to release all locks and to be ready to execute again.
void(*)(CSeq_entry_Handle seh, IWorkbench *wb, const CSerialObject &obj) handler
std::ofstream out("events_result.xml")
main entry point for tests
static const char * str(char *buf, int n)
uint32_t Uint4
4-byte (32-bit) unsigned integer
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
IO_PREFIX::ostream CNcbiOstream
Portable alias for ostream.
The blob sat and sat key Both must be positive integers</td > n< td > Non empty string The interpretation of the blob id depends on a processor Cassandra n processor expects the following format
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table
const struct ncbi::grid::netcache::search::fields::SIZE size
Multi-threading â mutexes; rw-locks; semaphore.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
static SLJIT_INLINE sljit_ins st(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
void Dump(CSplitCacheApp *app, const C &obj, ESerialDataFormat format, const string &key, const string &suffix=kEmptyStr)
unique_ptr< CSQLITE_Connection > Connection
Info about seq-id used in an annotation.
map< CSeq_id_Handle, SLDS2_AnnotIdInfo > TIdMap
EBlobType
Top-level object types.
@ eBioseq_set_element
Used for indexing individual seq-entries from a top-level bioseq-set.
SLDS2_Chunk(const SLDS2_Chunk &)
Int8 stream_pos
Chunk position in the processed (e.g. unzipped) stream.
SLDS2_Chunk & operator=(const SLDS2_Chunk &)
size_t data_size
Extra data size.
void * data
Extra data required to load the chunk.
SLDS2_Chunk(Int8 raw, Int8 str)
Int8 raw_pos
Chunk position in the raw file.
bool operator!=(const SLDS2_File &f) const
SLDS2_File(const string &file_name)
CFormatGuess::EFormat TFormat
bool operator==(const SLDS2_File &f) const
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