EDataBook.DataBookCursorCache¶
| Subclasses: | None | 
|---|
Methods¶
| Inherited: | EDataBook.DataBookCursor (11), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| class | new(book_backend, book_cache, sort_fields, sort_types) | 
Virtual Methods¶
| Inherited: | EDataBook.DataBookCursor (6), GObject.Object (7) | 
|---|
Properties¶
| Inherited: | EDataBook.DataBookCursor (3) | 
|---|
| Name | Type | Flags | Short Description | 
|---|---|---|---|
| book-cache | EDataBook.BookCache | w/co | The EDataBook.BookCacheto use for queries | 
| cursor | int | w/co | The EDataBook.BookCacheCursorpointer | 
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class EDataBook.DataBookCursorCache(**kwargs)¶
- Bases: - EDataBook.DataBookCursor- Abstract: - No - Structure: - EDataBook.DataBookCursorCacheClass- 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 cursor
- book_cache (EDataBook.BookCache) – theEDataBook.BookCacheobject to base this cursor on
- sort_fields ([EBookContacts.ContactField]) – an array ofEBookContacts.ContactFieldsas sort keys in order of priority
- sort_types ([EBookContacts.BookCursorSortType]) – an array ofEBookContacts.BookCursorSortTypes, one for each field in sort_fields
 - Raises: - Returns: - A newly created - EDataBook.DataBookCursor, or- Noneif 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. The- EDataBook.BookMetaBackenddoes that transparently.- New in version 3.26. 
- book_backend (
 
- 
classmethod 
Property Details¶
- 
EDataBook.DataBookCursorCache.props.book_cache¶
- Name: - book-cache- Type: - EDataBook.BookCache- Default Value: - None- Flags: - WRITABLE,- CONSTRUCT_ONLY- The - EDataBook.BookCacheto use for queries
- 
EDataBook.DataBookCursorCache.props.cursor¶
- Name: - cursor- Type: - int- Default Value: - None- Flags: - WRITABLE,- CONSTRUCT_ONLY- The - EDataBook.BookCacheCursorpointer