NCBI C++ ToolKit
|
Search Toolkit Book for CBioseqInfoFetchRequest
#include <objtools/pubseq_gateway/impl/cassandra/request.hpp>
Public Types | |
enum class | EFields : TFields { eAccession = 1 , eVersion = 2 , eSeqIdType = 4 , eGI = 8 } |
Public Member Functions | |
CBioseqInfoFetchRequest ()=default | |
CBioseqInfoFetchRequest (CBioseqInfoFetchRequest const &)=default | |
CBioseqInfoFetchRequest (CBioseqInfoFetchRequest &&)=default | |
CBioseqInfoFetchRequest & | operator= (CBioseqInfoFetchRequest const &)=default |
CBioseqInfoFetchRequest & | operator= (CBioseqInfoFetchRequest &&)=default |
CBioseqInfoFetchRequest & | SetAccession (CBioseqInfoRecord::TAccession const &value) |
CBioseqInfoFetchRequest & | SetVersion (CBioseqInfoRecord::TVersion value) |
CBioseqInfoFetchRequest & | SetSeqIdType (CBioseqInfoRecord::TSeqIdType value) |
CBioseqInfoFetchRequest & | SetGI (CBioseqInfoRecord::TGI value) |
CBioseqInfoRecord::TAccession | GetAccession () const |
CBioseqInfoRecord::TGI | GetGI () const |
CBioseqInfoRecord::TVersion | GetVersion () const |
CBioseqInfoRecord::TSeqIdType | GetSeqIdType () const |
bool | HasField (EFields field) const |
CBioseqInfoFetchRequest & | Reset () |
string | ToString () const |
Private Types | |
using | TFields = uint8_t |
Private Member Functions | |
void | SetField (EFields value) |
Private Attributes | |
string | m_Accession |
CBioseqInfoRecord::TGI | m_GI = 0 |
CBioseqInfoRecord::TVersion | m_Version = 0 |
CBioseqInfoRecord::TSeqIdType | m_SeqIdType = 0 |
TFields | m_State = 0 |
Definition at line 47 of file request.hpp.
|
private |
Definition at line 49 of file request.hpp.
|
strong |
Enumerator | |
---|---|
eAccession | |
eVersion | |
eSeqIdType | |
eGI |
Definition at line 51 of file request.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 94 of file request.hpp.
References eAccession, HasField(), m_Accession, and NCBI_USER_THROW.
Referenced by CPubseqGatewayCacheBioseqInfo::Fetch(), ToJsonString(), and CPubseqGatewayCacheBioseqInfo::x_MakeLookupKey().
|
inline |
Definition at line 102 of file request.hpp.
References eGI, HasField(), m_GI, and NCBI_USER_THROW.
Referenced by ToJsonString(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassBioseqInfoTaskFetch::x_IsMatchingRecord(), CPubseqGatewayCacheBioseqInfo::x_IsMatchingRecord(), and CPubseqGatewayCacheBioseqInfo::x_MakeLookupKey().
|
inline |
Definition at line 118 of file request.hpp.
References eSeqIdType, HasField(), m_SeqIdType, and NCBI_USER_THROW.
Referenced by ToJsonString(), CCassBioseqInfoTaskFetch::Wait1(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassBioseqInfoTaskFetch::x_IsMatchingRecord(), CPubseqGatewayCacheBioseqInfo::x_IsMatchingRecord(), and CPubseqGatewayCacheBioseqInfo::x_MakeLookupKey().
|
inline |
Definition at line 110 of file request.hpp.
References eVersion, HasField(), m_Version, and NCBI_USER_THROW.
Referenced by ToJsonString(), CCassBioseqInfoTaskFetch::Wait1(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassBioseqInfoTaskFetch::x_IsMatchingRecord(), CPubseqGatewayCacheBioseqInfo::x_IsMatchingRecord(), and CPubseqGatewayCacheBioseqInfo::x_MakeLookupKey().
Definition at line 126 of file request.hpp.
References m_State.
Referenced by CPubseqGatewayCacheBioseqInfo::Fetch(), CPubseqGatewayCache::FetchBioseqInfo(), GetAccession(), GetGI(), GetSeqIdType(), GetVersion(), ToJsonString(), ToString(), CCassBioseqInfoTaskFetch::Wait1(), CCassBioseqInfoTaskFetch::x_InitializeQuery(), CCassBioseqInfoTaskFetch::x_IsMatchingRecord(), CPubseqGatewayCacheBioseqInfo::x_IsMatchingRecord(), and CPubseqGatewayCacheBioseqInfo::x_MakeLookupKey().
|
default |
|
default |
|
inline |
Definition at line 131 of file request.hpp.
References m_Accession, m_GI, m_SeqIdType, m_State, and m_Version.
|
inline |
Definition at line 64 of file request.hpp.
References eAccession, m_Accession, SetField(), and rapidjson::value.
Referenced by ApplyInheritedSeqIds(), CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), and CPSGS_AsyncResolveBase::x_PreparePrimaryBioseqInfoQuery().
|
inlineprivate |
Definition at line 172 of file request.hpp.
References m_State, and rapidjson::value.
Referenced by SetAccession(), SetGI(), SetSeqIdType(), and SetVersion().
|
inline |
Definition at line 87 of file request.hpp.
References eGI, m_GI, SetField(), and rapidjson::value.
Referenced by CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), and CPSGS_AsyncResolveBase::x_PreparePrimaryBioseqInfoQuery().
|
inline |
Definition at line 80 of file request.hpp.
References eSeqIdType, m_SeqIdType, SetField(), and rapidjson::value.
Referenced by ApplyInheritedSeqIds(), CPSGCache::x_LookupBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), and CPSGS_AsyncResolveBase::x_PreparePrimaryBioseqInfoQuery().
|
inline |
Definition at line 73 of file request.hpp.
References eVersion, m_Version, SetField(), and rapidjson::value.
Referenced by CPSGCache::x_LookupBioseqInfo(), CPSGCache::x_LookupINSDCBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_MakeRequest(), and CPSGS_AsyncResolveBase::x_PreparePrimaryBioseqInfoQuery().
|
inline |
Definition at line 141 of file request.hpp.
References eAccession, eGI, eSeqIdType, eVersion, HasField(), m_Accession, m_GI, m_SeqIdType, m_Version, and result.
|
private |
Definition at line 177 of file request.hpp.
Referenced by GetAccession(), Reset(), SetAccession(), and ToString().
|
private |
Definition at line 178 of file request.hpp.
Referenced by GetGI(), Reset(), SetGI(), and ToString().
|
private |
Definition at line 180 of file request.hpp.
Referenced by GetSeqIdType(), Reset(), SetSeqIdType(), and ToString().
|
private |
Definition at line 181 of file request.hpp.
Referenced by HasField(), Reset(), and SetField().
|
private |
Definition at line 179 of file request.hpp.
Referenced by GetVersion(), Reset(), SetVersion(), and ToString().