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

Class TablesI

source code


Implementation of the omero.grid.Tables API. Provides spreadsheet like functionality across the OMERO.grid. This servant serves as a session-less, user-less resource for obtaining omero.grid.Table proxies.

The first major step in initialization is getting a session. This will block until the Blitz server is reachable.

Instance Methods [hide private]
 
__init__(self, ctx, table_cast=omero.grid.TablePrx.uncheckedCast, internal_repo_cast=omero.grid.InternalRepositoryPrx.checkedCast)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_get_dir(self)
Second step in initialization is to find the .omero/repository directory.
source code
 
_get_uuid(self)
Third step in initialization is to find the database uuid for this grid instance.
source code
 
_get_repo(self)
Fourth step in initialization is to find the repository object for the UUID found in .omero/repository/<db_uuid>, and then create a proxy for the InternalRepository attached to that.
source code
 
getRepository(self, current=None)
Returns the Repository object for this Tables server.
source code
 
getTable(self, file_obj, current=None)
Create and/or register a table servant.
source code

Inherited from util.Servant: __del__, cleanup

Inherited from util.SimpleServant: setProxy

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, ctx, table_cast=omero.grid.TablePrx.uncheckedCast, internal_repo_cast=omero.grid.InternalRepositoryPrx.checkedCast)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

_get_dir(self)

source code 

Second step in initialization is to find the .omero/repository directory. If this is not created, then a required server has not started, and so this instance will not start.

_get_uuid(self)

source code 

Third step in initialization is to find the database uuid for this grid instance. Multiple OMERO.grids could be watching the same directory.

getRepository(self, current=None)

source code 

Returns the Repository object for this Tables server.

Decorators:
  • @remoted

getTable(self, file_obj, current=None)

source code 

Create and/or register a table servant.

Decorators:
  • @remoted
  • @perf