Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PyTablesUtils

        public PyTablesUtils()
    • 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 the where 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.