Package 

Interface FilterField


  • 
    public interface FilterField<M extends Object>
    
                        

    Interface representing a field that can be used in filters for querying data from the Stream API.

    Implementations of this interface should provide remote, which is the name of the field as expected by the Stream API, and localValue, a function to extract the field's value from a model instance.

    • Method Summary

      Modifier and Type Method Description
      abstract String getRemote() The name of this field as expected by the Stream API.
      abstract Function1<M, Object> getLocalValue() Function to extract the field's value from a model instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRemote

         abstract String getRemote()

        The name of this field as expected by the Stream API.

      • getLocalValue

         abstract Function1<M, Object> getLocalValue()

        Function to extract the field's value from a model instance.