Versions Compared

Key

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

...

query (required)
The mongo query to use to get the jobs data. {} is a blank query or you can submit null.   Also you can submit any post-processing you want by passing in an array of the form [{mongodb query},{postproc}|null, {fields}] where postproc is a json object following the form:

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

and "fields" is the usual MongoDB "projection" object for specifying fields returned from queries.

See See Custom - Schedule Job for more information about this query's format, or see the Hadoop Plugin Guide for more information.

...