public class MeasurementStore extends java.lang.Object implements OmeroMeasurementStore
Constructor and Description |
---|
MeasurementStore(LocalUpdate update,
omero.grid.TablePrx table) |
Modifier and Type | Method and Description |
---|---|
void |
addCircle(java.lang.String roiLsid,
double x,
double y,
double r) |
void |
addObject(java.lang.String lsid,
IObject obj) |
void |
addObjects(java.util.Map<java.lang.String,IObject> map) |
void |
addRows(java.lang.Object[][] rows)
Adds an array of rows (Object[]) to the store.
|
java.util.List<java.lang.Long> |
getRoiIds()
Returns the ids of all Roi instances created during the save method.
|
omero.grid.TablePrx |
getTable()
Returns the Table proxy which is in use by this service.
|
void |
initialize(java.lang.String[] headers,
java.lang.String[] idTypes,
java.lang.Class[] types,
java.util.Map<java.lang.String,java.lang.Object> metadata) |
void |
save() |
public MeasurementStore(LocalUpdate update, omero.grid.TablePrx table) throws omero.ServerError
omero.ServerError
public void initialize(java.lang.String[] headers, java.lang.String[] idTypes, java.lang.Class[] types, java.util.Map<java.lang.String,java.lang.Object> metadata) throws omero.ServerError
initialize
in interface OmeroMeasurementStore
omero.ServerError
public void addObject(java.lang.String lsid, IObject obj)
addObject
in interface OmeroMeasurementStore
public void addObjects(java.util.Map<java.lang.String,IObject> map)
addObjects
in interface OmeroMeasurementStore
public void addRows(java.lang.Object[][] rows) throws omero.ServerError
OmeroMeasurementStore
OmeroMeasurementStore.addRows(Object[][])
a call to OmeroMeasurementStore.save()
must be made. This
allows a single measurement store to be filled with the values from
multiple measurement files. To differentiate between the various files,
include a File lsid column during the initialization phase.addRows
in interface OmeroMeasurementStore
omero.ServerError
public void addCircle(java.lang.String roiLsid, double x, double y, double r) throws omero.ServerError
addCircle
in interface OmeroMeasurementStore
omero.ServerError
public void save() throws java.lang.Exception
save
in interface OmeroMeasurementStore
java.lang.Exception
public java.util.List<java.lang.Long> getRoiIds()
OmeroMeasurementStore
OmeroMeasurementStore.save()
has not been called, this will
return null.getRoiIds
in interface OmeroMeasurementStore
public omero.grid.TablePrx getTable()
OmeroMeasurementStore
getTable
in interface OmeroMeasurementStore
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.