java.lang.Object
pl.allegro.tech.hermes.management.infrastructure.query.MatcherQuery<T>
All Implemented Interfaces:
pl.allegro.tech.hermes.api.Query<T>

public class MatcherQuery<T> extends Object implements pl.allegro.tech.hermes.api.Query<T>
  • Method Details

    • filter

      public Stream<T> filter(Stream<T> input)
      Specified by:
      filter in interface pl.allegro.tech.hermes.api.Query<T>
    • filterNames

      public <K> Stream<K> filterNames(Stream<K> input)
      Specified by:
      filterNames in interface pl.allegro.tech.hermes.api.Query<T>
    • getPredicate

      public Predicate<T> getPredicate()
    • getSoftPredicate

      public <K> Predicate<K> getSoftPredicate()
    • fromMatcher

      public static <T> pl.allegro.tech.hermes.api.Query<T> fromMatcher(Matcher matcher, com.fasterxml.jackson.databind.ObjectMapper objectMapper)