Class CouchDbSamplingDocumentSource

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.metamodel.data.DocumentSource

    public class CouchDbSamplingDocumentSource
    extends Object
    implements org.apache.metamodel.data.DocumentSource
    A DocumentSource that instantiates several other CouchDbDatabaseDocumentSource on-demand when they are need to provide a cross-database sample
    • Constructor Detail

      • CouchDbSamplingDocumentSource

        public CouchDbSamplingDocumentSource​(org.ektorp.CouchDbInstance couchDbInstance)
    • Method Detail

      • next

        public org.apache.metamodel.data.Document next()
        Specified by:
        next in interface org.apache.metamodel.data.DocumentSource
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface org.apache.metamodel.data.DocumentSource