Interface MongoDbFindDocuments

  • All Superinterfaces:
    adams.core.Destroyable, adams.flow.core.FlowContextHandler, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter
    All Known Implementing Classes:
    AbstractMongoDbFindDocuments, All, Filtered

    public interface MongoDbFindDocuments
    extends adams.core.option.OptionHandler, adams.flow.core.FlowContextHandler, adams.core.QuickInfoSupporter
    Interface for MongoDB collection update schemes.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.mongodb.client.FindIterable<org.bson.Document> find​(com.mongodb.client.MongoCollection coll)
      Filters the collection.
      • Methods inherited from interface adams.core.Destroyable

        destroy
      • Methods inherited from interface adams.flow.core.FlowContextHandler

        getFlowContext, setFlowContext
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, defineOptions, getOptionManager, toCommandLine
      • Methods inherited from interface adams.core.QuickInfoSupporter

        getQuickInfo
    • Method Detail

      • find

        com.mongodb.client.FindIterable<org.bson.Document> find​(com.mongodb.client.MongoCollection coll)
        Filters the collection.
        Parameters:
        coll - the collection to filter
        Returns:
        the documents matching the query
        Throws:
        IllegalStateException - if check fails