Package org.infinispan.objectfilter
Interface ObjectFilter.FilterResult
- Enclosing interface:
- ObjectFilter
public static interface ObjectFilter.FilterResult
The output of the
ObjectFilter.filter(java.lang.Object) method.-
Method Summary
Modifier and TypeMethodDescriptionReturns the matched object.getKey()Returns the key of the matched object.Object[]Returns the projection, if a projection was requested ornullotherwise.Comparable<?>[]Returns the projection of fields used for sorting, if sorting was requested ornullotherwise.
-
Method Details
-
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 ornullotherwise. -
getSortProjection
Comparable<?>[] getSortProjection()Returns the projection of fields used for sorting, if sorting was requested ornullotherwise.
-