EDataBook.DataBookCursorCache¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
w/co |
The |
||
w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class EDataBook.DataBookCursorCache(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque handle for the
EDataBook.BookCachecursor instance.New in version 3.26.
- classmethod new(book_backend, book_cache, sort_fields, sort_types)¶
- Parameters:
book_backend (
EDataBook.BookBackend) – theEDataBook.BookBackendcreating this cursorbook_cache (
EDataBook.BookCache) – theEDataBook.BookCacheobject to base this cursor onsort_fields ([
EBookContacts.ContactField]) – an array ofEBookContacts.ContactFieldsas sort keys in order of prioritysort_types ([
EBookContacts.BookCursorSortType]) – an array ofEBookContacts.BookCursorSortTypes, one for each field in sort_fields
- Raises:
- Returns:
A newly created
EDataBook.DataBookCursor, orNoneif cursor creation failed.- Return type:
Creates an
EDataBook.DataBookCursorand implements all of the cursor methods using the delegate book_cache object.This is suitable cursor type for any backend which stores its contacts using the
EDataBook.BookCacheobject. TheEDataBook.BookMetaBackenddoes that transparently.New in version 3.26.
Property Details¶
- EDataBook.DataBookCursorCache.props.book_cache¶
- Name:
book-cache- Type:
- Default Value:
- Flags:
The
EDataBook.BookCacheto use for queries
- EDataBook.DataBookCursorCache.props.cursor¶
- Name:
cursor- Type:
- Default Value:
- Flags:
The
EDataBook.BookCacheCursorpointer