Package org.infinispan.objectfilter
Interface ObjectFilter.FilterResult
-
- Enclosing interface:
- ObjectFilter
public static interface ObjectFilter.FilterResult
The output of theObjectFilter.filter(java.lang.Object)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getInstance()
Returns the matched object.Object
getKey()
Returns the key of the matched object.Object[]
getProjection()
Returns the projection, if a projection was requested ornull
otherwise.Comparable<?>[]
getSortProjection()
Returns the projection of fields used for sorting, if sorting was requested ornull
otherwise.
-
-
-
Method Detail
-
getKey
Object getKey()
Returns the key of the matched object. This is optional.
-
getInstance
Object getInstance()
Returns the matched object. This is non-null unless projections are present.
-
getProjection
Object[] getProjection()
Returns the projection, if a projection was requested ornull
otherwise.
-
getSortProjection
Comparable<?>[] getSortProjection()
Returns the projection of fields used for sorting, if sorting was requested ornull
otherwise.
-
-