This class wraps around a regular ocean instance and manages multiple
indexes (based on key-types) and makes available functions which take
advantage of the indexes.
This frees Poseidon from actually handling index specific
activities.
This class takes care of all issues pertaining to transactioning to
make sure that Poseidon doesn't have to worry about it
|
|
__init__(self,
fn,
options)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
|
|
|
|
has_key(self,
key)
Do existence checking in indexocean server. |
|
|
|
|
|
|
|
|
|
|
recreate_index(self)
This method recreates the index file - not the index structure in
memory |
|
|
|
|
|
|
|
__getslice__(self,
i,
j)
Do a range search using the OOBTree |
|
|
|
|
evaluate(self,
expression)
Evaluate the expression and return all values in this object where
the keys match the expression |
|
|
|
|
rexsearch(self,
pattern)
Do a regular expression search based on the pattern |
|
|
|
|
|
|
|
| commit(self,
current_tid,
ttime,
transaction_data) |
|
|
|
|
| update_index(self,
index_entries) |
|
|
|
|
| update_rcache(self,
ttime,
transaction_data) |
|
|
|
|
stats(self)
Return useful statistics on the store. |
|
|
|
Inherited from ioengine.PersistenceEngine:
__repr__,
clean_index,
close,
create,
create_snapshot,
flush_index,
get,
get_options,
get_r_fp,
is_snaphot,
mark_index_inconsistent,
read,
read_header,
rollback,
upgrade,
validate_transaction
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|