Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Schedules a query job. Returns the output collection id in the data field of the response if successfully queued to run.

A simple web-based utility is available for scheduling jobs.

Authentication

...

frequencyToRun (required)
How often the job should be ran, either: NONE, HOURLY, DAILY, WEEKLY, MONTHLY. This will cause the job to get resubmitted after running, use NONE if you only want the job to run once.

query (required)
The mongo query to use to get the jobs data. {} is a blank query or you can submit null.  A typical place to get a query is by using the gui at infinite.ikanow.com and going to Advanced -> Save.  Also you can submit any post-processing you want by passing in an array of the form [{mongodb query},{postproc}] where postproc is a json object following the form:

Code Block
{
	"limit":int,
	"sortField":"field.field.field",
	"sortDirection":-1|1,
	"limitAllData":true|false
}

See the Hadoop Plugin Guide for more information.Infinit.e query JSON object to call. 

inputcollection (required)
The mongo collection you want to use as input. DOC_METADATA is the only currently available option.

...