NCBI C++ ToolKit
|
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 |
#define BIOSEQ_INFO_CONSISTENCY CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM |
Definition at line 38 of file bioseq_info.cpp.
#define CANONICAL_SEQ_ID_CONSISTENCY CassConsistency::CASS_CONSISTENCY_LOCAL_QUORUM |
Definition at line 37 of file bioseq_info.cpp.
CRequestStatus::ECode FetchBioseqInfo | ( | shared_ptr< CCassConnection > | conn, |
const string & | keyspace, | ||
bool | version_provided, | ||
bool | seq_id_type_provided, | ||
SBioseqInfo & | bioseq_info | ||
) |
Definition at line 147 of file bioseq_info.cpp.
References ar_dataready, BIOSEQ_INFO_CONSISTENCY, conn, CRequestStatus::e200_Ok, CRequestStatus::e300_MultipleChoices, CRequestStatus::e404_NotFound, fnSeqIdType, fnVersion, SBioseqInfo::m_Accession, SBioseqInfo::m_SeqIdType, SBioseqInfo::m_Version, query, s_GetBioseqValues(), and dtl::version.
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 | ||
) |
Definition at line 58 of file bioseq_info.cpp.
References ar_dataready, CANONICAL_SEQ_ID_CONSISTENCY, conn, CRequestStatus::e200_Ok, CRequestStatus::e300_MultipleChoices, CRequestStatus::e404_NotFound, query, s_GetCSIValues(), s_Select(), sql, and dtl::version.
|
static |
Definition at line 127 of file bioseq_info.cpp.
References set< Key, Compare >::end(), fnDateChanged, fnHash, fnIdSync, fnLength, fnMol, fnSat, fnSatKey, fnSeqIds, fnSeqState, fnState, fnTaxId, SBioseqInfo::m_DateChanged, SBioseqInfo::m_Hash, SBioseqInfo::m_IdSync, SBioseqInfo::m_Length, SBioseqInfo::m_Mol, SBioseqInfo::m_Sat, SBioseqInfo::m_SatKey, SBioseqInfo::m_SeqIds, SBioseqInfo::m_SeqState, SBioseqInfo::m_State, SBioseqInfo::m_TaxId, and query.
Referenced by FetchBioseqInfo().
|
static |
Definition at line 46 of file bioseq_info.cpp.
References query, and dtl::version.
Referenced by FetchCanonicalSeqId().
Definition at line 109 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 110 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 111 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 112 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 113 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 114 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 115 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 116 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 120 of file bioseq_info.cpp.
Referenced by FetchBioseqInfo().
Definition at line 117 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 118 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 119 of file bioseq_info.cpp.
Referenced by s_GetBioseqValues().
Definition at line 121 of file bioseq_info.cpp.
Referenced by FetchBioseqInfo().