public interface Collector
| Modifier and Type | Method and Description | 
|---|---|
com.marklogic.client.DatabaseClient | 
getClient()
Gets the client in use currently by the collector object 
 | 
HubConfig | 
getHubConfig()
Returns the current hubConfig ont he collector object 
 | 
DiskQueue<java.lang.String> | 
run(java.lang.String flow,
   java.lang.String step,
   java.util.Map<java.lang.String,java.lang.Object> options)
Obtains and grabs a list of uris that match the collector code 
 | 
void | 
setClient(com.marklogic.client.DatabaseClient client)
Sets the client to be used to communicate with the database 
 | 
void | 
setHubConfig(HubConfig config)
Set's the hub config for the collector 
 | 
void setHubConfig(HubConfig config)
config - takes in a HubConfig objectHubConfig getHubConfig()
void setClient(com.marklogic.client.DatabaseClient client)
client - - a databaseclient to usecom.marklogic.client.DatabaseClient getClient()
DiskQueue<java.lang.String> run(java.lang.String flow, java.lang.String step, java.util.Map<java.lang.String,java.lang.Object> options)
flow - - name of which flowstep - - step of the flowoptions - - options Map for running the step