Interface QueryHandlerFactory

  • All Known Implementing Classes:
    DefaultQueryHandlers
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface QueryHandlerFactory
    Functional interface describing a factory function for constructing QueryHandler instances.

    Default implementations can be obtained from DefaultQueryHandlers.

    • Method Detail

      • create

        QueryHandler create​(Network network)
        Factory function to create a query handler instance.
        Parameters:
        network - Network on which the query is invoked.
        Returns:
        A query handler.