public class CouchDbSamplingDocumentSource extends Object implements DocumentSource
DocumentSource that instantiates several other
CouchDbDatabaseDocumentSource on-demand when they are need to provide
a cross-database sample| Constructor 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()
DocumentSourcenext in interface DocumentSourcepublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface DocumentSourceCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.