NCBI C++ ToolKit
Macros | Functions | Variables
bioseq_info.cpp File Reference
#include <ncbi_pch.hpp>
#include <objtools/pubseq_gateway/impl/cassandra/bioseq_info.hpp>
+ Include dependency graph for bioseq_info.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define CANONICAL_SEQ_ID_CONSISTENCY   CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM
 
#define BIOSEQ_INFO_CONSISTENCY   CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM
 

Functions

static BEGIN_IDBLOB_SCOPE void s_GetCSIValues (shared_ptr< CCassQuery > &query, string &accession, int16_t &version, int16_t &seq_id_type)
 
CRequestStatus::ECode FetchCanonicalSeqId (shared_ptr< CCassConnection > conn, const string &keyspace, const string &sec_seq_id, int16_t sec_seq_id_type, bool sec_seq_id_type_provided, string &accession, int16_t &version, int16_t &seq_id_type)
 
static void s_GetBioseqValues (shared_ptr< CCassQuery > &query, SBioseqInfo &bioseq_info)
 
CRequestStatus::ECode FetchBioseqInfo (shared_ptr< CCassConnection > conn, const string &keyspace, bool version_provided, bool seq_id_type_provided, SBioseqInfo &bioseq_info)
 

Variables

static const int fnDateChanged = 0
 
static const int fnHash = 1
 
static const int fnIdSync = 2
 
static const int fnLength = 3
 
static const int fnMol = 4
 
static const int fnSat = 5
 
static const int fnSatKey = 6
 
static const int fnSeqIds = 7
 
static const int fnSeqState = 8
 
static const int fnState = 9
 
static const int fnTaxId = 10
 
static const int fnSeqIdType = 11
 
static const int fnVersion = 12
 

Macro Definition Documentation

◆ BIOSEQ_INFO_CONSISTENCY

#define BIOSEQ_INFO_CONSISTENCY   CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM

Definition at line 38 of file bioseq_info.cpp.

◆ CANONICAL_SEQ_ID_CONSISTENCY

#define CANONICAL_SEQ_ID_CONSISTENCY   CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM

Definition at line 37 of file bioseq_info.cpp.

Function Documentation

◆ FetchBioseqInfo()

CRequestStatus::ECode FetchBioseqInfo ( shared_ptr< CCassConnection conn,
const string keyspace,
bool  version_provided,
bool  seq_id_type_provided,
SBioseqInfo bioseq_info 
)

◆ FetchCanonicalSeqId()

CRequestStatus::ECode FetchCanonicalSeqId ( shared_ptr< CCassConnection conn,
const string keyspace,
const string sec_seq_id,
int16_t  sec_seq_id_type,
bool  sec_seq_id_type_provided,
string accession,
int16_t version,
int16_t seq_id_type 
)

◆ s_GetBioseqValues()

static void s_GetBioseqValues ( shared_ptr< CCassQuery > &  query,
SBioseqInfo bioseq_info 
)
static

◆ s_GetCSIValues()

static BEGIN_IDBLOB_SCOPE void s_GetCSIValues ( shared_ptr< CCassQuery > &  query,
string accession,
int16_t version,
int16_t seq_id_type 
)
static

Definition at line 46 of file bioseq_info.cpp.

References query, and dtl::version.

Referenced by FetchCanonicalSeqId().

Variable Documentation

◆ fnDateChanged

const int fnDateChanged = 0
static

Definition at line 109 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnHash

const int fnHash = 1
static

Definition at line 110 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnIdSync

const int fnIdSync = 2
static

Definition at line 111 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnLength

const int fnLength = 3
static

Definition at line 112 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnMol

const int fnMol = 4
static

Definition at line 113 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnSat

const int fnSat = 5
static

Definition at line 114 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnSatKey

const int fnSatKey = 6
static

Definition at line 115 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnSeqIds

const int fnSeqIds = 7
static

Definition at line 116 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnSeqIdType

const int fnSeqIdType = 11
static

Definition at line 120 of file bioseq_info.cpp.

Referenced by FetchBioseqInfo().

◆ fnSeqState

const int fnSeqState = 8
static

Definition at line 117 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnState

const int fnState = 9
static

Definition at line 118 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnTaxId

const int fnTaxId = 10
static

Definition at line 119 of file bioseq_info.cpp.

Referenced by s_GetBioseqValues().

◆ fnVersion

const int fnVersion = 12
static

Definition at line 121 of file bioseq_info.cpp.

Referenced by FetchBioseqInfo().

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