Package omero.api
Class Callback_IQuery_projection
- java.lang.Object
-
- IceInternal.CallbackBase
-
- IceInternal.TwowayCallback
-
- omero.api.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 ofRType
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 anRObject
instance. Primitives are mapped to the expectedRType
subclass. Types without anRType
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 anRMap
containing the keys: perms, canAnnotate, canEdit, canLink, canDelete, canChgrp, canChown -
The quantity types like
Length
are serialized to anRMap
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
-
-
Constructor Summary
Constructors Constructor Description Callback_IQuery_projection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
__completed(Ice.AsyncResult __result)
-