Scanner C++ API
Classes | Public Member Functions | Protected Member Functions | List of all members
scanner::Database Class Reference

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 &params, 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 &params, 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 ()
 

Detailed Description

Main entry point into Scanner.


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