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 Type
    Method
    Description
    Returns the matched object.
    Returns the key of the matched object.
    Returns the projection, if a projection was requested or null otherwise.
    Returns the projection of fields used for sorting, if sorting was requested or null otherwise.
  • 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 or null otherwise.
    • getSortProjection

      Comparable<?>[] getSortProjection()
      Returns the projection of fields used for sorting, if sorting was requested or null otherwise.