public class CouchDbSamplingDocumentSource extends Object implements DocumentSource
DocumentSource
that instantiates several other
CouchDbDatabaseDocumentSource
on-demand when they are need to provide
a cross-database sampleConstructor and Description |
---|
CouchDbSamplingDocumentSource(org.ektorp.CouchDbInstance couchDbInstance) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Document |
next()
Gets the next sample from the source, or returns null if there are no
more documents available.
|
public CouchDbSamplingDocumentSource(org.ektorp.CouchDbInstance couchDbInstance)
public Document next()
DocumentSource
next
in interface DocumentSource
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface DocumentSource
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.