class LuceneAllDocumentsReader implements BoundedIterable<Document> {

    @Override
    public long maxCount()
    {
        return partitionReaders.stream().mapToLong( LucenePartitionAllDocumentsReader::maxCount ).sum();
    }

    public  LuceneAllDocumentsReader( List<LucenePartitionAllDocumentsReader> partitionReaders );

}