from PikaObj import * class kvdb_t: ... class KVDB_CTRL: SET_SEC_SIZE: int GET_SEC_SIZE: int SET_LOCK: int SET_UNLOCK: int SET_FILE_MODE: int SET_MAX_SIZE: int SET_NOT_FORMAT: int def __init__(self): ... class KVDB: def __init__(self, name: str, path: str, default_kv: dict, user_data: any): ... def control(self, cmd: int, arg: any) -> int: ... def deinit(self): ... def set_blob(self, key: str, blob: any) -> int: ... def get_blob(self, key: str, size: int) -> list: ... def print(self): ... def __del__(self): ... class TSDB: def __init__(self, name: str, path: str, max_len: int, user_data: any): ... def __del__(self): ... def tsl_append(self, blob: any) -> int: ... def tsl_iter(self, callback: any, user_data: any) -> int: ... def tsl_iter_reverse(self, callback: any, user_data: any) -> int: ... def tsl_iter_by_time(self, from_time: int64, to_time: int64, callback: any, user_data: any) -> int: ... class TSL: def get_time(self) -> int64: ... def to_blob(self) -> bytes: ...