Package ome.parameters
Class Filter
- java.lang.Object
-
- ome.parameters.Filter
-
- All Implemented Interfaces:
java.io.Serializable
public class Filter extends java.lang.Object implements java.io.Serializableparameter to generally reduce the size of a query result set.- Since:
- 3.0-M2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Filter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgroup()Filtergroup(long groupId)booleanisUnique()check uniqueness for this query.longowner()Filterowner(long ownerId)Filterpage(java.lang.Integer offset, java.lang.Integer limit)java.lang.StringtoString()Filterunique()state that this Filter should only return a single value if possible.
-
-
-
Method Detail
-
page
public Filter page(java.lang.Integer offset, java.lang.Integer limit)
-
unique
public Filter unique()
state that this Filter should only return a single value if possible. By default, a Filter will make no assumptions regarding the uniquesness of a query.
-
isUnique
public boolean isUnique()
check uniqueness for this query. Participating queries will attempt to calluniqueResultrather thanlist. This may throw aValidationExceptionon execution.
-
owner
public Filter owner(long ownerId)
-
owner
public long owner()
-
group
public Filter group(long groupId)
-
group
public long group()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-