Represents the (sub-)tree under a particular node in a qub tree.
Read-only.
Solves the (mainly 32-bit) problem of opening files that don't fit in
address space, by leaving non-preload data on disk until
node.data.read_rows().
Instantiated by Open_numpy when memory runs out.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__len__(self)
Returns the number of child nodes. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clone(self,
deep=True,
file=None)
Returns a copy of the (sub-)tree rooted here, copied into file, or
else in-memory. |
source code
|
|
|
|
|
saveAs(self,
path,
as_copy=False)
Creates a new file at path, moves the (sub-)tree rooted here into the
file, and save()s. |
source code
|
|
|
saveAsText(self,
path)
Writes a text representation of the (sub-)tree rooted here, to path
on disk. |
source code
|
|
|
|
|
re_read(self)
Recursively reads storage and instantiates child and sibling nodes,
during Open. |
source code
|
|
|
|
|
getBytes(self)
Returns the binary representation of the (sub-)tree rooted here, just
as it would be on disk, as a string. |
source code
|
|
|
__re_measure(self)
Returns the number of bytes needed to store the (sub-)tree rooted
here. |
source code
|
|
|
|
|
list(self)
Returns the names of all child Nodes. |
source code
|
|
|
find(self,
name)
Returns the first child with name, or the NullNode. |
source code
|
|
|
next(self,
name)
Returns the next sibling with name, or the NullNode. |
source code
|
|
|
nextSameName(self)
Returns the next sibling with name == self.name, or the NullNode. |
source code
|
|
|
|
|
|
|
|
|
insertClone(self,
other,
deep=True,
after=None) |
source code
|
|
|
|
|
setChanged(self)
artifact from when data edits didn't go memmap straight to disk; had
to be marked changed; does nothing. |
source code
|
|
|
lock(self,
timeoutMS=None)
the native flavor has a mutex, mainly to protect the ref-count. |
source code
|
|
|
unlock(self)
the native flavor has a mutex, mainly to protect the ref-count. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|