Package omero.grid

Class _TableDisp

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] __ids  
      static long serialVersionUID  
      • Fields inherited from interface Ice.Object

        ice_staticId
    • Constructor Summary

      Constructors 
      Constructor Description
      _TableDisp()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Ice.DispatchStatus ___addColumn​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___addData​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___close​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___delete​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getAllMetadata​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getHeaders​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getMetadata​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getNumberOfRows​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getOriginalFile​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___getWhereList​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___initialize​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___read​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___readCoordinates​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___setAllMetadata​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___setMetadata​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___slice​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      static Ice.DispatchStatus ___update​(Table __obj, IceInternal.Incoming __inS, Ice.Current __current)  
      Ice.DispatchStatus __dispatch​(IceInternal.Incoming in, Ice.Current __current)  
      protected void __readImpl​(IceInternal.BasicStream __is)  
      protected void __writeImpl​(IceInternal.BasicStream __os)  
      int addColumn​(Column col)
      Adds a column and returns the position index of the new column.
      void addData​(Column[] cols)  
      void close()  
      void delete()  
      java.util.Map<java.lang.String,​RType> getAllMetadata()  
      Column[] getHeaders()
      Returns empty columns.
      RType getMetadata​(java.lang.String key)  
      long getNumberOfRows()
      Return the number of rows of a table.
      OriginalFile getOriginalFile()  
      long[] getWhereList​(java.lang.String condition, java.util.Map<java.lang.String,​RType> variables, long start, long stop, long step)
      Run a query on a table.
      protected void ice_copyStateFrom​(Ice.Object __obj)  
      java.lang.String ice_id()  
      java.lang.String ice_id​(Ice.Current __current)  
      java.lang.String[] ice_ids()  
      java.lang.String[] ice_ids​(Ice.Current __current)  
      boolean ice_isA​(java.lang.String s)  
      boolean ice_isA​(java.lang.String s, Ice.Current __current)  
      static java.lang.String ice_staticId()  
      void initialize​(Column[] cols)
      Initializes the structure based on
      Data read​(long[] colNumbers, long start, long stop)
      Read a subset of columns and consecutive rows from a table.
      Data readCoordinates​(long[] rowNumbers)
      Read a set of entire rows in the table.
      void setAllMetadata​(java.util.Map<java.lang.String,​RType> dict)  
      void setMetadata​(java.lang.String key, RType value)  
      Data slice​(long[] colNumbers, long[] rowNumbers)
      Read a subset of columns and consecutive rows from a table.
      void update​(Data modifiedData)
      Allows the user to modify a Data instance passed back from a query method and have the values modified.
      • Methods inherited from class Ice.ObjectImpl

        ___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface Ice.Object

        __read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
    • Field Detail

      • __ids

        public static final java.lang.String[] __ids
    • Constructor Detail

      • _TableDisp

        public _TableDisp()
    • Method Detail

      • ice_copyStateFrom

        protected void ice_copyStateFrom​(Ice.Object __obj)
                                  throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • ice_isA

        public boolean ice_isA​(java.lang.String s)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_isA

        public boolean ice_isA​(java.lang.String s,
                               Ice.Current __current)
        Specified by:
        ice_isA in interface Ice.Object
        Overrides:
        ice_isA in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids()
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_ids

        public java.lang.String[] ice_ids​(Ice.Current __current)
        Specified by:
        ice_ids in interface Ice.Object
        Overrides:
        ice_ids in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id()
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_id

        public java.lang.String ice_id​(Ice.Current __current)
        Specified by:
        ice_id in interface Ice.Object
        Overrides:
        ice_id in class Ice.ObjectImpl
      • ice_staticId

        public static java.lang.String ice_staticId()
      • getWhereList

        public final long[] getWhereList​(java.lang.String condition,
                                         java.util.Map<java.lang.String,​RType> variables,
                                         long start,
                                         long stop,
                                         long step)
                                  throws ServerError
        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 _TableOperationsNC
        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.
        Returns:
        A list of row indices matching the condition which can be passed as a parameter of readCoordinates(long[]) or slice(long[], long[]).
        Throws:
        ServerError
      • read

        public final Data read​(long[] colNumbers,
                               long start,
                               long stop)
                        throws ServerError
        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 _TableOperationsNC
        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.
        Returns:
        The requested columns and rows as a Data object.
        Throws:
        ServerError
      • readCoordinates

        public final Data readCoordinates​(long[] rowNumbers)
                                   throws ServerError
        Read a set of entire rows in the table.
        Specified by:
        readCoordinates in interface _TableOperationsNC
        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.
        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 final Data slice​(long[] colNumbers,
                                long[] rowNumbers)
                         throws ServerError
        Read a subset of columns and consecutive rows from a table.
        Specified by:
        slice in interface _TableOperationsNC
        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.
        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 final void update​(Data modifiedData)
                          throws ServerError
        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 _TableOperationsNC
        Throws:
        ServerError
      • ___getOriginalFile

        public static Ice.DispatchStatus ___getOriginalFile​(Table __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___getHeaders

        public static Ice.DispatchStatus ___getHeaders​(Table __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___getNumberOfRows

        public static Ice.DispatchStatus ___getNumberOfRows​(Table __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___getWhereList

        public static Ice.DispatchStatus ___getWhereList​(Table __obj,
                                                         IceInternal.Incoming __inS,
                                                         Ice.Current __current)
      • ___readCoordinates

        public static Ice.DispatchStatus ___readCoordinates​(Table __obj,
                                                            IceInternal.Incoming __inS,
                                                            Ice.Current __current)
      • ___read

        public static Ice.DispatchStatus ___read​(Table __obj,
                                                 IceInternal.Incoming __inS,
                                                 Ice.Current __current)
      • ___slice

        public static Ice.DispatchStatus ___slice​(Table __obj,
                                                  IceInternal.Incoming __inS,
                                                  Ice.Current __current)
      • ___addData

        public static Ice.DispatchStatus ___addData​(Table __obj,
                                                    IceInternal.Incoming __inS,
                                                    Ice.Current __current)
      • ___update

        public static Ice.DispatchStatus ___update​(Table __obj,
                                                   IceInternal.Incoming __inS,
                                                   Ice.Current __current)
      • ___getAllMetadata

        public static Ice.DispatchStatus ___getAllMetadata​(Table __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___getMetadata

        public static Ice.DispatchStatus ___getMetadata​(Table __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___setAllMetadata

        public static Ice.DispatchStatus ___setAllMetadata​(Table __obj,
                                                           IceInternal.Incoming __inS,
                                                           Ice.Current __current)
      • ___setMetadata

        public static Ice.DispatchStatus ___setMetadata​(Table __obj,
                                                        IceInternal.Incoming __inS,
                                                        Ice.Current __current)
      • ___initialize

        public static Ice.DispatchStatus ___initialize​(Table __obj,
                                                       IceInternal.Incoming __inS,
                                                       Ice.Current __current)
      • ___addColumn

        public static Ice.DispatchStatus ___addColumn​(Table __obj,
                                                      IceInternal.Incoming __inS,
                                                      Ice.Current __current)
      • ___delete

        public static Ice.DispatchStatus ___delete​(Table __obj,
                                                   IceInternal.Incoming __inS,
                                                   Ice.Current __current)
      • ___close

        public static Ice.DispatchStatus ___close​(Table __obj,
                                                  IceInternal.Incoming __inS,
                                                  Ice.Current __current)
      • __dispatch

        public Ice.DispatchStatus __dispatch​(IceInternal.Incoming in,
                                             Ice.Current __current)
        Specified by:
        __dispatch in interface Ice.Object
        Overrides:
        __dispatch in class Ice.ObjectImpl
      • __writeImpl

        protected void __writeImpl​(IceInternal.BasicStream __os)
        Overrides:
        __writeImpl in class Ice.ObjectImpl
      • __readImpl

        protected void __readImpl​(IceInternal.BasicStream __is)
        Overrides:
        __readImpl in class Ice.ObjectImpl