public class MeasurementStore extends Object implements OmeroMeasurementStore
Constructor and Description |
---|
MeasurementStore(LocalUpdate update,
omero.grid.TablePrx table) |
Modifier and Type | Method and Description |
---|---|
void |
addCircle(String roiLsid,
double x,
double y,
double r) |
void |
addObject(String lsid,
IObject obj) |
void |
addObjects(Map<String,IObject> map) |
void |
addRows(Object[][] rows)
Adds an array of rows (Object[]) to the store.
|
List<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(String[] headers,
String[] idTypes,
Class[] types,
Map<String,Object> metadata) |
void |
save() |
public MeasurementStore(LocalUpdate update, omero.grid.TablePrx table) throws omero.ServerError
omero.ServerError
public void initialize(String[] headers, String[] idTypes, Class[] types, Map<String,Object> metadata) throws omero.ServerError
initialize
in interface OmeroMeasurementStore
omero.ServerError
public void addObject(String lsid, IObject obj)
addObject
in interface OmeroMeasurementStore
public void addObjects(Map<String,IObject> map)
addObjects
in interface OmeroMeasurementStore
public void addRows(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(String roiLsid, double x, double y, double r) throws omero.ServerError
addCircle
in interface OmeroMeasurementStore
omero.ServerError
public void save() throws Exception
save
in interface OmeroMeasurementStore
Exception
public List<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.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.