Package omero.gateway.util
Class PyTablesUtils
- java.lang.Object
-
- omero.gateway.util.PyTablesUtils
-
public class PyTablesUtils extends java.lang.Object
Collection of utility classes to convert OMERO tables.- Since:
- 5.1
-
-
Constructor Summary
Constructors Constructor Description PyTablesUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TableResult
createTableResult(omero.grid.TablePrx table, long[] rows)
Transforms a set of rows for the passed table.static TableResult
createTableResult(omero.grid.TablePrx table, java.lang.String key, long id)
Transforms the passed table data for a given image.
-
-
-
Method Detail
-
createTableResult
public static TableResult createTableResult(omero.grid.TablePrx table, java.lang.String key, long id) throws DSAccessException
Transforms the passed table data for a given image.- Parameters:
table
- The table to convert.key
- The key of thewhere
clause.id
- The identifier of the object to retrieve rows for.- Returns:
- See above
- Throws:
DSAccessException
- If an error occurred while trying to retrieve data from OMEDS service.
-
createTableResult
public static TableResult createTableResult(omero.grid.TablePrx table, long[] rows) throws DSAccessException
Transforms a set of rows for the passed table.- Parameters:
table
- The table to convert.rows
- The rows of the table to convert.- Returns:
- See above
- Throws:
DSAccessException
- If an error occurred while trying to retrieve data from OMEDS service.
-
-