__init__(self, ExpireCacheCfg cfg) | searx.cache.ExpireCacheSQLite | |
_compatibility(self) | searx.sqlitedb.SQLiteAppl | protected |
_connect(self) | searx.sqlitedb.SQLiteAppl | protected |
_DB | searx.sqlitedb.SQLiteAppl | protected |
_init_done | searx.sqlitedb.SQLiteAppl | protected |
build_cache(ExpireCacheCfg cfg) | searx.cache.ExpireCache | static |
CACHE_TABLE_PREFIX | searx.cache.ExpireCacheSQLite | static |
cfg | searx.cache.ExpireCacheSQLite | |
connect(self) | searx.sqlitedb.SQLiteAppl | |
create_schema(self, sqlite3.Connection conn) | searx.sqlitedb.SQLiteAppl | |
create_table(self, str table) | searx.cache.ExpireCacheSQLite | |
DB(self) | searx.sqlitedb.SQLiteAppl | |
DB_SCHEMA | searx.sqlitedb.SQLiteAppl | static |
db_url | searx.sqlitedb.SQLiteAppl | |
DDL_CREATE_TABLES | searx.sqlitedb.SQLiteAppl | static |
deserialize(self, bytes value) | searx.cache.ExpireCache | |
get(self, str key, default=None, str|None ctx=None) | searx.cache.ExpireCacheSQLite | |
hash_token | searx.cache.ExpireCache | static |
init(self, sqlite3.Connection conn) | searx.cache.ExpireCacheSQLite | |
maintenance(self, bool force=False, bool truncate=False) | searx.cache.ExpireCacheSQLite | |
next_maintenance_time | searx.cache.ExpireCacheSQLite | |
next_maintenance_time(self) | searx.cache.ExpireCacheSQLite | |
normalize_name(str name) | searx.cache.ExpireCache | static |
properties | searx.sqlitedb.SQLiteAppl | |
register_functions(self, conn) | searx.sqlitedb.SQLiteAppl | |
secret_hash(self, str|bytes name) | searx.cache.ExpireCache | |
serialize(self, typing.Any value) | searx.cache.ExpireCache | |
set(self, str key, typing.Any value, int|None expire, str|None ctx=None) | searx.cache.ExpireCacheSQLite | |
SQLITE_CONNECT_ARGS | searx.sqlitedb.SQLiteAppl | static |
SQLITE_JOURNAL_MODE | searx.sqlitedb.SQLiteAppl | static |
SQLITE_THREADING_MODE | searx.sqlitedb.SQLiteAppl | static |
state(self) | searx.cache.ExpireCacheSQLite | |
table_names | searx.cache.ExpireCacheSQLite | |
table_names(self) | searx.cache.ExpireCacheSQLite | |
truncate_tables(self, list[str] table_names) | searx.cache.ExpireCacheSQLite | |