|
Scanner C++ API
|
Main entry point into Scanner. More...
#include <database.h>
Classes | |
| struct | ServerState |
Public Member Functions | |
| Database (storehouse::StorageConfig *storage_config, const std::string &db_path, const std::string &master_address) | |
| Result | start_master (const MachineParameters ¶ms, const std::string &port, const std::string &python_dir, bool watchdog=true, i64 no_workers_timeout=30, i32 new_job_retries_limit=5) |
| Result | start_worker (const MachineParameters ¶ms, const std::string &port, const std::string &python_dir, bool watchdog=true) |
| Result | ingest_videos (const std::vector< std::string > &table_names, const std::vector< std::string > &paths, bool inplace, std::vector< FailedVideo > &failed_videos) |
| Result | delete_table (const std::string &table_name) |
| Result | shutdown_master () |
| Result | shutdown_worker () |
| Result | wait_for_server_shutdown () |
| Result | destroy_database () |
Protected Member Functions | |
| bool | database_exists () |
Main entry point into Scanner.
1.8.11