| Trees | Indices | Help |
|
|---|
|
|
object --+
|
NodeStorage
Abstract base class for managing a concrete representation of one qubtree node.
Subclasses NodeInFile and NodeInMem are instantiated as needed by class Node.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
clean whether this node has an up-to-date representation on disk. |
|||
| OnDirtied | |||
|
name the node's name |
|||
|
preload whether to load all data elements on file open |
|||
|
dataCount total number of data elements; rows*cols |
|||
|
dataSize size of one data element, in bytes |
|||
|
dataType type of data, in QTR_TYPE_* |
|||
|
dataPos position of data in a file, in bytes |
|||
|
childPos position of child node in file, in bytes, or 0 |
|||
|
siblingPos position of sibling node in file, in bytes, or 0 |
|||
|
rows number of rows of data |
|||
|
cols number of columns of data |
|||
|
loaded indices of (first, last) loaded rows |
|||
|
loadedRows indices of (first, last) loaded data elements |
|||
|
data the actual data, mutable if possible. |
|||
|
file the NodeFile containing this node, or None |
|||
|
offset the location of this node (frame) in file, in bytes |
|||
| __clean | |||
| __dirtied | |||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
|||
cleanwhether this node has an up-to-date representation on disk.
|
OnDirtied
|
namethe node's name
|
preloadwhether to load all data elements on file open
|
dataCounttotal number of data elements; rows*cols
|
dataSizesize of one data element, in bytes
|
dataTypetype of data, in QTR_TYPE_*
|
dataPosposition of data in a file, in bytes
|
childPosposition of child node in file, in bytes, or 0
|
siblingPosposition of sibling node in file, in bytes, or 0
|
rowsnumber of rows of data
|
colsnumber of columns of data
|
loadedindices of (first, last) loaded rows
|
loadedRowsindices of (first, last) loaded data elements
|
datathe actual data, mutable if possible. Depending on data type and storage type, can be an mmap.mmap, a slice of an mmap.mmap, a numpy.array, a numpy array onto a slice of an mmap.mmap, or a plain string.
|
filethe NodeFile containing this node, or None
|
offsetthe location of this node (frame) in file, in bytes
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |