Package omero.grid

Class _TableTie

    • Constructor Detail

      • _TableTie

        public _TableTie()
    • Method Detail

      • ice_delegate

        public java.lang.Object ice_delegate()
        Specified by:
        ice_delegate in interface Ice.TieBase
      • ice_delegate

        public void ice_delegate​(java.lang.Object delegate)
        Specified by:
        ice_delegate in interface Ice.TieBase
      • equals

        public boolean equals​(java.lang.Object rhs)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getWhereList

        public long[] getWhereList​(java.lang.String condition,
                                   java.util.Map<java.lang.String,​RType> variables,
                                   long start,
                                   long stop,
                                   long step,
                                   Ice.Current __current)
                            throws ServerError
        Description copied from interface: _TableOperations
        Run a query on a table. The meaning of the start and stop parameters are the same as in the built-in Python slices. Setting start, step and stop to 0 is interpreted as running the query against all rows.
        Specified by:
        getWhereList in interface _TableOperations
        Parameters:
        condition - A query string - see the tables query language for more details.
        variables - A mapping of strings and variable values to be substituted into condition. This can often be left empty.
        start - The start of the range of rows to consider.
        stop - The end of the range of rows to consider.
        step - The stepping interval of the range of rows to consider. Set to 0 to disable stepping.
        __current - The Current object for the invocation.
        Returns:
        A list of row indices matching the condition which can be passed as a parameter of _TableOperations.readCoordinates(long[], Ice.Current) or _TableOperations.slice(long[], long[], Ice.Current).
        Throws:
        ServerError
      • read

        public Data read​(long[] colNumbers,
                         long start,
                         long stop,
                         Ice.Current __current)
                  throws ServerError
        Description copied from interface: _TableOperations
        Read a subset of columns and consecutive rows from a table. The meaning of the start and stop parameters are the same as in the built-in Python slices. Setting both start and stop to 0 is interpreted as returning all rows.
        Specified by:
        read in interface _TableOperations
        Parameters:
        colNumbers - A list of column indices to be retrieved from the table. The indices may be non-consecutive and must contain at least one element or an ApiUsageException will be thrown.
        start - The first element of the range of rows to retrieve. Must be non null.
        stop - The stop of the range of rows to retrieve. Must be non null.
        __current - The Current object for the invocation.
        Returns:
        The requested columns and rows as a Data object.
        Throws:
        ServerError
      • readCoordinates

        public Data readCoordinates​(long[] rowNumbers,
                                    Ice.Current __current)
                             throws ServerError
        Description copied from interface: _TableOperations
        Read a set of entire rows in the table.
        Specified by:
        readCoordinates in interface _TableOperations
        Parameters:
        rowNumbers - A list of row indices to be retrieved from the table. The indices may be non-consecutive and must contain at least one element or an ApiUsageException will be thrown.
        __current - The Current object for the invocation.
        Returns:
        The requested rows as a Data object. The results will be returned in the same order as the row indices.
        Throws:
        ServerError
      • slice

        public Data slice​(long[] colNumbers,
                          long[] rowNumbers,
                          Ice.Current __current)
                   throws ServerError
        Description copied from interface: _TableOperations
        Read a subset of columns and consecutive rows from a table.
        Specified by:
        slice in interface _TableOperations
        Parameters:
        colNumbers - A list of column indices to be retrieved from the table. The indices may be non-consecutive. If set to empty or null, all columns will be returned.
        rowNumbers - A list of row indices to be retrieved from the table. The indices may be non-consecutive. If set empty or null, all rows will be returned.
        __current - The Current object for the invocation.
        Returns:
        The requested columns and rows as a Data object. The results will be returned in the same order as the column and row indices.
        Throws:
        ServerError
      • update

        public void update​(Data modifiedData,
                           Ice.Current __current)
                    throws ServerError
        Description copied from interface: _TableOperations
        Allows the user to modify a Data instance passed back from a query method and have the values modified. It is critical that the Data.lastModification and the Data.rowNumbers fields are properly set. An exception will be thrown if the data has since been modified.
        Specified by:
        update in interface _TableOperations
        __current - The Current object for the invocation.
        Throws:
        ServerError