Interface AggregateIterableDecorator<T>

All Superinterfaces:
com.mongodb.client.AggregateIterable<T>, java.lang.Iterable<T>, com.mongodb.client.MongoIterable<T>, MongoIterableDecorator<T>
All Known Implementing Classes:
AggregateIterableDecoratorImpl

public interface AggregateIterableDecorator<T>
extends MongoIterableDecorator<T>, com.mongodb.client.AggregateIterable<T>
  • Method Summary

    Modifier and Type Method Description
    default com.mongodb.client.AggregateIterable<T> allowDiskUse​(java.lang.Boolean allowDiskUse)  
    default com.mongodb.client.AggregateIterable<T> batchSize​(int batchSize)  
    default com.mongodb.client.AggregateIterable<T> bypassDocumentValidation​(java.lang.Boolean bypassDocumentValidation)  
    default com.mongodb.client.AggregateIterable<T> collation​(com.mongodb.client.model.Collation collation)  
    default com.mongodb.client.AggregateIterable<T> comment​(java.lang.String s)  
    com.mongodb.client.AggregateIterable<T> getImpl()  
    default com.mongodb.client.AggregateIterable<T> hint​(org.bson.conversions.Bson bson)  
    default com.mongodb.client.AggregateIterable<T> maxAwaitTime​(long l, java.util.concurrent.TimeUnit timeUnit)  
    default com.mongodb.client.AggregateIterable<T> maxTime​(long maxTime, java.util.concurrent.TimeUnit timeUnit)  
    default void toCollection()  

    Methods inherited from interface com.github.cloudyrock.mongock.driver.mongodb.sync.v4.decorator.MongoIterableDecorator

    cursor, first, forEach, getInvoker, into, iterator, map, spliterator
  • Method Details

    • getImpl

      com.mongodb.client.AggregateIterable<T> getImpl()
      Specified by:
      getImpl in interface MongoIterableDecorator<T>
    • toCollection

      default void toCollection()
      Specified by:
      toCollection in interface com.mongodb.client.AggregateIterable<T>
    • allowDiskUse

      default com.mongodb.client.AggregateIterable<T> allowDiskUse​(java.lang.Boolean allowDiskUse)
      Specified by:
      allowDiskUse in interface com.mongodb.client.AggregateIterable<T>
    • batchSize

      default com.mongodb.client.AggregateIterable<T> batchSize​(int batchSize)
      Specified by:
      batchSize in interface com.mongodb.client.AggregateIterable<T>
      Specified by:
      batchSize in interface com.mongodb.client.MongoIterable<T>
      Specified by:
      batchSize in interface MongoIterableDecorator<T>
    • maxTime

      default com.mongodb.client.AggregateIterable<T> maxTime​(long maxTime, java.util.concurrent.TimeUnit timeUnit)
      Specified by:
      maxTime in interface com.mongodb.client.AggregateIterable<T>
    • bypassDocumentValidation

      default com.mongodb.client.AggregateIterable<T> bypassDocumentValidation​(java.lang.Boolean bypassDocumentValidation)
      Specified by:
      bypassDocumentValidation in interface com.mongodb.client.AggregateIterable<T>
    • collation

      default com.mongodb.client.AggregateIterable<T> collation​(com.mongodb.client.model.Collation collation)
      Specified by:
      collation in interface com.mongodb.client.AggregateIterable<T>
    • maxAwaitTime

      default com.mongodb.client.AggregateIterable<T> maxAwaitTime​(long l, java.util.concurrent.TimeUnit timeUnit)
      Specified by:
      maxAwaitTime in interface com.mongodb.client.AggregateIterable<T>
    • comment

      default com.mongodb.client.AggregateIterable<T> comment​(java.lang.String s)
      Specified by:
      comment in interface com.mongodb.client.AggregateIterable<T>
    • hint

      default com.mongodb.client.AggregateIterable<T> hint​(org.bson.conversions.Bson bson)
      Specified by:
      hint in interface com.mongodb.client.AggregateIterable<T>