Interface QueryFunction<R>

  • Type Parameters:
    R - the query return type

    public interface QueryFunction<R>
    Definition of the query to be performed. The EarlyResultsConsumer will be provided to you.
    • Method Detail

      • executeQuery

        List<? extends R> executeQuery​(com.im.df.api.dml.EarlyResultsConsumer consumer)
        Execute the actual query and pass the provided consumer.
        Parameters:
        consumer - the consumer to be notified about new results
        Returns:
        the query results