Class FilterResult
java.lang.Object
org.infinispan.query.remote.client.FilterResult
When using Ickle based filters with client event listeners you will get the event data (see
org.infinispan.client.hotrod.event.ClientCacheEntryCustomEvent.getEventData) wrapped by this FilterResult.
- Since:
- 7.2
- Author:
- anistor@redhat.com
-
Constructor Summary
ConstructorsConstructorDescriptionFilterResult
(Object instance, Object[] projection, Comparable[] sortProjection) -
Method Summary
-
Constructor Details
-
FilterResult
-
-
Method Details
-
getInstance
Returns the matched object. This is non-null unless projections are present. -
getProjection
Returns the projection, if a projection was requested ornull
otherwise. -
getSortProjection
Returns the projection of fields that appear in the 'order by' clause, if any, ornull
otherwise.Please note that no actual sorting is performed! The 'order by' clause is ignored but the fields listed there are still projected and returned so the caller can easily sort the results if needed. Do not use 'order by' with filters if this behaviour does not suit you.
-
toString
-