__init__(self,
session,
node,
parent)
The constructor for all Cheshire3 objects take the same arguments:
session: A Session object topNode: The <config> or
<subConfig> domNode for the configuration parent: The object
that provides the scope for this object.
|
_initialise(self,
mp)
|
_cacheIndexes(self,
session)
|
_cacheProtocolMaps(self,
session)
|
commit_metadata(self,
session)
Ensure persistence of database metadata
|
add_record(self,
session,
record=None)
Ensure that a record is registered with the database.
|
index_record(self,
session,
record)
Sends the record to all indexes registered with the database to be
indexes
|
remove_record(self,
session,
record)
Unregister the record.
|
unindex_record(self,
session,
record)
Sends the record to all indexes registered with the database to be
removed/unindexed
|
begin_indexing(self,
session)
Perform tasks before records are to be indexed
|
commit_indexing(self,
session)
Perform tasks after records have been sent to indexes.
|
_search(self,
session,
query)
|
search(self,
session,
query)
Given a CQL query, perform the query and return a resultSet
|
scan(self,
session,
query,
numReq,
direction=">=")
Given a CQL query (single searchClause), resolve the index and
return a section of the term list
|
sort(self,
session,
sets,
keys)
Take one or more resultSets and sort/merge by sortKeys
|
:
authenticate ,
connect ,
disconnect ,
reindex
:
auth_function ,
get_config ,
get_default ,
get_object ,
get_path ,
get_setting ,
log_function ,
unauth_function ,
unlog_function
:
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|