| |
- exceptions.Exception(exceptions.BaseException)
-
- InvalidArgumentLabelException
- pydi.callback.UpdateCallBackRegister
-
- ClsDatabase
- ConcreteLinkDatabase
- ClsRecordLoadedMonitor
- ConcreteLink
- ConcreteLinkLoadedMonitor
- DataDirectory
- DataSet
-
- KeyedDataSet
- DataSetGenerator
- LinkInstance
- pydi.srccat.SrcClsInterface
-
- SourcedClsInstance
class ClsDatabase(pydi.callback.UpdateCallBackRegister) |
|
Directory of ClsInstance objs (mapped from a DataSet)
Note:
- Watch memory usage; before restarting a new (blank) query in the same session,
may need to use 'del' to remove references to database to clear memory. |
|
Methods defined here:
- __init__(self, name, gen_start=0, ref_hash=None, recs=None, last_added=None)
- add_cls_record = lockfnc(*args, **kwargs)
- contains_instance_by_instance = lockfnc(*args, **kwargs)
- contains_instance_by_sid(self, sid)
- get_all_records(self)
- get_name(self)
- get_record(self, sid)
- get_serializable(self)
- register = lockfnc(*args, **kwargs)
Static methods defined here:
- load_from_serializable(s)
Data descriptors defined here:
- name
- records
Data and other attributes defined here:
- EMPTY_MULTIPLE = []
- EMPTY_SINGLE = None
- dbLock = <thread.lock object at 0x7ff12110>
- obsLock = <thread.lock object at 0x7ff12120>
Data and other attributes inherited from pydi.callback.UpdateCallBackRegister:
- processorLock = <thread.lock object at 0x7ff120e0>
|
class DataDirectory |
|
TODO: Figure out why some things are left on the poslink_queue, and do not expand (it
looks like they are materialized indirectly, but they are not getting removed)... |
|
Methods defined here:
- __init__(self, src_cat, dbs=None, cdbs=None, plink_queue=None)
- add_instance_direct(self, src_name, cls_name, props)
- add_instance_monitor(self, imon)
- add_link_monitor(self, lmon)
- delete_traversable = lockfnc(*args, **kwargs)
- get_cdbs(self)
- get_cls_instance(self, src_str, id_str)
- get_dbs(self)
- get_generator_for_link_name(self, lnk_str)
- get_serializable(self)
- get_total_cls_inst_count(self)
- get_total_concrete_link_count(self)
- get_traversable_links(self)
- get_visited_links(self)
- load_dataset = lockfnc(*args, **kwargs)
- request_traversable_link = lockfnc(*args, **kwargs)
- traversable_iterator = lockfnc(*args, **kwargs)
- traversable_link_iterator(self)
- Returns an iterator for the possible link list.
Static methods defined here:
- load_from_serializable(s)
Data and other attributes defined here:
- linkLock = <thread.lock object at 0x7ff120c0>
- loadLock = <thread.lock object at 0x7ff120a0>
|
class LinkInstance |
| |
Methods defined here:
- __init__(self, head_ref, tail_ref, src_link)
- __repr__(self)
- __str__(self)
- get_head_cls_str(self)
- get_head_reference(self)
- get_head_source_str(self)
- get_link_parameters(self)
- get_link_type(self)
- get_name(self)
- get_tail_cls_str(self)
- get_tail_reference(self)
- get_tail_source_str(self)
- has_head_str(self, hsrc, href)
- has_head_tail_str(self, hsrc, href, tsrc, tref)
- has_tail_str(self, tsrc, tref)
Data descriptors defined here:
- head_cls
- head_reference
- head_source
- name
- parameters
- tail_cls
- tail_reference
- tail_source
|
|