ledger-core
|
#include <OperationQuery.hpp>
Public Member Functions | |
virtual std::shared_ptr< OperationQuery > | addOrder (OperationOrderKey key, bool descending)=0 |
virtual std::shared_ptr< QueryFilter > | filter ()=0 |
virtual std::shared_ptr< OperationQuery > | offset (int64_t from)=0 |
virtual std::shared_ptr< OperationQuery > | limit (int64_t count)=0 |
virtual std::shared_ptr< OperationQuery > | complete ()=0 |
virtual std::shared_ptr< OperationQuery > | partial ()=0 |
virtual void | execute (const std::shared_ptr< OperationListCallback > &callback)=0 |
Class respresenting a query for a set of operations.
|
pure virtual |
Apply given order to query's operation.
key,OperationOrderKey | object which defines order |
descending,bool |
Implemented in ledger::core::OperationQuery.
|
pure virtual |
TODO Complete the operation query.
Implemented in ledger::core::OperationQuery.
|
pure virtual |
Execute query to retrieve operations.
callback,if | execute method succeed, ListCallback object returning a List of Operation objects |
|
pure virtual |
Get applied filter on operation query.
Implemented in ledger::core::OperationQuery.
|
pure virtual |
Add limit to the operation query results.
count,64-bit | integer |
Implemented in ledger::core::OperationQuery.
|
pure virtual |
Add offset to the operation query.
from,64-bit | integer |
Implemented in ledger::core::OperationQuery.
|
pure virtual |
TODO
Implemented in ledger::core::OperationQuery.