Known subclasses: Dee.TextAnalyzer
All fields in the DeeAnalyzer structure are private and should never be accessed directly
new()
voidadd_term_filter(filter_func, filter_data, filter_destroy)
voidanalyze(data, terms_out, colkeys_out)
intcollate_cmp(key1, key2)
intcollate_cmp_func(key1, key2, analyzer)(static method)
stringcollate_key(data)
voidtokenize(data, terms_out)
Implements: Dee.ResourceManager
string"primary-path"construct-only
Property holding the primary path used to store and load resources
new(primary_path)
voidadd_search_path(path)
stringget_primary_path()
Implements: Dee.Serializable, Dee.Model
Subclass of: Dee.ProxyModel
All fields in the DeeFilterModel structure are private and should never be accessed directly
Dee.Filter"filter"construct-only
Property holding the #DeeFilter used to filter the model defined in the #DeeFilterModel:back-end property.
new(orig_model, filter)
Dee.ModelIterappend_iter(iter)
boolcontains(iter)
Dee.ModelIterinsert_iter(iter, pos)
Dee.ModelIterinsert_iter_before(iter, pos)
Dee.ModelIterinsert_iter_with_original_order(iter)
Dee.ModelIterprepend_iter(iter)
Subclass of: Dee.Index
All fields in the DeeHashIndex structure are private and should never be accessed directly
Known subclasses: Dee.TreeIndex, Dee.HashIndex
All fields in the DeeIndex structure are private and should never be accessed directly
Dee.Model"model"construct-only
The #DeeModel being indexed
Dee.Analyzer"analyzer"construct-only
The #DeeAnalyzer used to analyze terms extracted by the model reader
Dee.ModelReader"reader"construct-only
The #DeeModelReader used to extract terms from rows in the model
voidforeach(start_term, func, userdata)
Dee.Analyzerget_analyzer()
Dee.Modelget_model()
intget_n_rows()
intget_n_rows_for_term(term)
intget_n_terms()
Dee.ModelReaderget_reader()
intget_supported_term_match_flags()
Dee.ResultSetlookup(term, flags)
Dee.ModelIterlookup_one(term)
Classes implementing Dee.Model: Dee.FilterModel, Dee.SerializableModel, Dee.ProxyModel, Dee.SharedModel, Dee.SequenceModel, Dee.Transaction
Dee.ModelIterappend_row(row_members)
voidclear()
Dee.ModelIter, boolfind_row_sorted(row_spec, cmp_func, user_data)
boolget_bool(iter, column)
stringget_column_schema(column)
floatget_double(iter, column)
Dee.ModelIterget_first_iter()
intget_int32(iter, column)
intget_int64(iter, column)
Dee.ModelIterget_iter_at_row(row)
Dee.ModelIterget_last_iter()
intget_n_columns()
intget_n_rows()
intget_position(iter)
GLib.Variantget_row(iter, out_row_members)
Array<utf8>, intget_schema()
stringget_string(iter, column)
intget_uchar(iter, column)
intget_uint32(iter, column)
intget_uint64(iter, column)
GLib.Variantget_value(iter, column)
Dee.ModelIterinsert_row(pos, row_members)
Dee.ModelIterinsert_row_before(iter, row_members)
Dee.ModelIterinsert_row_sorted(row_members, cmp_func, user_data)
boolis_first(iter)
boolis_last(iter)
Dee.ModelIternext(iter)
Dee.ModelIterprepend_row(row_members)
Dee.ModelIterprev(iter)
Dee.ModelTagregister_tag(tag_destroy)
voidremove(iter)
voidrow_added(iter)
voidrow_changed(iter)
voidrow_removed(iter)
voidset_row(iter, row_members)
voidset_schema_full(column_schemas, num_columns)
voidset_value(iter, column, value)
Known subclasses: Dee.Client, Dee.Server
All fields in the DeePeer structure are private and should never be accessed directly
bool"swarm-owner"construct-only
string"swarm-name"construct-only
string"swarm-leader"read-only
void"connection-closed"(self, peer, connection)
Connect to this signal to be notified when peers close their #GDBusConnection.
void"peer-lost"(self, peer, name)
Connect to this signal to be notified when peers disconnect from the swarm
void"peer-found"(self, peer, name)
Connect to this signal to be notified of existing and new peers that are in your swarm.
void"connection-acquired"(self, peer, object)
new(swarm_name)
voidconnection_acquired(connection)
voidconnection_closed(connection)
GLib.SListget_connections()
stringget_swarm_leader()
stringget_swarm_name()
boolis_swarm_leader()
boolis_swarm_owner()
Array<utf8>list_peers()
voidpeer_found(name)
voidpeer_lost(name)
Implements: Dee.Serializable, Dee.Model
Known subclasses: Dee.FilterModel, Dee.SharedModel
Subclass of: Dee.SerializableModel
All fields in the DeeProxyModel structure are private and should never be accessed directly
bool"proxy-signals"construct-only
Boolean property defining whether or not to automatically forward signals from the back end model. This is especially useful for sub classes wishing to do their own more advanced signal forwarding.
Dee.Model"back-end"construct-only
The backend model used by this proxy model.
Classes implementing Dee.ResourceManager: Dee.FileResourceManager
Dee.ResourceManagerget_default()(static method)
GObject.Objectload(resource_name)
boolstore(resource, resource_name)
Classes implementing Dee.ResultSet: Dee.GListResultSet
Dee.Modelget_model()
intget_n_rows()
boolhas_next()
Dee.ModelIternext()
Dee.ModelIterpeek()
voidseek(pos)
inttell()
Implements: Dee.Serializable, Dee.Model
Subclass of: Dee.SerializableModel
All fields in the DeeSequenceModel structure are private and should never be accessed directly
new()
Classes implementing Dee.Serializable: Dee.FilterModel, Dee.Transaction, Dee.SerializableModel, Unity.LauncherEntry, Dee.ProxyModel, Dee.SequenceModel, Dee.SharedModel
GLib.Variantexternalize()
GObject.Objectparse(data, type)(static method)
GObject.Objectparse_external(data)(static method)
GLib.Variantserialize()
Implements: Dee.Serializable, Dee.Model
Known subclasses: Dee.ProxyModel, Dee.SequenceModel, Dee.Transaction
All fields in the DeeSerializableModel structure are private and should never be accessed directly
intget_seqnum()
intinc_seqnum()
voidset_seqnum(seqnum)
Subclass of: Dee.Peer
string"bus-address"construct-only
bool"same-user-only"construct-only
stringbus_address_for_name(name, include_username)(static method)
stringget_client_address()
Implements: Dee.Serializable, Dee.Model
Subclass of: Dee.ProxyModel
All fields in the DeeSharedModel structure are private and should never be accessed directly
Dee.Peerconstruct-only
The #DeePeer that this model uses to connect to the swarm
Dee.SharedModelAccessModeconstruct-only
Enumeration defining behavior of this model when trying to write to it. Setting this to #DEE_SHARED_MODEL_ACCESS_MODE_LEADER_WRITABLE is useful when one process is considered an "owner" of a model and all the other peers are supposed to only synchronize it for reading. See also DeePeer:swarm-owner property to ensure ownership of a swarm.
boolread-only
Boolean property defining whether or not the model has synchronized with its peers (if any) yet. You should not modify a #DeeSharedModel that is not synchronized. Before modifying the model in any way (except calling dee_model_set_schema()) you should wait for it to become synchronized.
void(self, shared_model, begin_seqnum, end_seqnum)
Emitted right before a remote transaction will be committed to the model.
void(self, shared_model, begin_seqnum, end_seqnum)
Emitted right after a remote transaction has been committed to the model.
All fields in the DeeTermList structure are private and should never be accessed directly
Dee.TermListadd_term(term)
Dee.TermListclear()
Dee.TermListclone()
stringget_term(n)
intnum_terms()
Subclass of: Dee.Analyzer
All fields in the DeeTextAnalyzer structure are private and should never be accessed directly
new()
Implements: Dee.Serializable, Dee.Model
Subclass of: Dee.SerializableModel
All fields in the DeeTransaction structure are private and should never be accessed directly
Dee.Model"target"construct-only
new(target)
boolcommit()
GLib.Quarkerror_quark()(static method)
Dee.Modelget_target()
boolis_committed()