NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CCassFetch Class Referenceabstract

Search Toolkit Book for CCassFetch

#include "cass_fetch.hpp"
(Private to src/app/pubseq_gateway/server.)

+ Inheritance diagram for CCassFetch:
+ Collaboration diagram for CCassFetch:

Public Member Functions

 CCassFetch ()
 
 CCassFetch (const string &client_id, const SCass_BlobId &blob_id)
 
virtual ~CCassFetch ()
 
virtual void ResetCallbacks (void)=0
 
virtual string Serialize (void) const =0
 
CCassBlobWaiterGetLoader (void)
 
void SetReadFinished (void)
 
EPSGS_DbFetchType GetFetchType (void) const
 
bool ReadFinished (void) const
 
void SetInPeek (bool val)
 
bool InPeek (void) const
 
bool Canceled (void) const
 
void Cancel (void)
 
bool IsBlobFetch (void) const
 
SCass_BlobId GetBlobId (void) const
 
string GetClientId (void) const
 
void RemoveFromExcludeBlobCache (void)
 
EPSGS_CacheAddResult AddToExcludeBlobCache (bool &completed, psg_time_point_t &completed_time)
 
void SetExcludeBlobCacheUpdated (bool value)
 
void SetExcludeBlobCacheCompleted (void)
 

Protected Attributes

unique_ptr< CCassBlobWaiterm_Loader
 
bool m_FinishedRead
 
bool m_InPeek
 
EPSGS_DbFetchType m_FetchType
 
bool m_Canceled
 
string m_ClientId
 
SCass_BlobId m_BlobId
 
bool m_ExcludeBlobCacheUpdated
 

Detailed Description

Definition at line 57 of file cass_fetch.hpp.

Constructor & Destructor Documentation

◆ CCassFetch() [1/2]

CCassFetch::CCassFetch ( )
inline

Definition at line 60 of file cass_fetch.hpp.

◆ CCassFetch() [2/2]

CCassFetch::CCassFetch ( const string client_id,
const SCass_BlobId blob_id 
)
inline

Definition at line 68 of file cass_fetch.hpp.

◆ ~CCassFetch()

virtual CCassFetch::~CCassFetch ( )
inlinevirtual

Definition at line 79 of file cass_fetch.hpp.

Member Function Documentation

◆ AddToExcludeBlobCache()

EPSGS_CacheAddResult CCassFetch::AddToExcludeBlobCache ( bool completed,
psg_time_point_t completed_time 
)

◆ Cancel()

void CCassFetch::Cancel ( void  )
inline

Definition at line 107 of file cass_fetch.hpp.

◆ Canceled()

bool CCassFetch::Canceled ( void  ) const
inline

Definition at line 104 of file cass_fetch.hpp.

◆ GetBlobId()

SCass_BlobId CCassFetch::GetBlobId ( void  ) const
inline

◆ GetClientId()

string CCassFetch::GetClientId ( void  ) const
inline

◆ GetFetchType()

EPSGS_DbFetchType CCassFetch::GetFetchType ( void  ) const
inline

◆ GetLoader()

CCassBlobWaiter* CCassFetch::GetLoader ( void  )
inline

◆ InPeek()

bool CCassFetch::InPeek ( void  ) const
inline

Definition at line 101 of file cass_fetch.hpp.

◆ IsBlobFetch()

bool CCassFetch::IsBlobFetch ( void  ) const
inline

◆ ReadFinished()

bool CCassFetch::ReadFinished ( void  ) const
inline

Definition at line 95 of file cass_fetch.hpp.

◆ RemoveFromExcludeBlobCache()

void CCassFetch::RemoveFromExcludeBlobCache ( void  )

◆ ResetCallbacks()

virtual void CCassFetch::ResetCallbacks ( void  )
pure virtual

◆ Serialize()

virtual string CCassFetch::Serialize ( void  ) const
pure virtual

◆ SetExcludeBlobCacheCompleted()

void CCassFetch::SetExcludeBlobCacheCompleted ( void  )

◆ SetExcludeBlobCacheUpdated()

