Package omero.api

Class Callback_IQuery_projection

  • All Implemented Interfaces:
    Ice.TwowayCallback, Ice.TwowayCallbackArg1<java.util.List<java.util.List<RType>>>, Ice.TwowayCallbackArg1UE<java.util.List<java.util.List<RType>>>

    public abstract class Callback_IQuery_projection
    extends IceInternal.TwowayCallback
    implements Ice.TwowayCallbackArg1UE<java.util.List<java.util.List<RType>>>
    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 Concrete Methods 
      Modifier and Type Method Description
      void __completed​(Ice.AsyncResult __result)  
      • Methods inherited from class IceInternal.TwowayCallback

        __hasSentCallback, __sent, exception, sent
      • Methods inherited from class IceInternal.CallbackBase

        check
      • Methods inherited from class java.lang.Object

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

        exception, exception
      • Methods inherited from interface Ice.TwowayCallbackArg1

        response
      • Methods inherited from interface Ice.TwowayCallbackArg1UE

        exception
    • Constructor Detail

      • Callback_IQuery_projection

        public Callback_IQuery_projection()
    • Method Detail

      • __completed

        public final void __completed​(Ice.AsyncResult __result)
        Specified by:
        __completed in class IceInternal.CallbackBase