NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CCassandraFilteredPlan Class Reference

Search Toolkit Book for CCassandraFilteredPlan

#include <objtools/pubseq_gateway/impl/cassandra/fullscan/filtered_plan.hpp>

+ Inheritance diagram for CCassandraFilteredPlan:
+ Collaboration diagram for CCassandraFilteredPlan:

Public Member Functions

 CCassandraFilteredPlan ()=default
 
CCassandraFilteredPlanSetFilterRanges (CCassConnection::TTokenRanges ranges)
 
void Generate () override
 
- Public Member Functions inherited from CCassandraFullscanPlan
 CCassandraFullscanPlan ()
 
 CCassandraFullscanPlan (const CCassandraFullscanPlan &)=default
 
 CCassandraFullscanPlan (CCassandraFullscanPlan &&)=default
 
CCassandraFullscanPlanoperator= (const CCassandraFullscanPlan &)=default
 
CCassandraFullscanPlanoperator= (CCassandraFullscanPlan &&)=default
 
virtual ~CCassandraFullscanPlan ()=default
 
CCassandraFullscanPlanSetConnection (shared_ptr< CCassConnection > connection)
 
CCassandraFullscanPlanSetFieldList (vector< string > fields)
 
CCassandraFullscanPlanSetWhereFilter (string const &where_filter)
 
CCassandraFullscanPlanSetMinPartitionsForSubrangeScan (size_t value)
 
CCassandraFullscanPlanSetKeyspace (string const &keyspace)
 
CCassandraFullscanPlanSetTable (string const &table)
 
CCassandraFullscanPlanSetPartitionCountPerQueryLimit (int64_t value)
 
size_t GetMinPartitionsForSubrangeScan ()
 
void Generate () override
 
TQueryPtr GetNextQuery () override
 
size_t GetQueryCount () const override
 
- Public Member Functions inherited from ICassandraFullscanPlan
virtual ~ICassandraFullscanPlan ()=default
 

Private Attributes

CCassConnection::TTokenRanges m_Filter
 

Additional Inherited Members

- Public Types inherited from CCassandraFullscanPlan
using TQueryPtr = shared_ptr< CCassQuery >
 
- Public Types inherited from ICassandraFullscanPlan
using TQueryPtr = shared_ptr< CCassQuery >
 
- Protected Member Functions inherited from CCassandraFullscanPlan
CCassConnection::TTokenRangesGetTokenRanges ()
 
void SplitTokenRangesForLimits ()
 
int64_t GetPartitionCountPerQueryLimit () const
 

Detailed Description

Definition at line 38 of file filtered_plan.hpp.

Constructor & Destructor Documentation

◆ CCassandraFilteredPlan()

CCassandraFilteredPlan::CCassandraFilteredPlan ( )
default

Member Function Documentation

◆ Generate()

void CCassandraFilteredPlan::Generate ( )
inlineoverridevirtual

◆ SetFilterRanges()

CCassandraFilteredPlan& CCassandraFilteredPlan::SetFilterRanges ( CCassConnection::TTokenRanges  ranges)
inline

Definition at line 42 of file filtered_plan.hpp.

References m_Filter, NCBI_USER_THROW, prev(), and compile_time_bits::range().

Member Data Documentation

◆ m_Filter

CCassConnection::TTokenRanges CCassandraFilteredPlan::m_Filter
private

Definition at line 101 of file filtered_plan.hpp.

Referenced by Generate(), and SetFilterRanges().


The documentation for this class was generated from the following file:
Modified on Sun Jul 21 04:20:15 2024 by modify_doxy.py rev. 669887