OXY-SYNC-DIRECTORY 1.0
OXY-SYNC-DIRECTORY Library Documentation
Loading...
Searching...
No Matches
oxy::directory::enum_missing_fn Struct Reference

Function object for enumerating missing entries. More...

#include <directory.hpp>

Public Types

using coro_t = boost::coroutines2::coroutine<result_t>
using result_t = std::tuple<oid_t, timestamp_t>

Public Member Functions

coro_t::pull_type operator() (connection_ptr main, std::string const &main_schema, std::string const &filterPath, std::string const &filter_schema) const
 Invokes the function call operator to create a coroutine pull type for processing database connections with schema filtering.

Detailed Description

Function object for enumerating missing entries.

This function object provides a callable interface for enumerating missing entries in the directory. It returns a coroutine that yields tuples of object IDs and timestamps.

Member Function Documentation

◆ operator()()

coro_t::pull_type oxy::directory::enum_missing_fn::operator() ( connection_ptr main,
std::string const & main_schema,
std::string const & filterPath,
std::string const & filter_schema ) const

Invokes the function call operator to create a coroutine pull type for processing database connections with schema filtering.

Parameters
mainA shared pointer to the directory database connection.
main_schemaThe name of the directory database schema to use.
filterPathThe file path or identifier for the filter to apply.
filter_schemaThe name of the schema used for filtering operations.
Returns
A coroutine pull type object that can be used to iterate through filtered results.