pl.allegro.tech.hermes.api.Query Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-api Show documentation
Show all versions of hermes-api Show documentation
Fast and reliable message broker built on top of Kafka.
package pl.allegro.tech.hermes.api;
import java.util.Collection;
import java.util.stream.Stream;
public interface Query {
Stream filter(Stream input);
default Stream filter(Collection input) {
return filter(input.stream());
}
Stream filterNames(Stream input);
default Stream filterNames(Collection input) {
return filterNames(input.stream());
}
}