A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::FilterBlockQueryProcessor< Output, Input > Class Template Reference

#include <FilterBlockQueryProcessor.h>

+ Inheritance diagram for pdb::FilterBlockQueryProcessor< Output, Input >:
+ Collaboration diagram for pdb::FilterBlockQueryProcessor< Output, Input >:

Public Member Functions

 ~FilterBlockQueryProcessor ()
 
 FilterBlockQueryProcessor (Selection< Output, Input > &forMe)
 
 FilterBlockQueryProcessor (SimpleLambda< bool > filterPred)
 
void initialize () override
 
void loadInputBlock (Handle< GenericBlock > block) override
 
Handle< GenericBlock > & loadOutputBlock () override
 
bool fillNextOutputBlock () override
 
void finalize () override
 
void clearOutputBlock () override
 
void clearInputBlock () override
 
- Public Member Functions inherited from pdb::BlockQueryProcessor
virtual void setContext (PipelineContextPtr context)
 
PipelineContextPtr getContext ()
 

Private Attributes

Handle< Output > inputObject
 
Handle< GenericBlockinputBlock
 
size_t posInInput
 
Handle< GenericBlockoutputBlock
 
SimpleLambda< bool > filterPred
 
std::function< bool()> filterFunc
 
bool finalized
 
size_t batchSize
 

Additional Inherited Members

- Protected Attributes inherited from pdb::BlockQueryProcessor
PipelineContextPtr context
 

Detailed Description

template<class Output, class Input>
class pdb::FilterBlockQueryProcessor< Output, Input >

Definition at line 35 of file FilterBlockQueryProcessor.h.

Constructor & Destructor Documentation

template<class Output , class Input >
pdb::FilterBlockQueryProcessor< Output, Input >::~FilterBlockQueryProcessor ( )

Definition at line 29 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
pdb::FilterBlockQueryProcessor< Output, Input >::FilterBlockQueryProcessor ( Selection< Output, Input > &  forMe)

Definition at line 39 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
pdb::FilterBlockQueryProcessor< Output, Input >::FilterBlockQueryProcessor ( SimpleLambda< bool >  filterPred)

Definition at line 48 of file FilterBlockQueryProcessor.cc.

Member Function Documentation

template<class Output , class Input >
void pdb::FilterBlockQueryProcessor< Output, Input >::clearInputBlock ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 136 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
void pdb::FilterBlockQueryProcessor< Output, Input >::clearOutputBlock ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 130 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
bool pdb::FilterBlockQueryProcessor< Output, Input >::fillNextOutputBlock ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 80 of file FilterBlockQueryProcessor.cc.

+ Here is the call graph for this function:

template<class Output , class Input >
void pdb::FilterBlockQueryProcessor< Output, Input >::finalize ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 124 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
void pdb::FilterBlockQueryProcessor< Output, Input >::initialize ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 57 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
void pdb::FilterBlockQueryProcessor< Output, Input >::loadInputBlock ( Handle< GenericBlock block)
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 64 of file FilterBlockQueryProcessor.cc.

template<class Output , class Input >
Handle< GenericBlock > & pdb::FilterBlockQueryProcessor< Output, Input >::loadOutputBlock ( )
overridevirtual

Implements pdb::BlockQueryProcessor.

Definition at line 72 of file FilterBlockQueryProcessor.cc.

Member Data Documentation

template<class Output , class Input >
size_t pdb::FilterBlockQueryProcessor< Output, Input >::batchSize
private

Definition at line 60 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
std::function<bool()> pdb::FilterBlockQueryProcessor< Output, Input >::filterFunc
private

Definition at line 54 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
SimpleLambda<bool> pdb::FilterBlockQueryProcessor< Output, Input >::filterPred
private

Definition at line 51 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
bool pdb::FilterBlockQueryProcessor< Output, Input >::finalized
private

Definition at line 57 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
Handle<GenericBlock> pdb::FilterBlockQueryProcessor< Output, Input >::inputBlock
private

Definition at line 42 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
Handle<Output> pdb::FilterBlockQueryProcessor< Output, Input >::inputObject
private

Definition at line 39 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
Handle<GenericBlock> pdb::FilterBlockQueryProcessor< Output, Input >::outputBlock
private

Definition at line 48 of file FilterBlockQueryProcessor.h.

template<class Output , class Input >
size_t pdb::FilterBlockQueryProcessor< Output, Input >::posInInput
private

Definition at line 45 of file FilterBlockQueryProcessor.h.


The documentation for this class was generated from the following files: