Package omero :: Module tables :: Class HdfStorage
[hide private]
[frames] | no frames]

Class HdfStorage

source code


Provides HDF-storage for measurement results. At most a single instance will be available for any given physical HDF5 file.

Instance Methods [hide private]
 
__init__(self, file_path)
file_path should be the path to a file in a valid directory where this HDF instance can be stored (Not None or Empty).
source code
 
size(self) source code
 
openfile(self, mode) source code
 
__initcheck(self) source code
 
__width(self) source code
 
__length(self) source code
 
__sizecheck(self, colNumbers, rowNumbers) source code
 
initialize(self, cols, metadata=None) source code
 
incr(self, table) source code
 
decr(self, table) source code
 
uptodate(self, stamp) source code
 
rows(self) source code
 
cols(self, size, current) source code
 
get_meta_map(self) source code
 
add_meta_map(self, m) source code
 
append(self, cols) source code
 
update(self, stamp, data) source code
 
getWhereList(self, stamp, condition, variables, unused, start, stop, step) source code
 
_as_data(self, cols, rowNumbers)
Constructs a omero.grid.Data object for returning to the client.
source code
 
readCoordinates(self, stamp, rowNumbers, current) source code
 
read(self, stamp, colNumbers, start, stop, current) source code
 
_getrows(self, start, stop) source code
 
_rowstocols(self, rows, colNumbers, cols) source code
 
slice(self, stamp, colNumbers, rowNumbers, current) source code
 
check(self) source code
 
cleanup(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, file_path)
(Constructor)

source code 

file_path should be the path to a file in a valid directory where this HDF instance can be stored (Not None or Empty). Once this method is finished, self.__hdf_file is guaranteed to be a PyTables HDF file, but not necessarily initialized.

Overrides: object.__init__

initialize(self, cols, metadata=None)

source code 
Decorators:
  • @locked

incr(self, table)

source code 
Decorators:
  • @locked

decr(self, table)

source code 
Decorators:
  • @locked

uptodate(self, stamp)

source code 
Decorators:
  • @locked

rows(self)

source code 
Decorators:
  • @locked

cols(self, size, current)

source code 
Decorators:
  • @locked

get_meta_map(self)

source code 
Decorators:
  • @locked

add_meta_map(self, m)

source code 
Decorators:
  • @locked

append(self, cols)

source code 
Decorators:
  • @locked

update(self, stamp, data)

source code 
Decorators:
  • @stamped

getWhereList(self, stamp, condition, variables, unused, start, stop, step)

source code 
Decorators:
  • @stamped

readCoordinates(self, stamp, rowNumbers, current)

source code 
Decorators:
  • @stamped

read(self, stamp, colNumbers, start, stop, current)

source code 
Decorators:
  • @stamped

slice(self, stamp, colNumbers, rowNumbers, current)

source code 
Decorators:
  • @stamped

cleanup(self)

source code 
Decorators:
  • @locked