Package omero.api

Interface AMD_IQuery_projection

  • All Superinterfaces:
    Ice.AMDCallback

    public interface AMD_IQuery_projection
    extends Ice.AMDCallback
    Return a sequence of RType sequences.

    Each element of the outer sequence is one row in the return value. Each element of the inner sequence is one column specified in the HQL.

    IObject instances are returned wrapped in an RObject instance. Primitives are mapped to the expected RType subclass. Types without an RType mapper if returned will throw an exception if present in the select except where a manual conversion is present on the server. This includes:

    • Permissions instances are serialized to an RMap containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown
    • The quantity types like Length are serialized to an RMap containing the keys: value, unit, symbol

    As with SQL, if an aggregation statement is used, a group by clause must be added.

    Examples:

     select i.name, i.description from Image i where i.name like '%.dv'
     
     select tag.textValue, tagset.textValue from TagAnnotation tag join tag.annotationLinks l join l.child tagset
     
     select p.pixelsType.value, count(p.id) from Pixel p group by p.pixelsType.value
     

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void ice_response​(java.util.List<java.util.List<RType>> __ret)
      ice_response indicates that the operation completed successfully.
      • Methods inherited from interface Ice.AMDCallback

        ice_exception
    • Method Detail

      • ice_response

        void ice_response​(java.util.List<java.util.List<RType>> __ret)
        ice_response indicates that the operation completed successfully.