Class FilterExpressions


public final class FilterExpressions extends Object
  • Method Details

    • inMemory

      public static Predicate<ScimResource> inMemory(Filter filter, Schema schema)
      Converts a filter into a Predicate used for in-memory evaluation. Production implementations should translate the Filter into the appropriate query language.

      This implementation should only be used for small collections or demo proposes.

    • inMemory

      public static <R> Predicate<R> inMemory(FilterExpression expression, Schema schema)
    • inMemoryMap

      public static <R> Predicate<R> inMemoryMap(FilterExpression expression, Schema schema)