NCBI C++ ToolKit
|
Search Toolkit Book for CBioseqInfoRecord
#include <objtools/pubseq_gateway/impl/cassandra/bioseq_info/record.hpp>
Public Types | |
using | TAccession = string |
using | TName = string |
using | TVersion = int16_t |
using | TSeqIdType = int16_t |
using | TDateChanged = int64_t |
using | THash = int32_t |
using | TGI = int64_t |
using | TLength = int32_t |
using | TMol = int8_t |
using | TSat = int16_t |
using | TSatKey = int32_t |
using | TSeqIds = set< tuple< int16_t, string > > |
using | TSeqState = int8_t |
using | TState = int8_t |
using | TTaxId = int32_t |
using | TWritetime = int64_t |
Static Public Attributes | |
static const TState | kStateAlive = 10 |
Definition at line 48 of file record.hpp.
using CBioseqInfoRecord::TAccession = string |
Definition at line 51 of file record.hpp.
Definition at line 55 of file record.hpp.
using CBioseqInfoRecord::TGI = int64_t |
Definition at line 57 of file record.hpp.
using CBioseqInfoRecord::THash = int32_t |
Definition at line 56 of file record.hpp.
using CBioseqInfoRecord::TLength = int32_t |
Definition at line 58 of file record.hpp.
using CBioseqInfoRecord::TMol = int8_t |
Definition at line 59 of file record.hpp.
using CBioseqInfoRecord::TName = string |
Definition at line 52 of file record.hpp.
using CBioseqInfoRecord::TSat = int16_t |
Definition at line 60 of file record.hpp.
using CBioseqInfoRecord::TSatKey = int32_t |
Definition at line 61 of file record.hpp.
using CBioseqInfoRecord::TSeqIds = set<tuple<int16_t, string> > |
Definition at line 62 of file record.hpp.
using CBioseqInfoRecord::TSeqIdType = int16_t |
Definition at line 54 of file record.hpp.
using CBioseqInfoRecord::TSeqState = int8_t |
Definition at line 63 of file record.hpp.
using CBioseqInfoRecord::TState = int8_t |
Definition at line 64 of file record.hpp.
using CBioseqInfoRecord::TTaxId = int32_t |
Definition at line 65 of file record.hpp.
using CBioseqInfoRecord::TVersion = int16_t |
Definition at line 53 of file record.hpp.
using CBioseqInfoRecord::TWritetime = int64_t |
Definition at line 66 of file record.hpp.
|
inline |
Definition at line 71 of file record.hpp.
|
default |
|
inline |
Definition at line 198 of file record.hpp.
References m_Accession.
Referenced by SBioseqResolution::AdjustAccession(), ApplyInheritedSeqIds(), GetBioseqRecordId(), SBioseqResolution::SetBioseqInfo(), ToBioseqProtobuf(), ToJsonString(), CPSGS_IPGResolveProcessor::x_FormSeqId(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGCache::x_LookupSi2csi(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfo(), CPSGS_AsyncResolveBase::x_OnBioseqInfo(), CPSGS_AsyncResolveBase::x_OnBioseqInfoWithoutSeqIdType(), and CPSGS_AsyncResolveBase::x_Process().
|
inline |
Definition at line 213 of file record.hpp.
References m_DateChanged.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 223 of file record.hpp.
References m_GI.
Referenced by GetBioseqRecordId(), ToBioseqProtobuf(), ToJsonString(), CCassBioseqInfoTaskFetch::x_IsMatchingNewRecord(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), and CPSGS_AsyncResolveBase::x_Process().
|
inline |
Definition at line 218 of file record.hpp.
References m_Hash.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 228 of file record.hpp.
References m_Length.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 233 of file record.hpp.
References m_Mol.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 273 of file record.hpp.
References m_Name.
Referenced by ToBioseqProtobuf(), ToJsonString(), and CPSGS_IPGResolveProcessor::x_FormSeqId().
|
inline |
Definition at line 238 of file record.hpp.
References m_Sat.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 243 of file record.hpp.
References m_SatKey.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 248 of file record.hpp.
References m_SeqIds.
Referenced by SBioseqResolution::AdjustAccession(), ApplyInheritedSeqIds(), ToBioseqProtobuf(), ToJsonString(), CCassBioseqInfoTaskFetch::x_MergeSeqIds(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
Definition at line 253 of file record.hpp.
References m_SeqIds.
|
inline |
Definition at line 208 of file record.hpp.
References m_SeqIdType.
Referenced by SBioseqResolution::AdjustAccession(), CPSGS_AsyncResolveBase::AdjustBioseqAccession(), ApplyInheritedSeqIds(), CPSGS_AsyncResolveBase::CanSkipBioseqInfoRetrieval(), GetBioseqRecordId(), SBioseqResolution::SetBioseqInfo(), ToBioseqProtobuf(), ToJsonString(), CPSGS_IPGResolveProcessor::x_FormSeqId(), CCassBioseqInfoTaskFetch::x_IsMatchingNewRecord(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupSi2csi(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfo(), and CPSGS_AsyncResolveBase::x_Process().
|
inline |
Definition at line 258 of file record.hpp.
References m_SeqState.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 263 of file record.hpp.
References m_State.
Referenced by ApplyInheritedSeqIds(), ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 268 of file record.hpp.
References m_TaxId.
Referenced by ToBioseqProtobuf(), and ToJsonString().
|
inline |
Definition at line 203 of file record.hpp.
References m_Version.
Referenced by SBioseqResolution::AdjustAccession(), CPSGS_AsyncResolveBase::AdjustBioseqAccession(), CPSGS_AsyncResolveBase::CanSkipBioseqInfoRetrieval(), GetBioseqRecordId(), ToBioseqProtobuf(), ToJsonString(), CPSGS_IPGResolveProcessor::x_FormSeqId(), CCassBioseqInfoTaskFetch::x_IsMatchingNewRecord(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfoWithoutSeqIdType(), and CPSGS_AsyncResolveBase::x_Process().
|
inline |
Definition at line 278 of file record.hpp.
References m_Writetime.
|
default |
|
default |
void CBioseqInfoRecord::Reset | ( | void | ) |
Definition at line 43 of file record.cpp.
References set< Key, Compare >::clear(), m_Accession, m_DateChanged, m_GI, m_Hash, m_Length, m_Mol, m_Sat, m_SatKey, m_SeqIds, m_SeqIdType, m_SeqState, m_State, m_TaxId, m_Version, and m_Writetime.
Referenced by CPSGS_AsyncResolveBase::x_Process().
|
inline |
Definition at line 94 of file record.hpp.
References m_Accession, and rapidjson::value.
Referenced by SBioseqResolution::AdjustAccession(), CPSGCache::x_LookupSi2csi(), CPSGS_AsyncResolveBase::x_OnSi2csiRecord(), CCassBioseqInfoTaskFetch::x_PopulateRecord(), CPSGS_ResolveBase::x_ResolvePrimaryOSLTInCache(), and CPSGS_ResolveBase::x_ResolveSecondaryOSLTInCache().
|
inline |
Definition at line 112 of file record.hpp.
References m_DateChanged, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 124 of file record.hpp.
References m_GI, and rapidjson::value.
Referenced by CPSGCache::x_LookupSi2csi(), CPSGS_AsyncResolveBase::x_OnSi2csiRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 118 of file record.hpp.
References m_Hash, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 130 of file record.hpp.
References m_Length, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 136 of file record.hpp.
References m_Mol, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 184 of file record.hpp.
References m_Name, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 142 of file record.hpp.
References m_Sat, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 148 of file record.hpp.
References m_SatKey, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 160 of file record.hpp.
References m_SeqIds, and rapidjson::value.
|
inline |
Definition at line 154 of file record.hpp.
References m_SeqIds, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord().
|
inline |
Definition at line 106 of file record.hpp.
References m_SeqIdType, and rapidjson::value.
Referenced by SBioseqResolution::AdjustAccession(), CPSGCache::x_LookupSi2csi(), CPSGS_AsyncResolveBase::x_OnSi2csiRecord(), CCassBioseqInfoTaskFetch::x_PopulateRecord(), CPSGS_ResolveBase::x_ResolvePrimaryOSLTInCache(), and CPSGS_ResolveBase::x_ResolveSecondaryOSLTInCache().
|
inline |
Definition at line 166 of file record.hpp.
References m_SeqState, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 172 of file record.hpp.
References m_State, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 178 of file record.hpp.
References m_TaxId, and rapidjson::value.
Referenced by CPubseqGatewayCacheBioseqInfo::x_ExtractRecord(), and CCassBioseqInfoTaskFetch::x_PopulateRecord().
|
inline |
Definition at line 100 of file record.hpp.
References m_Version, and rapidjson::value.
Referenced by CPSGCache::x_LookupSi2csi(), CPSGS_AsyncResolveBase::x_OnSi2csiRecord(), CCassBioseqInfoTaskFetch::x_PopulateRecord(), and CPSGS_ResolveBase::x_ResolvePrimaryOSLTInCache().
|
inline |
Definition at line 190 of file record.hpp.
References m_Writetime, and rapidjson::value.
Referenced by CCassBioseqInfoTaskFetch::x_PopulateRecord().
string CBioseqInfoRecord::ToString | ( | void | ) | const |
Definition at line 62 of file record.cpp.
References m_Accession, m_DateChanged, m_GI, m_Hash, m_Length, m_Mol, m_Name, m_Sat, m_SatKey, m_SeqIdType, m_SeqState, m_State, m_TaxId, m_Version, and NStr::NumericToString().
Definition at line 68 of file record.hpp.
Referenced by CCassBioseqInfoTaskFetch::x_InheritanceRequired(), and CCassBioseqInfoTaskFetch::x_MergeSeqIds().
|
private |
Definition at line 286 of file record.hpp.
Referenced by GetAccession(), Reset(), SetAccession(), and ToString().
|
private |
Definition at line 292 of file record.hpp.
Referenced by GetDateChanged(), Reset(), SetDateChanged(), and ToString().
|
private |
Definition at line 289 of file record.hpp.
Referenced by GetGI(), Reset(), SetGI(), and ToString().
|
private |
Definition at line 293 of file record.hpp.
Referenced by GetHash(), Reset(), SetHash(), and ToString().
|
private |
Definition at line 294 of file record.hpp.
Referenced by GetLength(), Reset(), SetLength(), and ToString().
|
private |
Definition at line 295 of file record.hpp.
Referenced by GetMol(), Reset(), SetMol(), and ToString().
|
private |
Definition at line 291 of file record.hpp.
Referenced by GetName(), SetName(), and ToString().
|
private |
Definition at line 296 of file record.hpp.
Referenced by GetSat(), Reset(), SetSat(), and ToString().
|
private |
Definition at line 297 of file record.hpp.
Referenced by GetSatKey(), Reset(), SetSatKey(), and ToString().
|
private |
Definition at line 298 of file record.hpp.
Referenced by GetSeqIds(), Reset(), and SetSeqIds().
|
private |
Definition at line 288 of file record.hpp.
Referenced by GetSeqIdType(), Reset(), SetSeqIdType(), and ToString().
|
private |
Definition at line 299 of file record.hpp.
Referenced by GetSeqState(), Reset(), SetSeqState(), and ToString().
|
private |
Definition at line 300 of file record.hpp.
Referenced by GetState(), Reset(), SetState(), and ToString().
|
private |
Definition at line 301 of file record.hpp.
Referenced by GetTaxId(), Reset(), SetTaxId(), and ToString().
|
private |
Definition at line 287 of file record.hpp.
Referenced by GetVersion(), Reset(), SetVersion(), and ToString().
|
private |
Definition at line 302 of file record.hpp.
Referenced by GetWritetime(), Reset(), and SetWritetime().