RiakMapReduceQueryFilter Method |
Note: This API is now obsolete.
Add a key filter input to the inputs.
Namespace:
RiakClient.Models.MapReduce
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax [ObsoleteAttribute("Key Filters are a deprecated feature of Riak and will eventually be removed.")]
public RiakMapReduceQuery Filter(
Action<RiakFluentKeyFilter> setup
)
[<ObsoleteAttribute("Key Filters are a deprecated feature of Riak and will eventually be removed.")>]
member Filter :
setup : Action<RiakFluentKeyFilter> -> RiakMapReduceQuery
Parameters
- setup
- Type: SystemActionRiakFluentKeyFilter
An ActionT that accepts a RiakFluentKeyFilter,
and configures the input filter with it.
Return Value
Type:
RiakMapReduceQueryA reference to this updated instance, for fluent chaining.
Remarks
Configure the phase with a lambda similar to:
new RiakMapReduceQuery().Inputs("Bucketname").Filter(f => f.StartsWith("time"));
The example above will filter out all keys that don't start with the string "time".
Please see the
RiakFluentKeyFilter for
more built-in filters.
See Also