void CCassFetch::SetExcludeBlobCacheUpdated ( bool  value)
inline

Definition at line 134 of file cass_fetch.hpp.

References rapidjson::value.

Referenced by CPSGS_CassBlobBase::x_CheckExcludeBlobCache().

◆ SetInPeek()

void CCassFetch::SetInPeek ( bool  val)
inline

Definition at line 98 of file cass_fetch.hpp.

References val.

◆ SetReadFinished()

void CCassFetch::SetReadFinished ( void  )
inline

Definition at line 89 of file cass_fetch.hpp.

Referenced by CPSGS_AnnotProcessor::OnAnnotBlobProp(), CPSGS_CassBlobBase::OnGetBlobChunk(), CPSGS_TSEChunkProcessor::OnGetBlobChunk(), CPSGS_CassBlobBase::OnGetBlobError(), CPSGS_TSEChunkProcessor::OnGetBlobError(), CPSGS_CassBlobBase::OnGetBlobProp(), CPSGS_TSEChunkProcessor::OnGetBlobProp(), CPSGS_TSEChunkProcessor::OnGetSplitHistory(), CPSGS_TSEChunkProcessor::OnGetSplitHistoryError(), CPSGS_CassBlobBase::OnPublicComment(), CPSGS_CassBlobBase::OnPublicCommentError(), CPSGS_CassBlobBase::x_BlobChunkCallback(), CPSGS_CassBlobBase::x_BlobErrorCallback(), CPSGS_CassBlobBase::x_BlobPropsCallback(), CPSGS_AccessionVersionHistoryProcessor::x_OnAccVerHistData(), CPSGS_AccessionVersionHistoryProcessor::x_OnAccVerHistError(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfo(), CPSGS_AsyncResolveBase::x_OnBioseqInfo(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfoError(), CPSGS_AsyncResolveBase::x_OnBioseqInfoError(), CPSGS_AsyncBioseqInfoBase::x_OnBioseqInfoWithoutSeqIdType(), CPSGS_AsyncResolveBase::x_OnBioseqInfoWithoutSeqIdType(), CPSGS_CassBlobBase::x_OnBlobPropNoneTSE(), CPSGS_CassBlobBase::x_OnBlobPropNotFound(), CPSGS_CassBlobBase::x_OnBlobPropOrigTSE(), CPSGS_CassBlobBase::x_OnBlobPropSlimTSE(), CPSGS_CassBlobBase::x_OnBlobPropSmartTSE(), CPSGS_CassBlobBase::x_OnBlobPropWholeTSE(), CPSGS_IPGResolveProcessor::x_OnIPGResolveData(), CPSGS_IPGResolveProcessor::x_OnIPGResolveError(), CPSGS_AnnotProcessor::x_OnNamedAnnotData(), CPSGS_AnnotProcessor::x_OnNamedAnnotError(), CPSGS_AsyncResolveBase::x_OnSi2csiError(), and CPSGS_AsyncResolveBase::x_OnSi2csiRecord().

Member Data Documentation

◆ m_BlobId

SCass_BlobId CCassFetch::m_BlobId
protected

◆ m_Canceled

bool CCassFetch::m_Canceled
protected

Definition at line 159 of file cass_fetch.hpp.

◆ m_ClientId

string CCassFetch::m_ClientId
protected

◆ m_ExcludeBlobCacheUpdated

bool CCassFetch::m_ExcludeBlobCacheUpdated
protected

◆ m_FetchType

EPSGS_DbFetchType CCassFetch::m_FetchType
protected

Definition at line 157 of file cass_fetch.hpp.

◆ m_FinishedRead

bool CCassFetch::m_FinishedRead
protected

Definition at line 148 of file cass_fetch.hpp.

◆ m_InPeek

bool CCassFetch::m_InPeek
protected

Definition at line 151 of file cass_fetch.hpp.

◆ m_Loader

unique_ptr<CCassBlobWaiter> CCassFetch::m_Loader
protected

The documentation for this class was generated from the following files:
Modified on Thu Jun 13 17:28:22 2024 by modify_doxy.py rev. 669887