Package | Description |
---|---|
com.basho.riak.client.query |
Classes and interfaces for running map/reduce and link walk operations on
Riak.
|
com.basho.riak.client.query.functions |
Functions that can be used in Map/Reduce and also for bucket properties (things like chash_key, pre/post-commit etc.)
|
com.basho.riak.client.query.serialize |
Classes for serializing query functions to JSON, used internally.
|
Modifier and Type | Method and Description |
---|---|
Function |
MapPhase.getPhaseFunction() |
Modifier and Type | Method and Description |
---|---|
MapReduce |
MapReduce.addMapPhase(Function phaseFunction)
Add a MapPhase
|
MapReduce |
MapReduce.addMapPhase(Function phaseFunction,
boolean keep)
Add
MapPhase to the query |
MapReduce |
MapReduce.addMapPhase(Function phaseFunction,
Object arg)
Add a MapPhase
|
MapReduce |
MapReduce.addMapPhase(Function phaseFunction,
Object arg,
boolean keep)
Add a MapPhase
|
MapReduce |
MapReduce.addReducePhase(Function phaseFunction)
Add a
ReducePhase |
MapReduce |
MapReduce.addReducePhase(Function phaseFunction,
boolean keep)
Add
ReducePhase to the query |
MapReduce |
MapReduce.addReducePhase(Function phaseFunction,
Object arg)
Add a
ReducePhase |
MapReduce |
MapReduce.addReducePhase(Function phaseFunction,
Object arg,
boolean keep)
Add a
ReducePhase |
static MapPhase |
MapPhase.map(Function function,
Object arg,
boolean keep) |
Constructor and Description |
---|
MapPhase(Function phaseFunction)
Create a MapPhase
|
MapPhase(Function phaseFunction,
boolean keep)
Create a MapPhase
|
MapPhase(Function phaseFunction,
Object arg)
Create a MapPhase
|
MapPhase(Function phaseFunction,
Object arg,
boolean keepResult)
Create a MapPhase
|
ReducePhase(Function phaseFunction) |
ReducePhase(Function phaseFunction,
boolean keep) |
ReducePhase(Function phaseFunction,
Object arg) |
ReducePhase(Function phaseFunction,
Object arg,
boolean keepResult)
Create a Reduce Phase
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnonymousFunction
Tag interface for anonymous functions.
|
interface |
NamedFunction
Tag interface for named functions
|
Modifier and Type | Class and Description |
---|---|
class |
JSBucketKeyFunction
A JS function that is stored in a Riak bucket/key location
|
class |
JSSourceFunction
An anonymous JavaScript function.
|
class |
NamedErlangFunction
Models a named erlang function.
|
class |
NamedJSFunction
A named function that is a JS built in function.
|
Modifier and Type | Field and Description |
---|---|
static Function |
NamedErlangFunction.MAP_OBJECT_VALUE
Riak_kv_mapreduce:map_object_value
|
static Function |
NamedErlangFunction.REDUCE_IDENTITY
Riak_kv_mapreduce:reduce_identity
|
Modifier and Type | Method and Description |
---|---|
static FunctionWriter |
FunctionToJson.newWriter(Function function,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator) |
Copyright © 2014. All Rights Reserved.