class MapReduceEventArgs extends EventArgs (View source)

Event args for the mapReduce command.

Methods

__construct(object $invoker, string|MongoCode $map, string|MongoCode $reduce, array $out, array $query, array $options = [])

Constructor.

object
getInvoker()

No description

MongoCode|string
getMap()

No description

MongoCode|string
getReduce()

No description

array
getOut()

No description

array
getQuery()

No description

array
getOptions()

No description

setQuery(array $query)

No description

setMap($map)

No description

setReduce($reduce)

No description

setOut(array $out)

No description

setOptions(array $options)

No description

Details

__construct(object $invoker, string|MongoCode $map, string|MongoCode $reduce, array $out, array $query, array $options = [])

Constructor.

Parameters

object $invoker
string|MongoCode $map
string|MongoCode $reduce
array $out
array $query
array $options

object getInvoker()

Return Value

object

MongoCode|string getMap()

Return Value

MongoCode|string

MongoCode|string getReduce()

Return Value

MongoCode|string

array getOut()

Return Value

array

array getQuery()

Return Value

array

array getOptions()

Return Value

array

setQuery(array $query)

Parameters

array $query

setMap($map)

Parameters

$map

setReduce($reduce)

Parameters

$reduce

setOut(array $out)

Parameters

array $out

setOptions(array $options)

Parameters

array $options